2 Replies Latest reply on Jun 7, 2011 11:45 PM by Richard Kennard

    Control MDB maxSession dynamically/programmatically?

    Richard Kennard Novice

      Hi guys,

       

      I have recently upgraded from JBoss Messaging to HornetQ and I'm very impressed. I'm now interested in trying to squeeze extra performance out of our server cluster!

       

      Is it possible to dynamically/programmatically adjust the MDB 'maxSession' value we are currently setting in ejb-jar.xml's <message-driven> section? I would like to be able to configure it based on, say, number of CPU cores or available memory or time of day.

       

      Regards,

       

      Richard.