Skip to content

HandleWithTransaction<TMessage> #12

@johnknoop

Description

@johnknoop

A new method to consume messages wrapped in a transaction, which basically just creates a TransactionScope and then calls the message handler inside it. The completion of the message should also be done within the transaction.

The benefit of this is that under no circumstances will the received message be removed from the input entity unless the transaction completes. And conversely, no downstream process that is enlisted with this transaction will complete unless the message is successfully removed from the queue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions