Package org.apache.activemq
Interface ScheduledMessage
-
- All Known Implementing Classes:
ActiveMQBlobMessage,ActiveMQBytesMessage,ActiveMQMapMessage,ActiveMQMessage,ActiveMQObjectMessage,ActiveMQStreamMessage,ActiveMQTextMessage
public interface ScheduledMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAMQ_SCHEDULED_CRONUse a Cron tab entry to set the schedulestatic StringAMQ_SCHEDULED_DELAYThe time in milliseconds that a message will wait before being scheduled to be delivered by the brokerstatic StringAMQ_SCHEDULED_IDAn 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 StringAMQ_SCHEDULED_PERIODThe time in milliseconds to wait after the start time to wait before scheduling the message againstatic StringAMQ_SCHEDULED_REPEATThe number of times to repeat scheduling a message for deliverystatic StringAMQ_SCHEDULER_ACTIONUsed 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 StringAMQ_SCHEDULER_ACTION_BROWSEIndicates that a browse of the Scheduled Messages is being requested.static StringAMQ_SCHEDULER_ACTION_END_TIMEA property that holds the end of the time interval that the specified action should be applied within.static StringAMQ_SCHEDULER_ACTION_REMOVEIndicates 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 StringAMQ_SCHEDULER_ACTION_REMOVEALLIndicates that all scheduled Messages should be removed.static StringAMQ_SCHEDULER_ACTION_START_TIMEA property that holds the beginning of the time interval that the specified action should be applied within.static StringAMQ_SCHEDULER_MANAGEMENT_DESTINATIONSpecial destination to send Message's to with an assigned "action" that the Scheduler should perform such as removing a message.
-
-
-
Field Detail
-
AMQ_SCHEDULED_DELAY
static final String AMQ_SCHEDULED_DELAY
The time in milliseconds that a message will wait before being scheduled to be delivered by the broker- See Also:
- Constant Field Values
-
AMQ_SCHEDULED_PERIOD
static final String AMQ_SCHEDULED_PERIOD
The time in milliseconds to wait after the start time to wait before scheduling the message again- See Also:
- Constant Field Values
-
AMQ_SCHEDULED_REPEAT
static final String AMQ_SCHEDULED_REPEAT
The number of times to repeat scheduling a message for delivery- See Also:
- Constant Field Values
-
AMQ_SCHEDULED_CRON
static final String AMQ_SCHEDULED_CRON
Use a Cron tab entry to set the schedule- See Also:
- Constant Field Values
-
AMQ_SCHEDULED_ID
static final String 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:
- Constant Field Values
-
AMQ_SCHEDULER_MANAGEMENT_DESTINATION
static final String 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:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION
static final String 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:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION_BROWSE
static final String AMQ_SCHEDULER_ACTION_BROWSE
Indicates that a browse of the Scheduled Messages is being requested.- See Also:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION_REMOVE
static final String 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:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION_REMOVEALL
static final String AMQ_SCHEDULER_ACTION_REMOVEALL
Indicates that all scheduled Messages should be removed.- See Also:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION_START_TIME
static final String 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:
- Constant Field Values
-
AMQ_SCHEDULER_ACTION_END_TIME
static final String 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:
- Constant Field Values
-
-