Class RequestListener
- java.lang.Object
-
- org.smallmind.phalanx.wire.transport.jms.RequestListener
-
- All Implemented Interfaces:
javax.jms.MessageListener,SessionEmployer
public class RequestListener extends Object implements SessionEmployer, javax.jms.MessageListener
-
-
Constructor Summary
Constructors Constructor Description RequestListener(JmsResponseTransport jmsResponseTransport, ConnectionManager requestConnectionManager, javax.jms.Destination requestDestination, String serviceGroup, String instanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()javax.jms.DestinationgetDestination()StringgetMessageSelector()voidonMessage(javax.jms.Message message)voidpause()voidplay()
-
-
-
Constructor Detail
-
RequestListener
public RequestListener(JmsResponseTransport jmsResponseTransport, ConnectionManager requestConnectionManager, javax.jms.Destination requestDestination, String serviceGroup, String instanceId) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
-
Method Detail
-
getDestination
public javax.jms.Destination getDestination()
- Specified by:
getDestinationin interfaceSessionEmployer
-
getMessageSelector
public String getMessageSelector()
- Specified by:
getMessageSelectorin interfaceSessionEmployer
-
play
public void play() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
pause
public void pause() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
close
public void close() throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessagein interfacejavax.jms.MessageListener
-
-