This commit is contained in:
Clebert Suconic 2020-06-09 15:19:56 -04:00
commit b0d896df4d
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);
```