public class SessionTransactionSynchronization extends Object implements org.apache.camel.spi.Synchronization
org.apache.camel.Exhcnage
.Constructor and Description |
---|
SessionTransactionSynchronization(javax.jms.Session session,
TransactionCommitStrategy commitStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
onComplete(org.apache.camel.Exchange exchange) |
void |
onFailure(org.apache.camel.Exchange exchange) |
public SessionTransactionSynchronization(javax.jms.Session session, TransactionCommitStrategy commitStrategy)
public void onFailure(org.apache.camel.Exchange exchange)
onFailure
in interface org.apache.camel.spi.Synchronization
exchange
- Synchronization.onFailure(org.apache.camel.Exchange)
public void onComplete(org.apache.camel.Exchange exchange)
onComplete
in interface org.apache.camel.spi.Synchronization
exchange
- Synchronization.onComplete(org.apache.camel.Exchange
)
Apache Camel