How To get JMS Destination from WMQ
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. 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 . 来源: