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 classActiveMQXASessionThe 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 ActiveMQSessionActiveMQMessageConsumer. sessionprotected ActiveMQSessionActiveMQMessageProducerSupport. sessionMethods 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 voidActiveMQConnection. addSession(ActiveMQSession session)Used internally for adding Sessions to the ConnectionvoidActiveMQSession.DeliveryListener. afterDelivery(ActiveMQSession session, Message msg)voidActiveMQSession.DeliveryListener. beforeDelivery(ActiveMQSession session, Message msg)MessageConsumerCustomDestination. createConsumer(ActiveMQSession session, String messageSelector)MessageConsumerCustomDestination. createConsumer(ActiveMQSession session, String messageSelector, boolean noLocal)TopicSubscriberCustomDestination. createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)MessageProducerCustomDestination. createProducer(ActiveMQSession session)TopicPublisherCustomDestination. createPublisher(ActiveMQSession session)QueueReceiverCustomDestination. createReceiver(ActiveMQSession session, String messageSelector)QueueSenderCustomDestination. createSender(ActiveMQSession session)TopicSubscriberCustomDestination. createSubscriber(ActiveMQSession session, String messageSelector, boolean noLocal)protected voidActiveMQConnection. 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 voidServerSessionImpl. afterDelivery(ActiveMQSession session, Message msg)The ActiveMQSession's run method will call back to this method after dispactching a message to the MessageListener.voidServerSessionImpl. 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)
-