Hi your messages expires and are moved to dlq. Probably clocks on two machines are not synced? Regards -- Dejan Bosanac ----------------- FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter: http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net
On Thu, Feb 3, 2011 at 11:35 PM, lukast <l.torzyn...@gmail.com> wrote: > > Hi, > > I am using ActiveMQ 5.4.2 and HTTP transport. > On server A there is a web application with embeded ActiveMQ > broker.(Tomacat > Web Container) > On server B there is ActiveMQ client application configured using Spring > DefaultMessageListenerContainer. (Tomcat Web Container) > > After startup of both servers everything looks fine. No errors in the logs, > client correctly connects to the broker. In ActiveMQ Web Console I can > observe the queue X with configured number of consumers (20). > > The problem is that when I send a message to this queue X (or any ther > queue > except DLQ), it is not consumed by any of the consumers from the server B. > The message expires and is moved to the DLQ queue. What is strange my > another message listener that listens on this DLQ consumes messages from > DLQ > correctly. > Summing up - only messages from DLQ are consumed correctly.. > What i observer that when I browse "Active Message Consumers" of the queue > X > in the Web Console I can observe that "Enqueue" counter of on of the > consumers of this queue actually increases from 0 to 1, but the > correcponding "Dequeue" counter stays 0 and the message is not consumed > from > the queue (as a consequence it expires after given time) > > What can be wrong ? What is even stranger the same configuration on another > 2 machines works fine... > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/HTTP-transport-consumers-do-not-receive-messages-tp3259132p3259132.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >