Package | Description |
---|---|
org.apache.commons.messenger |
The main Messenger interface, a simple facade for working with JMS, together with all
the default implementation classes and additional factory classes.
|
Modifier and Type | Class and Description |
---|---|
class |
JNDISessionFactory
JNDISessionFactory is a Factory of JMS Session objects
which looks up the ConnectionFactory object from JNDI. |
Modifier and Type | Field and Description |
---|---|
private SessionFactory |
MessengerSession.sessionFactory
The factory used to create each thread's JMS Session
|
private SessionFactory |
DefaultMessenger.sessionFactory
the SessionFactory used to create new JMS sessions
|
private SessionFactory |
SimpleMessenger.sessionFactory
the SessionFactory used to create new JMS sessions
|
private SessionFactory |
DefaultServerSessionPool.sessionFactory
the factory used to create new Sessions
|
Modifier and Type | Method and Description |
---|---|
protected SessionFactory |
DefaultMessenger.createSessionFactory()
Factory method to create a SessionFactory.
|
protected SessionFactory |
SimpleMessenger.createSessionFactory()
Factory method to create a SessionFactory.
|
SessionFactory |
MessengerSession.getSessionFactory() |
SessionFactory |
Messenger.getSessionFactory()
Returns the SessionFactory used to create new JMS sessions
and Connections.
|
SessionFactory |
DefaultMessenger.getSessionFactory()
Returns the SessionFactory used to create new JMS sessions
|
SessionFactory |
SimpleMessenger.getSessionFactory()
Returns the SessionFactory used to create new JMS sessions
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessenger.setSessionFactory(SessionFactory sessionFactory)
Sets the SessionFactory used to create new JMS sessions
|
void |
SimpleMessenger.setSessionFactory(SessionFactory sessionFactory)
Sets the SessionFactory used to create new JMS sessions
|
Constructor and Description |
---|
DefaultServerSessionPool(SessionFactory sessionFactory,
javax.jms.MessageListener listener,
int numberOfServerSessions) |
MessengerSession(MessengerSupport messenger,
SessionFactory sessionFactory) |