I have read types of transactions which are supported by Nservicebus but I got confused about the ReceiveOnly and Sends atomic with Receive in Nservicebusbus. can anyone describe it for me a little more detail?
what is the difference between ReceiveOnly and Sends atomic with Receive in Nservicebus?
54 Views Asked by shirin monzavi At
1
There are 1 best solutions below
Related Questions in NSERVICEBUS
- NLog with NServiceBus
- Nservicebus and sqlite
- Messages not being received for NServiceBus on RabbitMQ
- NServiceBus Outbox exactly once processing
- NServiceBus & Entity Framework
- NServiceBus Invalid Subscriptions
- Unit tests fail after upgrading from NServiceBus 7 to NServiceBus 8
- Difficulty in Identifying Working Messages Amidst Unknown Message Types in ServiceInsight
- Disable outbox connection resolution for incoming Response messages when using client-side callbacks
- NSerciceBus SetMessageId actually set correlationId?
- NServiceBus - capturing event handled by "child" saga also in "parent" saga
- RabbitMQ high memory usage
- Custom Topic Naming in NServiceBus using SQSTransport
- Using NServiceBus with an ASMX web service
- Map a saga with a list in the sagadata in nservicebus
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
ReceiveOnly :
In this mode the receive operation is wrapped in a transport's native transaction. This mode guarantees that the message is not permanently deleted from the incoming queue until there is at least one processing attempt (including storing user data and sending out messages) finished successfully.
Eg: In Azure Service Bus and Azure Storage Queues, the message is not removed from the queue after it is received, but rather its hidden for some duration. This prevents other instances from receiving the message. If the receiver fails to process the message within that time frame or explicitly abandons the message, then the message will become visible again. Other instances will be able to pick it up (effectively rolling back the incoming message).
SendsAtomicWithReceive:
This mode is similar to the ReceiveOnly, but transaction is shared with sending operations as well. That means the message receive operation and any send or publish operations are all committed atomically i.e., all outgoing operations are atomic with the ongoing receive operation.
NServiceBus documentation: https://docs.particular.net/transports/transactions