You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Bee k <nb...@hotmail.com> on 2019/01/29 16:46:49 UTC
QPID feature to synchronize messages
Does QPID have feature to hold incoming messages for certain duration and sort them out by a value in the content (i.e. message ID) before publishing the messages?
Re: QPID feature to synchronize messages
Posted by Rob Godfrey <ro...@gmail.com>.
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 <nb...@hotmail.com> wrote:
> Thank you. I will look into that.
>
>
> > On Jan 30, 2019, at 4:20 AM, Rob Godfrey <ro...@gmail.com>
> wrote:
> >
> >> On Wed, 30 Jan 2019, 12:39 Gordon Sim <gsim@redhat.com 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: users-unsubscribe@qpid.apache.org
> >> For additional commands, e-mail: users-help@qpid.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: QPID feature to synchronize messages
Posted by Bee k <nb...@hotmail.com>.
Thank you. I will look into that.
> On Jan 30, 2019, at 4:20 AM, Rob Godfrey <ro...@gmail.com> wrote:
>
>> On Wed, 30 Jan 2019, 12:39 Gordon Sim <gsim@redhat.com 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: users-unsubscribe@qpid.apache.org
>> For additional commands, e-mail: users-help@qpid.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: QPID feature to synchronize messages
Posted by Rob Godfrey <ro...@gmail.com>.
On Wed, 30 Jan 2019, 12:39 Gordon Sim <gsim@redhat.com 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: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: QPID feature to synchronize messages
Posted by Gordon Sim <gs...@redhat.com>.
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!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: QPID feature to synchronize messages
Posted by Rob Godfrey <ro...@gmail.com>.
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).
-- Rob
On Wed, 30 Jan 2019 at 10:20, Gordon Sim <gs...@redhat.com> wrote:
> On 29/01/19 16:46, Bee k wrote:
> > Does QPID have feature to hold incoming messages for certain duration
> and sort them out by a value in the content (i.e. message ID) before
> publishing the messages?
>
> No
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: QPID feature to synchronize messages
Posted by Gordon Sim <gs...@redhat.com>.
On 29/01/19 16:46, Bee k wrote:
> Does QPID have feature to hold incoming messages for certain duration and sort them out by a value in the content (i.e. message ID) before publishing the messages?
No
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org