3 Replies Latest reply on Feb 27, 2002 6:59 PM by pra

    How to serialize MDB in version 2.4.3

    ptran83

      In previous release the MDB can be serialized by setting the MaximumMessage to 1. How can we achieve the same function in version 2.4.3?

      Thanks for your info.

      Peter

        • 1. Re: How to serialize MDB in version 2.4.3

          Nothing should have changed. Is it not working?

          //Peter

          • 2. Re: How to serialize MDB in version 2.4.3
            ptran83

            I changed the entry MaxSize=1 in the jboss.jcml but still see the MDB processes multiple messages simultaneously. This is different from jboss.xml file where you can change MaxMessages=1. I wonder this is correct entry.

            Thanks

            Peter
            --------------------jboss.jcml----------------------------


            JmsXA
            JCA:service=RARDeployer
            JMS Adapter
            MinervaXACMFactory
            <!-- See the documentation for the specific connection manager
            implementation you are using for the properties you can set -->

            # Pool type - uncomment to force, otherwise it is the default
            #PoolConfiguration=per-factory

            # Connection pooling properties - see
            # org.jboss.pool.PoolParameters
            MinSize=0
            MaxSize=1
            Blocking=true
            GCEnabled=false
            IdleTimeoutEnabled=false
            InvalidateOnError=false
            TrackLastUsed=false
            GCIntervalMillis=120000
            GCMinIdleMillis=1200000
            IdleTimeoutMillis=1800000
            MaxIdleTimeoutPercent=1.0

            • 3. Re: How to serialize MDB in version 2.4.3

              Whops. You change stuff in the complete wrong place. You are changing the JMS RA stuff which has nothing specific MDB with to do, only with EJB:s using JMS to send messages.

              //Peter