public class RequestListener extends Object implements SessionEmployer, javax.jms.MessageListener
| Constructor and Description |
|---|
RequestListener(JmsResponseTransport jmsResponseTransport,
ConnectionManager requestConnectionManager,
javax.jms.Destination requestDestination,
String serviceGroup,
String instanceId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
javax.jms.Destination |
getDestination() |
String |
getMessageSelector() |
void |
onMessage(javax.jms.Message message) |
void |
pause() |
void |
play() |
public RequestListener(JmsResponseTransport jmsResponseTransport, ConnectionManager requestConnectionManager, javax.jms.Destination requestDestination, String serviceGroup, String instanceId) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.Destination getDestination()
getDestination in interface SessionEmployerpublic String getMessageSelector()
getMessageSelector in interface SessionEmployerpublic void play()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void pause()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void close()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListenerCopyright © 2017. All rights reserved.