This content has been marked as final.
Show 1 reply
-
1. Re: Changing Queue information on the fly.... through JMX co
genman Apr 21, 2005 7:53 PM (in response to dookie23)You can have your EJB's call a JMX MBean. E.g.
MBeanServer server; // find this out somehow ObjectName on; // MBean someplace QueueConnectionFactory cf; // create in ejbCreate onMessage(Message m) { Queue q = (Queue)server.getAttribute(on, "Queue"); QueueSender qs = ... qs.send(m); }
Note: You probably want the queue session transacted.