public class JMXMessenger extends java.lang.Object implements Connector
Constructor and Description |
---|
JMXMessenger(java.util.Map props)
Creates new JMXMessenger
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
display(XQueue xq)
It listens to an XQueue for incoming JMS messages and extracts the JMX
request from each message.
|
java.lang.String |
getURI() |
boolean |
isConnected() |
java.lang.String |
reconnect()
reconnects and returns null upon sucess or error msg otherwise
|
public void display(XQueue xq) throws javax.management.JMException, javax.jms.JMSException, TimeoutException
javax.management.JMException
javax.jms.JMSException
TimeoutException
public java.lang.String reconnect()
public boolean isConnected()
isConnected
in interface Connector