I use Spring Integration to connect ActiveMQ.
I need a value of time of putting JMS message on queue (1).
Here said 'JMSTimestamp' JMS property have above value.
Really, 'timestamp' header have value of Spring Integration Message creation time (2) instead of above value.
I see to code. In DefaultJmsHeaderMapper, 'timestamp' header is set by a JMS property with same name and (1) value.
Then in MessageHeaders constructor, 'timestamp' header is overwited by current time value (ie (2) value).
Is it a bug?
If not, How can I access (1) value in Spring Integration?


Reply With Quote
