From 0fda791fe0003c3e3e1321ec4fb9cf3a3f547d39 Mon Sep 17 00:00:00 2001 From: Faldrian Date: Tue, 9 Jun 2020 15:19:00 +0200 Subject: [PATCH] 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 a7a5ca7dc1..ac2eaf5c08 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 -231 to 231-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 -231 to 231-1.