3 Replies Latest reply on Nov 27, 2013 9:39 AM by kparasam

    Setting queue size in JBoss-7.1.1-Final

    kparasam

      Hi,

          Currently, the client is sending hundreds of messages per minute and the MDB on the JBoss server processes them fine. At this point, the client is slowing down because its trying to send messages, but JBoss queue is almost full (The messages is queue is almost always equal to in delivery). Is there a way that I can set to a larger queue size on JBoss-7.1.1-Final running in domain mode ? Thanks !

        • 1. Re: Setting queue size in JBoss-7.1.1-Final
          kparasam

          Any update on this ? Also, is there a way that I can check the queue size/length through some command for a threshold.

          • 2. Re: Setting queue size in JBoss-7.1.1-Final
            wdfink

            The client should be decoupled from the message consumer.

            When do you see the behaviour and how do you measure it.

            i.e. if you undeploy the MDB you are still able to send messages into the queue, but there is no consumer.

            • 3. Re: Setting queue size in JBoss-7.1.1-Final
              kparasam

              Yes, I agree that the client should be decoupled. To give you the complete scenario, the MDB code which I have was slow (nothing wrong on JBoss at this point), the code was having some exceptions causing each message to be consumed probably a second or two later than expected. This was filling up the queue pretty fast because as I told, the client sends hundreds of messages/minute. I noticed the Messages in queue and In Delivery on the console, both were around 1,000 [This was the same on 3 JBoss instances on different servers which I have]. At this point, the client would slow down, since JBoss server was not accepting messages as normally it would. Once I killed the JBoss instances, the client would not connect to JBoss and it was functioning normally.