camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarjei Huse <tar...@scanmine.com>
Subject ProducerTemplate and blocking operations
Date Fri, 20 May 2011 09:03:34 GMT
Hi, I'm trying to use ProducerTemplate with the sematics of
BlockingQueue.send().

That is - I want sendBody (or a similar call) to block until the message
can be sent. I'm using seda queues(with size=2) in my test environment
but plan to use it also with activemq configured with producerFlowControl.

How should I set this up?




-- 
Regards / Med vennlig hilsen
Tarjei Huse
Mobil: 920 63 413


Mime
View raw message