Announcement Announcement Module
Collapse
No announcement yet.
how to change priority of a jms message with JMS Outbound Channel Adapter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to change priority of a jms message with JMS Outbound Channel Adapter?

    Hi!

    I have tried to change the jms priority of a jms message in Spring Integration. I could change the priority with gateway, but I couldn't with outbound channel adapter. Why aren't there a property for it?
    I've tried to change the priority with jms template, but it stayed on the default priority when the channel adapter sent it out.
    Can anybody give a hint to me?

    Thanks in advance!

  • #2
    Ok, I solved it!
    I had to change the setExplicitQosEnabled to true in the JMS template. I could change the jmsPriority after I set setExplicitQosEnabled to true.

    Comment

    Working...
    X