camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlo Camerino <>
Subject Single Port Handling
Date Thu, 23 Apr 2009 16:58:12 GMT

I have a single tcp port in which I can connect to and I have a lot of
messages coming in.
WHat pattern should I use so that I can send messages to the port without
making my implementation synchronized.

How can I make my threads wait while waiting for its reply at the same time
know that its reply has arrive?

Before what we used to do is make the method synchronized, but this time
around, we would like to have a thread
polling for replies that are arriving...

What is the best way to handle this?
Is It Correlation Identifier, Polling Consumer, etc...?
One thing I'm not sure is how to make my threads wait


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message