NO-JIRA fixed typo in code example
This commit is contained in:
parent
0a2c4399bc
commit
0fda791fe0
|
@ -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.
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue