Uses of Class
org.apache.activemq.ActiveMQSession
-
Packages that use ActiveMQSession Package Description org.apache.activemq The core JMS client API implementation classes.org.apache.activemq.ra JCA managed connections and resource adapters for working with ActiveMQ -
-
Uses of ActiveMQSession in org.apache.activemq
Subclasses of ActiveMQSession in org.apache.activemq Modifier and Type Class Description class
ActiveMQXASession
The XASession interface extends the capability of Session by adding access to a JMS provider's support for the Java Transaction API (JTA) (optional).Fields in org.apache.activemq declared as ActiveMQSession Modifier and Type Field Description protected ActiveMQSession
ActiveMQMessageConsumer. session
protected ActiveMQSession
ActiveMQMessageProducerSupport. session
Methods in org.apache.activemq that return types with arguments of type ActiveMQSession Modifier and Type Method Description protected CopyOnWriteArrayList<ActiveMQSession>
ActiveMQConnection. getSessions()
Methods in org.apache.activemq with parameters of type ActiveMQSession Modifier and Type Method Description protected void
ActiveMQConnection. addSession(ActiveMQSession session)
Used internally for adding Sessions to the Connectionvoid
ActiveMQSession.DeliveryListener. afterDelivery(ActiveMQSession session, Message msg)
void
ActiveMQSession.DeliveryListener. beforeDelivery(ActiveMQSession session, Message msg)
MessageConsumer
CustomDestination. createConsumer(ActiveMQSession session, String messageSelector)
MessageConsumer
CustomDestination. createConsumer(ActiveMQSession session, String messageSelector, boolean noLocal)
TopicSubscriber
CustomDestination. createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
MessageProducer
CustomDestination. createProducer(ActiveMQSession session)
TopicPublisher
CustomDestination. createPublisher(ActiveMQSession session)
QueueReceiver
CustomDestination. createReceiver(ActiveMQSession session, String messageSelector)
QueueSender
CustomDestination. createSender(ActiveMQSession session)
TopicSubscriber
CustomDestination. createSubscriber(ActiveMQSession session, String messageSelector, boolean noLocal)
protected void
ActiveMQConnection. removeSession(ActiveMQSession session)
Used interanlly for removing Sessions from a ConnectionConstructors in org.apache.activemq with parameters of type ActiveMQSession Constructor Description ActiveMQMessageConsumer(ActiveMQSession session, ConsumerId consumerId, ActiveMQDestination dest, String name, String selector, int prefetch, int maximumPendingMessageCount, boolean noLocal, boolean browser, boolean dispatchAsync, MessageListener messageListener)
Create a MessageConsumerActiveMQMessageProducer(ActiveMQSession session, ProducerId producerId, ActiveMQDestination destination, int sendTimeout)
ActiveMQMessageProducerSupport(ActiveMQSession session)
ActiveMQQueueBrowser(ActiveMQSession session, ConsumerId consumerId, ActiveMQDestination destination, String selector, boolean dispatchAsync)
Constructor for an ActiveMQQueueBrowser - used internallyActiveMQQueueReceiver(ActiveMQSession theSession, ConsumerId consumerId, ActiveMQDestination destination, String selector, int prefetch, int maximumPendingMessageCount, boolean asyncDispatch)
ActiveMQQueueSender(ActiveMQSession session, ActiveMQDestination destination, int sendTimeout)
ActiveMQTopicPublisher(ActiveMQSession session, ActiveMQDestination destination, int sendTimeout)
ActiveMQTopicSubscriber(ActiveMQSession theSession, ConsumerId consumerId, ActiveMQDestination dest, String name, String selector, int prefetch, int maximumPendingMessageCount, boolean noLocalValue, boolean browserValue, boolean asyncDispatch)
-
Uses of ActiveMQSession in org.apache.activemq.ra
Methods in org.apache.activemq.ra with parameters of type ActiveMQSession Modifier and Type Method Description void
ServerSessionImpl. afterDelivery(ActiveMQSession session, Message msg)
The ActiveMQSession's run method will call back to this method after dispactching a message to the MessageListener.void
ServerSessionImpl. beforeDelivery(ActiveMQSession session, Message msg)
The ActiveMQSession's run method will call back to this method before dispactching a message to the MessageListener.Constructors in org.apache.activemq.ra with parameters of type ActiveMQSession Constructor Description ManagedSessionProxy(ActiveMQSession session, ManagedConnectionProxy connectionProxy)
ServerSessionImpl(ServerSessionPoolImpl pool, ActiveMQSession session, WorkManager workManager, MessageEndpoint endpoint, boolean useRAManagedTx, int batchSize)
-