1 Reply Latest reply on Jan 1, 2007 10:43 AM by Ramesh

    Multithreaded MDB message processing

    Bharath VN Newbie

      Hi,

      We are using Jboss Messaging 1.0.1 in JBoss.4.0.4.GA AS

      We have a set of MDBs deployed in this messaging service.
      But the processing of messages seems to be like a single threaded one.

      Is there any configuration of MDBs that can be done to make message processing multithreaded.

      Brat

        • 1. Re: Multithreaded MDB message processing
          Ramesh Newbie

          you can set the MDB threadpool size in standardjboss.xml file.
          you can find the following section for MDB in standardjboss.xml
          <invoker-proxy-binding>
          message-driven-bean
          <invoker-mbean>default</invoker-mbean>
          <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
          <proxy-factory-config>
          DefaultJMSProvider
          StdJMSPool
          true
          <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
          1
          15
          30000
          1

          10

          queue/DLQ
          10
          0


          </proxy-factory-config>
          </invoker-proxy-binding>


          the following two tags represents mdb pool size

          1
          15

          thanks
          R@mesh