org.smallmind.quorum.transport.message
Class ReceptionListener
java.lang.Object
org.smallmind.quorum.transport.message.ReceptionListener
- All Implemented Interfaces:
- javax.jms.MessageListener, SessionEmployer
public class ReceptionListener
- extends Object
- implements SessionEmployer, javax.jms.MessageListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReceptionListener
public ReceptionListener(ConnectionFactor requestConnectionFactor,
javax.jms.Queue requestQueue,
SynchronousQueue<javax.jms.Message> messageRendezvous)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getDestination
public javax.jms.Destination getDestination()
- Specified by:
getDestination in interface SessionEmployer
getMessageSelector
public String getMessageSelector()
- Specified by:
getMessageSelector in interface SessionEmployer
close
public void close()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessage in interface javax.jms.MessageListener
Copyright © 2012. All Rights Reserved.