Package | Description |
---|---|
org.apache.activemq |
The core JMS client API implementation classes.
|
org.apache.activemq.pool |
A JMS provider which pools Connection, Session and MessageProducer instances so it can be used with tools like
Spring's JmsTemplate.
|
org.apache.activemq.ra |
JCA managed connections and resource adapters for working with ActiveMQ
|
Modifier and Type | Class and 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).
|
Modifier and Type | Field and Description |
---|---|
protected ActiveMQSession |
ActiveMQMessageProducerSupport.session |
protected ActiveMQSession |
ActiveMQMessageConsumer.session |
Modifier and Type | Method and Description |
---|---|
protected void |
ActiveMQConnection.addSession(ActiveMQSession session)
Used internally for adding Sessions to the Connection
|
void |
ActiveMQSession.DeliveryListener.afterDelivery(ActiveMQSession session,
javax.jms.Message msg) |
void |
ActiveMQSession.DeliveryListener.beforeDelivery(ActiveMQSession session,
javax.jms.Message msg) |
javax.jms.MessageConsumer |
CustomDestination.createConsumer(ActiveMQSession session,
String messageSelector) |
javax.jms.MessageConsumer |
CustomDestination.createConsumer(ActiveMQSession session,
String messageSelector,
boolean noLocal) |
javax.jms.TopicSubscriber |
CustomDestination.createDurableSubscriber(ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal) |
javax.jms.MessageProducer |
CustomDestination.createProducer(ActiveMQSession session) |
javax.jms.TopicPublisher |
CustomDestination.createPublisher(ActiveMQSession session) |
javax.jms.QueueReceiver |
CustomDestination.createReceiver(ActiveMQSession session,
String messageSelector) |
javax.jms.QueueSender |
CustomDestination.createSender(ActiveMQSession session) |
javax.jms.TopicSubscriber |
CustomDestination.createSubscriber(ActiveMQSession session,
String messageSelector,
boolean noLocal) |
protected void |
ActiveMQConnection.removeSession(ActiveMQSession session)
Used interanlly for removing Sessions from a Connection
|
Constructor and Description |
---|
ActiveMQMessageConsumer(ActiveMQSession session,
ConsumerId consumerId,
ActiveMQDestination dest,
String name,
String selector,
int prefetch,
int maximumPendingMessageCount,
boolean noLocal,
boolean browser,
boolean dispatchAsync,
javax.jms.MessageListener messageListener)
Create a MessageConsumer
|
ActiveMQMessageProducer(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 internally
|
ActiveMQQueueReceiver(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) |
Modifier and Type | Method and Description |
---|---|
protected ActiveMQSession |
SessionPool.createSession() |
protected ActiveMQSession |
PooledConnection.createSession(SessionKey key) |
ActiveMQSession |
PooledSession.getInternalSession() |
Constructor and Description |
---|
PooledSession(ActiveMQSession aSession,
SessionPool sessionPool) |
Modifier and Type | Method and Description |
---|---|
void |
ServerSessionImpl.afterDelivery(ActiveMQSession session,
javax.jms.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,
javax.jms.Message msg)
The ActiveMQSession's run method will call back to this method before
dispactching a message to the MessageListener.
|
Constructor and Description |
---|
ManagedSessionProxy(ActiveMQSession session,
ManagedConnectionProxy connectionProxy) |
ServerSessionImpl(ServerSessionPoolImpl pool,
ActiveMQSession session,
javax.resource.spi.work.WorkManager workManager,
javax.resource.spi.endpoint.MessageEndpoint endpoint,
boolean useRAManagedTx,
int batchSize) |
Copyright © 2005–2014. All rights reserved.