public class SonicMQMessenger extends SonicMQRequester
uri
Constructor and Description |
---|
SonicMQMessenger(java.util.Map props)
Creates new SonicMQFMessenger
|
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.
|
void |
listen(XQueue xq)
It adds a notification listener to the SonicMQ broker and saves the
XQueue instance as notice for the downstream.
|
void |
onNotification(javax.management.Notification notification) |
addListener, addListener, browse, compare, displayNotification, getAttributes, getInfo, getResponse, getURI, getValue, getValue, getValues, getValues, isConnected, list, main, query, reconnect, removeListener
public SonicMQMessenger(java.util.Map props)
public void listen(XQueue xq) throws javax.management.JMException
javax.management.JMException
public void onNotification(javax.management.Notification notification)
public void display(XQueue xq) throws javax.management.JMException, javax.jms.JMSException, TimeoutException
javax.management.JMException
javax.jms.JMSException
TimeoutException
public void close()
close
in interface Connector
close
in class SonicMQRequester