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 is consumed. In active mq we will be getting a parameter called JMS Destination where the queue name will be available. Is there a possiblity to find queue name from wmq using spring integration message.
0
votes
1 Answers
0
votes
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
.