Closing Transacted Sessions
To cleanly terminate a transacted session, the client application should commit the current transaction, and then close the transacted session.
If a client application closes a transacted session without first committing the current transaction, the API rolls back that transaction, and it does not automatically reattempt the transaction.
PubSub+ Messaging API | Call |
---|---|
Java RTO |
TransactedSessionHandle.destroy() |
C |
solClient_transactedSession_destroy(...) |
.NET |
TransactedSession.dispose(...) |