3 Replies Latest reply on Dec 1, 2007 6:39 AM by timfox

    Configure Queue Max Depth

    ejb3workshop

      In Jboss MQ there was an option to configure the max depth of a queue as well as various others, such as InMemory.

      http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigQueue


      Is there similar options available on JBoss Messaging and where can I find them. I already searched the manual for the depth configuration, but it seems that this feature has been replaced with the new paging mechanism.

      Thanks
      Alex

        • 1. Re: Configure Queue Max Depth
          timfox

           

          "ejb3workshop" wrote:
          In Jboss MQ there was an option to configure the max depth of a queue as well as various others, such as InMemory.

          http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigQueue


          Is there similar options available on JBoss Messaging and where can I find them. I already searched the manual for the depth configuration,


          http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP1/html_single/index.html#conf.destination.queue

          6.6.2.1.12 MaxSize

          but it seems that this feature has been replaced with the new paging mechanism.

          Thanks
          Alex


          • 2. Re: Configure Queue Max Depth
            ejb3workshop

            But this configuration option says that messages beyound the set value will be dropped. Ideally I would like the JMS client to block and wait until there is space in the Queue again.

            6.6.3.1.10. MaxSize

            A maximum size (in number of messages) can be specified for a topic subscription. Any messages that arrive beyond this point will be dropped. The default is -1 which is unbounded.


            • 3. Re: Configure Queue Max Depth
              timfox

              Does JBoss MQ block if the queue is full?