You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2013/05/01 07:51:35 UTC

Re: route between webservice and socket

Hi

mina can run in sync mode (okay a bit misleading name, but if enabled,
then it waits for a reply message).
Maybe you can use this?

from cxf
process
to mina://tcp?sync=true
responce


On Tue, Apr 30, 2013 at 11:48 AM, takidean <ta...@hotmail.fr> wrote:
> Hi
> i have to to take information from webservice , to send them to a server
> through socket and get the response then route them to the webservice
>
> webservice -> camel -> server(socket)->camel  -> webservice
> the problem is that when i take information i have to be a client to send
> them to ther server socket then to be a server to receive them from the
> server so to do that i have to invoke the route to the server from the
> webservice
>
> from cxf
> process
> to mina://tcp
> from mina://tcp
> responce
>
> but i cant do that can any one help me haw to do to invoke and get
> information from mina endpoint and send them as a response to the webservice
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/route-between-webservice-and-socket-tp5731788.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: route between webservice and socket

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

This is not currently supported. You may need to write some custom
code for mina to do this.
You can just call mina and get the response on that other port from a
java bean. And use that as part of a Camel route. Then you can use
that to send back the WS reply message.


On Wed, May 1, 2013 at 3:58 PM, takidean <ta...@hotmail.fr> wrote:
> Hi
> the problem is that i have to receive file from mina endpoint in other port
> like that
>
> from cxf
> to mina port=8888
> from mina port=8889
> response
>
> is that possible?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/route-between-webservice-and-socket-tp5731788p5731855.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: route between webservice and socket

Posted by takidean <ta...@hotmail.fr>.
Hi
the problem is that i have to receive file from mina endpoint in other port
like that

from cxf
to mina port=8888
from mina port=8889
response 

is that possible?



--
View this message in context: http://camel.465427.n5.nabble.com/route-between-webservice-and-socket-tp5731788p5731855.html
Sent from the Camel - Users mailing list archive at Nabble.com.