Added cron support for scheduled delivery - this is further enhancements for

https://issues.apache.org/activemq/browse/AMQ-451

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2010-02-11 08:21:17 +00:00
parent e3154c3cd6
commit 1a7fe702dc
1 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,14 @@ public class JobFacade {
public String getNextExecutionTime() {
return toString(data.get("next"));
}
public long getDelay() {
Long result = (Long) data.get("delay");
if (result != null) {
return result.longValue();
}
return 0l;
}
public long getPeriod() {
Long result = (Long) data.get("period");