Announcement Announcement Module
Collapse
No announcement yet.
message selector SpEL in message-driven-channel-adapter on JMSCorrelationID Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • message selector SpEL in message-driven-channel-adapter on JMSCorrelationID

    hi all,

    we need to set the message selector in message-driven-channel-adapter on JMSCorrelationID.we are using IBMMQ.

    we tried selector like "headers.correlationId.toString().equals('" + requestId + "') "
    even we tried like "JMSCorrelationID = '" + requestId + "' "

    i am getting exception saying SELECTOR_SYNTAX_ERROR.

    Thanks in advance
    srini

  • #2
    What you pass needs to conform to the JMS spec for selectors (i.e. that syntax is pure JMS, not related to Spring Integration at all). Read the "Message Selectors" section here for more info:
    http://docs.oracle.com/javaee/1.4/ap...s/Message.html

    Comment

    Working...
    X