You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2020/06/09 19:20:07 UTC

[activemq-artemis] branch master updated: NO-JIRA fixed typo in code example

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 0fda791  NO-JIRA fixed typo in code example
     new b0d896d  This closes #3175
0fda791 is described below

commit 0fda791fe0003c3e3e1321ec4fb9cf3a3f547d39
Author: Faldrian <fa...@och-noe.de>
AuthorDate: Tue Jun 9 15:19:00 2020 +0200

    NO-JIRA fixed typo in code example
---
 docs/user-manual/en/consumer-priority.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/user-manual/en/consumer-priority.md b/docs/user-manual/en/consumer-priority.md
index a7a5ca7..ac2eaf5 100644
--- a/docs/user-manual/en/consumer-priority.md
+++ b/docs/user-manual/en/consumer-priority.md
@@ -17,8 +17,8 @@ When using the JMS Client you can set the priority to be used, by using address
 creating the destination used by the consumer.
 
 ```java
-Queue queue = session.createQueue("my.destination.name?consmer-priority=50");
-Topic topic = session.createTopic("my.destination.name?consmer-priority=50");
+Queue queue = session.createQueue("my.destination.name?consumer-priority=50");
+Topic topic = session.createTopic("my.destination.name?consumer-priority=50");
 
 consumer = session.createConsumer(queue);
 ```
@@ -42,4 +42,4 @@ Because of the limitation of OpenWire, the range of priority values is: 0 to 127
 
 In AMQP 1.0 the priority of the consumer is set in the properties map of the attach frame where the broker side of the link represents the sending side of the link. 
 
-The key for the entry must be the literal string priority, and the value of the entry must be an integral number in the range -2<sup>31</sup> to 2<sup>31</sup>-1.
\ No newline at end of file
+The key for the entry must be the literal string priority, and the value of the entry must be an integral number in the range -2<sup>31</sup> to 2<sup>31</sup>-1.