Files
spring-integration/spring-integration-core
Artem Bilan 14419ba3f7 INT-3669: Fix DelayHandler for the Date delay
JIRA: https://jira.spring.io/browse/INT-3669

Previously the `DelayHandler` incorrectly calculated a `delay` for values which are of the `Date` time.
It always used `new Date()` even for rescheduling for persisted messages.

* Fix `DelayHandler` to calculate `delays` against the `requestDate` of the delayed Message
* In addition fix the expression evaluation root object, when for rescheduling it was the message with `DelayedMessageWrapper` payload instead of original message.

**Cherry-pick to 3.0.x, 4.0.x, 4.1.x**

Conflicts:
	spring-integration-core/src/test/java/org/springframework/integration/handler/DelayHandlerTests.java

Resolved
2015-03-03 10:58:13 -05:00
..
2013-04-15 17:11:38 -04:00