[jboss-user] [JBoss Messaging] - Queue stops working under load without error

Michal Glowacki do-not-reply at jboss.com
Wed Feb 16 02:49:15 EST 2011

Michal Glowacki [http://community.jboss.org/people/mglowacki] created the discussion

"Queue stops working under load without error"

To view the discussion, visit: http://community.jboss.org/message/587645#587645


     I created queue to put incoming requests into LinkedList, so I can process them one by one. It works perfect, until for example 10 requests come exactly same time. Then my queue just freezes. Any new request is not processed, I can't see any errors in the logs. I have to redeploy my MDB jar file in order to get it working again. However all messages are lost. I checked via JMX console state of the queue when it's broken, everything looks fine, DLQ is empty. Do you know where I could look for an error?

here's jms-destination-service.xml

<mbean code="org.jboss.jms.server.destination.QueueService"
 <attribute name="RedeliveryDelay">3000</attribute> <!-- those 2 I added later, but also did not help -->
 <attribute name="MaxDeliveryAttempts">3</attribute>
 <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>

and beginning of my MDB class:

@MessageDriven(activationConfig = {
  propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
  propertyName = "destination", propertyValue = "/queue/ProcessingQueue"),
  propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")


Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110216/42219fdd/attachment.html 

More information about the jboss-user mailing list