public class ConnectionClosingSynchronization extends Object implements Synchronization
| Constructor and Description |
|---|
ConnectionClosingSynchronization(javax.jms.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status)
Close the connection no matter what the status of the transaction is.
|
void |
beforeCompletion() |
public ConnectionClosingSynchronization(javax.jms.Connection connection)
connection - connection to be closed.public void beforeCompletion()
beforeCompletion in interface Synchronizationpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationstatus - the status of the completed transactionCopyright © 2020 JBoss by Red Hat. All rights reserved.