org.smallmind.quorum.transport.message
Class TransmissionListener
java.lang.Object
org.smallmind.quorum.transport.message.TransmissionListener
- All Implemented Interfaces:
- javax.jms.MessageListener, SessionEmployer
public class TransmissionListener
- 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 |
TransmissionListener
public TransmissionListener(MessageTransmitter messageTransmitter,
ConnectionFactor responseConnectionFactor,
javax.jms.Topic responseTopic)
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.