You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by acec acec <to...@yahoo.ca> on 2011/05/27 04:38:05 UTC

CXF + Camel(TCP)

Hi, all

On CXF website, it has the following description:

Transports: ... Camel transport for CXF such as ... TCP ...

But I cannot find any example of using CXF + Camel(TCP).

Could you give any example by using CXF + Camel(TCP)?

Thanks a lot.
tacec

Re: CXF + Camel(TCP)

Posted by acec acec <to...@yahoo.ca>.
Thanks for your response.

According to CXF homepage, that's the best way. But I can not find any example. 

Seems I have to try it by myself.

Thanks again.

--- On Fri, 5/27/11, Willem Jiang <wi...@gmail.com> wrote:

> From: Willem Jiang <wi...@gmail.com>
> Subject: Re: CXF + Camel(TCP)
> To: users@cxf.apache.org
> Received: Friday, May 27, 2011, 12:40 AM
> Yes, just as Dan said you can use
> camel-mina/camel-netty to implement 
> the tcp transport and route the message into CXF by using
> the camel 
> transport of CXF without much work.
> But you still need to some work to mapping the transport
> level headers 
> between the CXF message context if you want to implement
> full function 
> of SOAP stack :).
> On 5/27/11 10:59 AM, Daniel Kulp wrote:
> >
> >
> > I think you are looking for the Camel transport for
> CXF:
> >
> > http://camel.apache.org/camel-transport-for-cxf.html
> >
> > That should allow a CXF application to use any of the
> transports available in
> > Camel including Camel's TCP transport.
> >
> > Dan
> >
> >
> > On Thursday, May 26, 2011 10:38:05 PM acec acec
> wrote:
> >> Hi, all
> >>
> >> On CXF website, it has the following description:
> >>
> >> Transports: ... Camel transport for CXF such as
> ... TCP ...
> >>
> >> But I cannot find any example of using CXF +
> Camel(TCP).
> >>
> >> Could you give any example by using CXF +
> Camel(TCP)?
> >>
> >> Thanks a lot.
> >> tacec
> >
> 
> 
> -- 
> Willem
> ----------------------------------
> FuseSource
> Web: http://www.fusesource.com
> Blog:    http://willemjiang.blogspot.com (English)
>           http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
> 
> Connect at CamelOne May 24-26
> The Open Source Integration Conference
> http://camelone.com
> 

Re: CXF + Camel(TCP)

Posted by Willem Jiang <wi...@gmail.com>.
Yes, just as Dan said you can use camel-mina/camel-netty to implement 
the tcp transport and route the message into CXF by using the camel 
transport of CXF without much work.
But you still need to some work to mapping the transport level headers 
between the CXF message context if you want to implement full function 
of SOAP stack :).
On 5/27/11 10:59 AM, Daniel Kulp wrote:
>
>
> I think you are looking for the Camel transport for CXF:
>
> http://camel.apache.org/camel-transport-for-cxf.html
>
> That should allow a CXF application to use any of the transports available in
> Camel including Camel's TCP transport.
>
> Dan
>
>
> On Thursday, May 26, 2011 10:38:05 PM acec acec wrote:
>> Hi, all
>>
>> On CXF website, it has the following description:
>>
>> Transports: ... Camel transport for CXF such as ... TCP ...
>>
>> But I cannot find any example of using CXF + Camel(TCP).
>>
>> Could you give any example by using CXF + Camel(TCP)?
>>
>> Thanks a lot.
>> tacec
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com

Re: CXF + Camel(TCP)

Posted by Daniel Kulp <dk...@apache.org>.

I think you are looking for the Camel transport for CXF:

http://camel.apache.org/camel-transport-for-cxf.html

That should allow a CXF application to use any of the transports available in 
Camel including Camel's TCP transport.

Dan


On Thursday, May 26, 2011 10:38:05 PM acec acec wrote:
> Hi, all
> 
> On CXF website, it has the following description:
> 
> Transports: ... Camel transport for CXF such as ... TCP ...
> 
> But I cannot find any example of using CXF + Camel(TCP).
> 
> Could you give any example by using CXF + Camel(TCP)?
> 
> Thanks a lot.
> tacec

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Re: CXF + Camel(TCP)

Posted by Johan Edstrom <se...@gmail.com>.
It has been in since 2.3, you might have to use the junit tests as a reference...

https://issues.apache.org/jira/browse/CXF-2258?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs

That said, writing a server in mina is not very hard.

/je

On May 26, 2011, at 8:38 PM, acec acec wrote:

> Hi, all
> 
> On CXF website, it has the following description:
> 
> Transports: ... Camel transport for CXF such as ... TCP ...
> 
> But I cannot find any example of using CXF + Camel(TCP).
> 
> Could you give any example by using CXF + Camel(TCP)?
> 
> Thanks a lot.
> tacec