|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Factory interface for creating Server Session Pools. This interface is provided because it was not defined in javax.jms.
Method Summary | |
javax.jms.ServerSessionPool |
getServerSessionPool(javax.jms.QueueConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
java.lang.String listenerClassName)
Create a ServerSessionPool which can be used to service messages sent to a message listener in parallel, by a pool of ServerSessions. |
javax.jms.ServerSessionPool |
getServerSessionPool(javax.jms.TopicConnection connection,
int maxSessions,
boolean transacted,
int ackMode,
java.lang.String listenerClassName)
Create a ServerSessionPool which can be used to service messages sent to a message listener in parallel, by a pool of ServerSessions. |
Method Detail |
public javax.jms.ServerSessionPool getServerSessionPool(javax.jms.TopicConnection connection, int maxSessions, boolean transacted, int ackMode, java.lang.String listenerClassName) throws javax.jms.JMSException
The class listenerClassName may define a constructor which accepts a Session as an argument. The class must be public, and must define a public default constructor.
connection
- Connection used to create the JMS SessionmaxSessions
- Maximum number of sessions in the pooltransacted
- True if the session should be transactedackMode
- Acknowledgement mode for message deliverylistenerClassName
- Class to be instantiated to receive messagespublic javax.jms.ServerSessionPool getServerSessionPool(javax.jms.QueueConnection connection, int maxSessions, boolean transacted, int ackMode, java.lang.String listenerClassName) throws javax.jms.JMSException
The class listenerClassName may define a constructor which accepts a Session as an argument. The class must be public, and must define a public default constructor.
connection
- Connection used to create the JMS SessionmaxSessions
- Maximum number of sessions in the pooltransacted
- True if the session should be transactedackMode
- Acknowledgement mode for message delivery.listenerClassName
- Class to be instantiated to receive messages
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |