public class MessageListenerInstanceDefinition extends MessageListenerDefinition
Constructor and Description |
---|
MessageListenerInstanceDefinition(String name,
String connectionName,
javax.jms.Session session,
javax.jms.Destination destination,
String selector,
javax.jms.MessageListener messageListener,
Class<? extends MessagePoller> poller)
Creates a JMS message listener definition based on a MessageListener implementing class.
|
Modifier and Type | Method and Description |
---|---|
javax.jms.MessageListener |
getMessageListener() |
getConnectionName, getDestination, getMessageListenerClass, getName, getPoller, getSelector, getSession
public MessageListenerInstanceDefinition(String name, String connectionName, javax.jms.Session session, javax.jms.Destination destination, String selector, javax.jms.MessageListener messageListener, Class<? extends MessagePoller> poller)
name
- the listener nameconnectionName
- the connection name that this listener is attached to.session
- the JMS sessiondestination
- the JMS destinationselector
- the message selectormessageListener
- the MessageListener instancepoller
- an optional MessagePoller
to retrieve messages via receive().Copyright © 2013-2018–2019 SeedStack. All rights reserved.