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