public class ConnectionConsumerFakeTransactionStrategy extends ConnectionConsumerTransactionStrategy
ConnectionConsumerTransactionStrategy.InitProperties, ConnectionConsumerTransactionStrategy.TransactionState| Constructor and Description |
|---|
ConnectionConsumerFakeTransactionStrategy(ConnectionConsumerTransactionStrategy.InitProperties iprop) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPollLoop() |
void |
onCommit(Collection<Message> msgs) |
void |
onMessage(Collection<Message> msgs) |
void |
onRollback(Collection<Message> msgs) |
void |
reset() |
boolean |
tryWaitForUnacked(int millis) |
afterDelivery, close, closeConsumer, createConsumer, getConsumer, getTxState, processRollbackTaskOnPollerThread, start, stoppublic ConnectionConsumerFakeTransactionStrategy(ConnectionConsumerTransactionStrategy.InitProperties iprop)
public void reset()
reset in class ConnectionConsumerTransactionStrategypublic void onMessage(Collection<Message> msgs)
onMessage in class ConnectionConsumerTransactionStrategypublic void onCommit(Collection<Message> msgs) throws JMSException
onCommit in class ConnectionConsumerTransactionStrategyJMSExceptionpublic void onRollback(Collection<Message> msgs) throws JMSException
onRollback in class ConnectionConsumerTransactionStrategyJMSExceptionpublic boolean tryWaitForUnacked(int millis)
throws InterruptedException
tryWaitForUnacked in class ConnectionConsumerTransactionStrategyInterruptedExceptionpublic void afterPollLoop()
throws JMSException
afterPollLoop in class ConnectionConsumerTransactionStrategyJMSExceptionCopyright 2004-2020 Solace Corporation. All rights reserved.