I'm not sure if I got your question clearly. If you want the messages to be
got at specified time. You should use delay send.
1. You need setup the queue to be holdOnPublishEnabled. Either add it to
attributes on create or set it up in UI. And as I remember, this field can
only be setup in creating time, you can't update it later.
2. For the messages need to be delayed, set to;
message.setLongProperty("x-qpid-not-valid-before", timeInMilliseconds);
It need to be long property.The messages setup correctly will be in queue. You can view them in UI. But it won't be pick by consumer until the setup time. By the way, if you setup the time to be 12:00, the message will be pick up at or after 12:00. Not exactly 12:00. Hope this helps. -- Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
