Skip to content

Commit

Permalink
Reverted "message.setJMSPriority(priority);"
Browse files Browse the repository at this point in the history
  • Loading branch information
mukesh-ctds authored Aug 20, 2024
1 parent 5da998c commit f6f9992
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ private void getProducerAndSend(Destination destination, Message message) throws
for (Map.Entry<String, Object> prop : properties.entrySet()) {
message.setObjectProperty(prop.getKey(), prop.getValue());
}
message.setJMSPriority(priority);

if (completionListener != null) {
producer.send(destination, message, deliveryMode, priority, timeToLive, completionListener);
Expand Down

0 comments on commit f6f9992

Please sign in to comment.