activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukast <l.torzyn...@gmail.com>
Subject HTTP transport - consumers do not receive messages
Date Thu, 03 Feb 2011 22:35:51 GMT

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.

Mime
View raw message