This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-website.git
The following commit(s) were added to refs/heads/main by this push:
new 4e9163a83 typo-fix in exclusive-consumer.md
new 297e0fa13 Merge pull request #104 from iamgd67/typo-fix
4e9163a83 is described below
commit 4e9163a8396d31ef756e037e804ed2e2f6ab87cd
Author: gd67 <[email protected]>
AuthorDate: Thu Mar 23 10:59:04 2023 +0800
typo-fix in exclusive-consumer.md
---
src/exclusive-consumer.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/exclusive-consumer.md b/src/exclusive-consumer.md
index 3bc988286..763d3307c 100644
--- a/src/exclusive-consumer.md
+++ b/src/exclusive-consumer.md
@@ -10,7 +10,7 @@ type: activemq5
### Background
-We maintain the order of messages in queues and dispatch them to consumers in
order. However if you have multiple JMS Sessions and MessageConsumer instances
consuming from the same queue (whether in the same JVM or not), you will loose
the guarantee of processing the messages in order; since the messages with be
processed concurrently in different threads.
+We maintain the order of messages in queues and dispatch them to consumers in
order. However if you have multiple JMS Sessions and MessageConsumer instances
consuming from the same queue (whether in the same JVM or not), you will loose
the guarantee of processing the messages in order; since the messages will be
processed concurrently in different threads.
Sometimes its important to guarantee the order in which messages are
processed. e.g. you don't want to process the update to an order until an
insert has been done; or to go backwards in time, overwriting an newer update
of an order with an older one etc.