If you use an embedded broker, you should consider using the VM
(vm://brokerName) protocol instead of TCP (tcp://localhost:61616). But this
has nothing to do with your issue... ;-)

If you have to achieve high throughput, you should consider using async
messaging (two inOnly routes instead of one InOut). But that's what you
do...

What's about using the ConsumerTemplate to receive messages instead the
PollConsumer? It sounds more correct for me, because you only want to
return one messages as I understood your route...

Best,
Christian

Reply via email to