In the docs:

https://qpid.apache.org/releases/qpid-broker-j-7.1.0/book/Java-Broker-Concepts-Queues.html#Java-Broker-Concepts-Queue-HoldingEntries

describes how messages an be "held"

https://qpid.apache.org/releases/qpid-broker-j-7.1.0/book/Java-Broker-Concepts-Queues.html#Java-Broker-Concepts-Queues-Types-Sorted

briefly describes the Sorted queue type  (note that you can't sort on
message id directly as that is not a custom property of type String - you
would need to add an application property to your messages which is a
String and will sort the way you want - e.g. if numeric you would need to
add leading zeros to pad the String so it sorts the way you want).

-- Rob

On Wed, 30 Jan 2019 at 18:04, Bee k <[email protected]> wrote:

> Thank you.  I will look into that.
>
>
> > On Jan 30, 2019, at 4:20 AM, Rob Godfrey <[email protected]>
> wrote:
> >
> >> On Wed, 30 Jan 2019, 12:39 Gordon Sim <[email protected] wrote:
> >>
> >>> On 30/01/19 10:31, Rob Godfrey wrote:
> >>> Actually Qpid Broker-J does support both holding messages for a given
> >> time
> >>> before delivery, and sorted queues (i.e. ordering the delivery of
> >> messages
> >>> from a particular queue based on a header value).
> >>
> >> Sorry, did not know that!
> >>
> >
> > It's not a feature that I see used often, and has some impact on
> > performance for that queue because queue entry/exit has to be
> synchronised.
> >
> > -- Rob
> >
> >
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to