public class RMQMessenger extends RMQConnector
isAuto, isDurable, isPassive, operation, password, RMQ_DIRECT, RMQ_FANOUT, RMQ_HEADERS, RMQ_TOPIC, username| Constructor and Description | 
|---|
| RMQMessenger(java.util.Map props)Creates new RMQMessenger | 
| Modifier and Type | Method and Description | 
|---|---|
| void | acknowledge(long[] state)acknowledges the RabbitMQ msgs only | 
| static javax.jms.Message | convert(com.rabbitmq.client.QueueingConsumer.Delivery msg,
       byte[] body,
       boolean isText)converts a Delivery into a JMSEvent in the specific type and returns
 the new message where type 0 is for BytesMessage, 1 for TextMessage,
 2 for MapMessage and 3 for ObjectMessage. | 
| void | get(XQueue xq)retrieves messages from the RabbitMQ server and puts them to the XQ | 
| static com.rabbitmq.client.AMQP.BasicProperties | getBasicProperties(javax.jms.Message msg) | 
| java.lang.String | getOperation() | 
| static boolean | isRMQMessage(javax.jms.Message msg) | 
| void | pub(XQueue xq)It gets JMS messages from the XQueue and publishes them with certain
 routing keys to the RabbitMQ server. | 
ack, close, exchangeBind, exchangeDeclare, exchangeDelete, exchangeExists, exchangeUnbind, get, get, getConsumer, getDestination, getExchange, getExchangeType, getURI, getVirtualHost, isConnected, main, pub, pub, queueBind, queueDeclare, queueDelete, queueExists, queueUnbind, reconnectpublic RMQMessenger(java.util.Map props)
             throws java.io.IOException
java.io.IOExceptionpublic void get(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOExceptionjavax.jms.JMSExceptionpublic void pub(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOExceptionTimeoutExceptionjavax.jms.JMSExceptionpublic static javax.jms.Message convert(com.rabbitmq.client.QueueingConsumer.Delivery msg,
                                        byte[] body,
                                        boolean isText)
                                 throws javax.jms.JMSException
javax.jms.JMSExceptionpublic static com.rabbitmq.client.AMQP.BasicProperties getBasicProperties(javax.jms.Message msg)
                                                                   throws javax.jms.JMSException
javax.jms.JMSExceptionpublic static boolean isRMQMessage(javax.jms.Message msg)
                            throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void acknowledge(long[] state)
                 throws javax.jms.JMSException
javax.jms.JMSExceptionpublic java.lang.String getOperation()