Hello everyone,

I am working a message-driven client-server-application and recently
migrated my project from pure JMS-messaging to messaging via Camel. The
messaging has been working reliably so far and during the migration-process
my JMS-infrastructure remained unchanged (broker configuration etc.), but
ever since I switched to Camel I am experiencing an odd behaviour when
consuming messages from a topic:

Whenever I let the server publish a message to a topic, all subscribers
receive this message many times (> 20). I am surely missing something, but I
wonder why this has been working without the Camel layer. Do I have to set a
special ExchangePattern? Or Acknowledge-Mode?

I am using Camel 2.8.1 with ActiveMQ 5.4.2, configured as an persistent
embedded broker within the JVM hosting the server-app.

This is my code for publishing to the topic:



This is my camel-configuration for the server:




And the camel-configuration for the client:



Any ideas what could cause the message re-delivery?
Thank you very much in advance,

Hendrik Schöneberg


--
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-Publish-Subscribe-Message-Redelivery-tp4958062p4958062.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to