|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerSessionPool
A ServerSessionPool
object is an object implemented by an application server to provide a pool of ServerSession
objects for processing the messages of a ConnectionConsumer
(optional).
Its only method is getServerSession
. The JMS API does not architect how the pool is implemented. It could be a static pool of ServerSession
objects, or it could use a sophisticated algorithm to dynamically create ServerSession
objects as needed.
If the ServerSessionPool
is out of ServerSession
objects, the getServerSession
call may block. If a ConnectionConsumer
is blocked, it cannot deliver new messages until a ServerSession
is eventually returned.
ServerSession
Method Summary | |
---|---|
ServerSession |
getServerSession() Return a server session from the pool. |
Method Detail |
---|
ServerSession getServerSession() throws JMSException
JMSException
- if an application server fails to return a ServerSession
out of its server session pool.
|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.