NO-JIRA fixed typo in code example

This commit is contained in:
Faldrian 2020-06-09 15:19:00 +02:00 committed by Clebert Suconic
parent 0a2c4399bc
commit 0fda791fe0
1 changed files with 3 additions and 3 deletions

View File

@ -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);
```