public class JMSMessageListenerWrapper extends Object implements MessageHandler
Modifier | Constructor and Description |
---|---|
protected |
JMSMessageListenerWrapper(ConnectionFactoryOptions options,
ActiveMQConnection connection,
ActiveMQSession session,
ClientConsumer consumer,
MessageListener listener,
int ackMode) |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(ClientMessage message)
In this method we apply the JMS acknowledgement and redelivery semantics
as per JMS spec
|
protected JMSMessageListenerWrapper(ConnectionFactoryOptions options, ActiveMQConnection connection, ActiveMQSession session, ClientConsumer consumer, MessageListener listener, int ackMode)
public void onMessage(ClientMessage message)
onMessage
in interface MessageHandler
message
- a messageCopyright © 2017 JBoss by Red Hat. All rights reserved.