I have a problem when i try to get message with put date/time beetween two dates (beginDate and endDate). Here is my query receiveSelected("JMSTimestamp BETWEEN " + pBeginDate + "AND " + pEndDate). A message is in the queue and the timestamp is between the two values passed in argument. But nothing is returned by the query
Get message in MQ QUEUE with JMSTIMESTAMP
2.1k Views Asked by Gorgui Ndong At
2
I've tried on a recent WMQ version and this works correctly; I've output the 10 messages, the timestamp and the message id. Then only got some of the messages.
The correct ones are returned: have you confirmed the message is committed? and visible?
You do mention 'date' - is the selector in the correct format..