Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
Patch Available
Description
Asyncronous Listeners do not support transactions properly. I suggest to add the option to register a callback that can be used to create a transaction for each message received by the asyncronous listener.
e.g.
((MessageConsumer)consumer).CreateTransactionScopeForAsyncMessage = this.CreateScope;
private TransactionScope CreateScope()
{ return new TransactionScope(TransactionScopeOption.RequiresNew); }