Reputation: 11
I'm struggling to program a controller that I can switch MDB on or off. I was trying to use JNDI lookup to find the MDB instance in my Jboss server, then make it controlled. Is this possible?
Upvotes: 0
Views: 737
Reputation: 2967
Yes, via JMX. You can find JMX beans for JMS Activation (MDB) under "WebSphere:type=J2CMessageEndpoint,*"
Then can can "invoke" methods "pause" or "resume" on the MBean of the Activation
Upvotes: 1