|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
Field Summary | |
---|---|
static int |
NO_ACKNOWLEDGE
Indicates that no client acknowledgements are required. |
static int |
PRE_ACKNOWLEDGE
Pre acknowledge means that an ack is sent per message but sent before user code has processed the message (i.e. |
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
---|---|
MessageConsumer |
createConsumer(Destination destination,
int prefetch,
boolean noLocal,
boolean exclusive,
String selector)
|
MessageConsumer |
createConsumer(Destination destination,
int prefetchHigh,
int prefetchLow,
boolean noLocal,
boolean exclusive,
String selector)
|
MessageProducer |
createProducer(Destination destination,
boolean immediate)
Create a producer |
MessageProducer |
createProducer(Destination destination,
boolean mandatory,
boolean immediate)
Create a producer |
int |
getDefaultPrefetch()
|
int |
getDefaultPrefetchHigh()
|
int |
getDefaultPrefetchLow()
|
org.apache.qpid.framing.AMQShortString |
getDefaultQueueExchangeName()
|
org.apache.qpid.framing.AMQShortString |
getDefaultTopicExchangeName()
|
org.apache.qpid.framing.AMQShortString |
getTemporaryQueueExchangeName()
|
org.apache.qpid.framing.AMQShortString |
getTemporaryTopicExchangeName()
|
Field Detail |
---|
static final int NO_ACKNOWLEDGE
static final int PRE_ACKNOWLEDGE
Method Detail |
---|
MessageConsumer createConsumer(Destination destination, int prefetch, boolean noLocal, boolean exclusive, String selector) throws JMSException
JMSException
MessageConsumer createConsumer(Destination destination, int prefetchHigh, int prefetchLow, boolean noLocal, boolean exclusive, String selector) throws JMSException
JMSException
int getDefaultPrefetch()
int getDefaultPrefetchHigh()
int getDefaultPrefetchLow()
MessageProducer createProducer(Destination destination, boolean mandatory, boolean immediate) throws JMSException
destination
- mandatory
- the value of the mandatory flag used by default on the producerimmediate
- the value of the immediate flag used by default on the producer
JMSException
MessageProducer createProducer(Destination destination, boolean immediate) throws JMSException
destination
- immediate
- the value of the immediate flag used by default on the producer
JMSException
org.apache.qpid.framing.AMQShortString getTemporaryTopicExchangeName()
org.apache.qpid.framing.AMQShortString getDefaultQueueExchangeName()
org.apache.qpid.framing.AMQShortString getDefaultTopicExchangeName()
org.apache.qpid.framing.AMQShortString getTemporaryQueueExchangeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |