How To get JMS Destination from WMQ

后端 未结 1 1643
深忆病人
深忆病人 2021-01-29 05:05

I am consuming a message from wmq using spring integration but i am not able to get JMS Destination in message header. I would want to know the queue name from where the message

1条回答
  •  生来不讨喜
    2021-01-29 05:33

    In Spring Integration, the JMSDestination is mapped to a header named jms_destination (JmsHeaders.DESTINATION).

    See Mapping Message Headers to/from JMS Message .

    The default mapper is the DefaultJmsHeaderMapper.

    0 讨论(0)
提交回复
热议问题