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.