|
|||||||||
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 | |
---|---|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination destination,
int prefetch,
boolean noLocal,
boolean exclusive,
java.lang.String selector)
|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination destination,
int prefetchHigh,
int prefetchLow,
boolean noLocal,
boolean exclusive,
java.lang.String selector)
|
javax.jms.MessageProducer |
createProducer(javax.jms.Destination destination,
boolean immediate)
Create a producer |
javax.jms.MessageProducer |
createProducer(javax.jms.Destination destination,
boolean mandatory,
boolean immediate)
Create a producer |
int |
getDefaultPrefetch()
|
int |
getDefaultPrefetchHigh()
|
int |
getDefaultPrefetchLow()
|
Methods inherited from interface javax.jms.Session |
---|
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, unsubscribe |
Field Detail |
---|
static final int NO_ACKNOWLEDGE
static final int PRE_ACKNOWLEDGE
Method Detail |
---|
javax.jms.MessageConsumer createConsumer(javax.jms.Destination destination, int prefetch, boolean noLocal, boolean exclusive, java.lang.String selector) throws javax.jms.JMSException
javax.jms.JMSException
javax.jms.MessageConsumer createConsumer(javax.jms.Destination destination, int prefetchHigh, int prefetchLow, boolean noLocal, boolean exclusive, java.lang.String selector) throws javax.jms.JMSException
javax.jms.JMSException
int getDefaultPrefetch()
int getDefaultPrefetchHigh()
int getDefaultPrefetchLow()
javax.jms.MessageProducer createProducer(javax.jms.Destination destination, boolean mandatory, boolean immediate) throws javax.jms.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
javax.jms.JMSException
javax.jms.MessageProducer createProducer(javax.jms.Destination destination, boolean immediate) throws javax.jms.JMSException
destination
- immediate
- the value of the immediate flag used by default on the producer
javax.jms.JMSException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |