Package org.apache.activemq
Interface ScheduledMessage
- All Known Implementing Classes:
ActiveMQBlobMessage
,ActiveMQBytesMessage
,ActiveMQMapMessage
,ActiveMQMessage
,ActiveMQObjectMessage
,ActiveMQStreamMessage
,ActiveMQTextMessage
public interface ScheduledMessage
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Use a Cron tab entry to set the schedulestatic final String
The time in milliseconds that a message will wait before being scheduled to be delivered by the brokerstatic final String
An Id that is assigned to a Scheduled Message, this value is only available once the Message is scheduled, Messages sent to the Browse Destination or delivered to the assigned Destination will have this value set.static final String
The time in milliseconds to wait after the start time to wait before scheduling the message againstatic final String
The number of times to repeat scheduling a message for deliverystatic final String
Used to specify that a some operation should be performed on the Scheduled Message, the Message must have an assigned Id for this action to be taken.static final String
Indicates that a browse of the Scheduled Messages is being requested.static final String
A property that holds the end of the time interval that the specified action should be applied within.static final String
Indicates that a Scheduled Message is to be remove from the Scheduler, the Id of the scheduled message must be set as a property in order for this action to have any effect.static final String
Indicates that all scheduled Messages should be removed.static final String
A property that holds the beginning of the time interval that the specified action should be applied within.static final String
Special destination to send Message's to with an assigned "action" that the Scheduler should perform such as removing a message.
-
Field Details
-
AMQ_SCHEDULED_DELAY
The time in milliseconds that a message will wait before being scheduled to be delivered by the broker- See Also:
-
AMQ_SCHEDULED_PERIOD
The time in milliseconds to wait after the start time to wait before scheduling the message again- See Also:
-
AMQ_SCHEDULED_REPEAT
The number of times to repeat scheduling a message for delivery- See Also:
-
AMQ_SCHEDULED_CRON
Use a Cron tab entry to set the schedule- See Also:
-
AMQ_SCHEDULED_ID
An Id that is assigned to a Scheduled Message, this value is only available once the Message is scheduled, Messages sent to the Browse Destination or delivered to the assigned Destination will have this value set.- See Also:
-
AMQ_SCHEDULER_MANAGEMENT_DESTINATION
Special destination to send Message's to with an assigned "action" that the Scheduler should perform such as removing a message.- See Also:
-
AMQ_SCHEDULER_ACTION
Used to specify that a some operation should be performed on the Scheduled Message, the Message must have an assigned Id for this action to be taken.- See Also:
-
AMQ_SCHEDULER_ACTION_BROWSE
Indicates that a browse of the Scheduled Messages is being requested.- See Also:
-
AMQ_SCHEDULER_ACTION_REMOVE
Indicates that a Scheduled Message is to be remove from the Scheduler, the Id of the scheduled message must be set as a property in order for this action to have any effect.- See Also:
-
AMQ_SCHEDULER_ACTION_REMOVEALL
Indicates that all scheduled Messages should be removed.- See Also:
-
AMQ_SCHEDULER_ACTION_START_TIME
A property that holds the beginning of the time interval that the specified action should be applied within. Maps to a long value that specified time in milliseconds since UTC.- See Also:
-
AMQ_SCHEDULER_ACTION_END_TIME
A property that holds the end of the time interval that the specified action should be applied within. Maps to a long value that specified time in milliseconds since UTC.- See Also:
-