|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
Method Summary | |
---|---|
Session |
createSession(boolean transacted,
int acknowledgeMode,
int prefetch)
Create a session specifying the prefetch limit of messages. |
Session |
createSession(boolean transacted,
int acknowledgeMode,
int prefetchHigh,
int prefetchLow)
Create a session specifying the prefetch limit of messages. |
ConnectionListener |
getConnectionListener()
Get the connection listener that has been registered with this connection, if any |
long |
getMaximumChannelCount()
|
void |
setConnectionListener(ConnectionListener listener)
|
Methods inherited from interface javax.jms.Connection |
---|
close, createConnectionConsumer, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Method Detail |
---|
long getMaximumChannelCount() throws JMSException
JMSException
void setConnectionListener(ConnectionListener listener)
ConnectionListener getConnectionListener()
Session createSession(boolean transacted, int acknowledgeMode, int prefetch) throws JMSException
transacted
- acknowledgeMode
- prefetch
- the maximum number of messages to buffer in the client. This
applies as a total across all consumers
JMSException
Session createSession(boolean transacted, int acknowledgeMode, int prefetchHigh, int prefetchLow) throws JMSException
transacted
- acknowledgeMode
- prefetchHigh
- the maximum number of messages to buffer in the client.
This applies as a total across all consumersprefetchLow
- the number of messages that must be in the buffer in the client to renable message flow.
This applies as a total across all consumers
JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |