public class MessageReceiver extends Object implements javax.jms.MessageListener
Constructor and Description |
---|
MessageReceiver(MessageHandler handler,
javax.jms.Session session,
javax.jms.MessageConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
javax.jms.MessageConsumer |
getConsumer()
Get the JMS message consumer object for this message receiver
|
MessageHandler |
getMessageHandler()
Get the MessageHandler that will processSettings the message
|
javax.jms.Session |
getSession()
Get the JMS session for this message receiver
|
void |
onMessage(javax.jms.Message msg) |
public MessageReceiver(MessageHandler handler, javax.jms.Session session, javax.jms.MessageConsumer consumer)
public javax.jms.MessageConsumer getConsumer()
public MessageHandler getMessageHandler()
public javax.jms.Session getSession()
public void onMessage(javax.jms.Message msg)
onMessage
in interface javax.jms.MessageListener
Copyright © 2018 Apache Software Foundation. All rights reserved.