StompTransactionManager class
Manager for STOMP transactions
Constructors
Properties
-
activeTransactions
→ List<
StompTransaction> -
Gets all active transactions
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onAbort
→ Stream<
StompTransaction> -
Stream of transaction abort events
no setter
-
onBegin
→ Stream<
StompTransaction> -
Stream of transaction begin events
no setter
-
onCommit
→ Stream<
StompTransaction> -
Stream of transaction commit events
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
abortAllTransactions(
) → void - Aborts all active transactions
-
abortTransaction(
String id) → StompTransaction - Aborts a transaction
-
addFrameToTransaction(
String transactionId, StompFrame frame) → void - Adds a frame to a transaction
-
beginTransaction(
String id) → StompTransaction - Begins a new transaction
-
clear(
) → void - Clears all transactions
-
close(
) → void - Closes the transaction manager
-
commitTransaction(
String id) → StompTransaction - Commits a transaction
-
getTransaction(
String id) → StompTransaction? - Gets a transaction by ID
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeTransaction(
String id) → bool - Removes a transaction (typically after commit/abort processing)
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited