camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <>
Subject Socket-based Asynchronous Calls...
Date Sat, 06 Aug 2011 12:37:29 GMT
We have a server that supports a socket-based protocol.  However, it's
not a synchronous situation.  I send a message over the output stream
of the socket and a it goes over to the server to processed.  The
reply message will be received at some later time on the socket's
input stream, not necessarily in the same order they were sent.  Now,
I'd like to turn this into a request/reply exchange using Camel.  I
plan on using Netty to implement the socket protocol stuff.  However,
I'm not exactly sure how to go about making the requesting threads
wait while my server does its processing.  It appears that Camel
already has stuff built-in to handle this.  I'm just having trouble
setting up the route properly.

View raw message