public class ConnectionConsumerLocalTxStrategy extends ConnectionConsumerTransactionStrategy
ConnectionConsumerTransactionStrategy.InitProperties, ConnectionConsumerTransactionStrategy.TransactionState| Constructor and Description |
|---|
ConnectionConsumerLocalTxStrategy(ConnectionConsumerTransactionStrategy.InitProperties iprop) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelivery() |
void |
close() |
void |
closeConsumer() |
void |
createConsumer() |
void |
onCommit(Collection<Message> msgs) |
void |
onMessage(Collection<Message> msgs) |
void |
onRollback(Collection<Message> msgs) |
void |
reset() |
afterPollLoop, getConsumer, getTxState, processRollbackTaskOnPollerThread, start, stop, tryWaitForUnackedpublic ConnectionConsumerLocalTxStrategy(ConnectionConsumerTransactionStrategy.InitProperties iprop)
public void createConsumer()
throws JMSException
createConsumer in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void closeConsumer()
throws JMSException
closeConsumer in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void close()
throws JMSException
close in interface SolCloseableIFclose in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void reset()
reset in class ConnectionConsumerTransactionStrategypublic void onMessage(Collection<Message> msgs) throws JMSException
onMessage in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void onCommit(Collection<Message> msgs) throws JMSException
onCommit in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void onRollback(Collection<Message> msgs) throws JMSException
onRollback in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void afterDelivery()
throws JMSException
afterDelivery in class ConnectionConsumerTransactionStrategyJMSExceptionCopyright 2004-2021 Solace Corporation. All rights reserved.