We are using ActiveMQ Scheduled Message feature to trigger events and process on time. If a cron scheduled at 00:00:00 every day, the event is having a brokerInTime something like 00:01:00. This is not the accurate time. Depending on the number of crons and number of messages published and also depending on the underlying box used, I understand that there will be a delay in the brokerInTime/brokerOutTime.
We have a requirement where while processing these messages, we need the exact schedule time (Feb 21, 00:00:00 in above example) at which its supposed to be triggered, instead of when its actually received by broker or dispatched.
Does activeMQ/JMS have any property that gives us Schedule time at which the cron is supposed to be triggered ??
Thanks.