camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddewaele <ddewa...@gmail.com>
Subject Re: Camel JMS message topic handling
Date Fri, 24 Oct 2014 20:32:14 GMT
As there is only 1 thread where a JMS Consumer is active (to avoid duplicate
msg processing), isn't it normal that messages get lost in this scenario ?

When that thread is busy processing a message
(DefaultJmsMessageListenerContainer(AbstractPollingMessageListenerContainer).doReceiveAndExecute),
any message that comes while this JMSConsumer is active will be lost, as
this thread will close the message consumer when it's done.

Having multiple active consumers would not help and would even make matters
worse , as you would need to deal with duplicate messages.

In what use-case would a basic (non-virtual) activeMQ topic combined with a
single JMS consumer make sense ? 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-message-topic-handling-tp5757853p5758004.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message