Stephan,
Good evening. When a JMS connection is setup through the Policy manager there are 2 options on how the message is handled either:
1) "On Take" whereby the message is pulled from the queue and processed through the policy. If for some reason the policy fails then the message is lost.
2) "On Completion" whereby the message on the JMS queue is flagged that it is being worked on and then the message is processed through the policy. If for some reason the policy fails, the message will remain on the queue and the flag is removed.
For the scenario that is outlined, use the "On Completion" option to ensure that the message is not removed as we processes the properties in the message through the policy. In the policy, the compare assertion can be used to validate the timestamp using the ${request.jms.property.<name>} context variable and then determine what time frame you wish to validate against.
Sincerely,
Stephen Hughes
Director, CA Support