the message is always sent to the host where it is being produced...
it will later be redistributed over demand.


AFAIK AMQ5 would be the same?

On Fri, Oct 30, 2015 at 10:25 AM, Justin Bertram <jbert...@apache.com> wrote:
> I'm a bit confused by your comment, Tim.
>
> When I think of "first-time distribution" I think of when the message arrives 
> on the cluster for the first time and it is distributed to a node with a 
> matching consumer.  Artemis supports this for consumers with selectors.
>
> When I think of "redistribution" I think of when the message arrives on the 
> cluster for the first time and there are no matching consumers and then later 
> a matching consumer connects to another node in the cluster and the message 
> is redistributed to that node.  Artemis doesn't support this for consumers 
> with selectors.
>
> To me, the question about "messages produced while the queue consumer is 
> disconnected" is about redistribution - at least how Artemis defines it. 
> Based on your comment it appears you have different ideas about what 
> "redistribution" and "first-time distribution" means.  Can you clarify?
>
>
> Justin
>
> ----- Original Message -----
> From: "Tim Bain" <tb...@alumni.duke.edu>
> To: "ActiveMQ Users" <users@activemq.apache.org>
> Sent: Friday, October 30, 2015 8:31:20 AM
> Subject: Re: artemis cluster don't redistribute message
>
> This isn't redistribution, it's first-time distribution: the question is
> about messages produced while the queue consumer is disconnected.  And that
> definitely does work in ActiveMQ.
> On Oct 29, 2015 9:14 PM, "Clebert Suconic" <clebert.suco...@gmail.com>
> wrote:
>
>> Ah... based on selectors...
>>
>> I don't think ActiveMQ5 supports it either.. it's a fundamental
>> problem that usually goes against the messaging context.
>>
>>
>> Most of times I have seen this pattern being used the Messaging system
>> was being used for store & retrieve. I.e. a database like application.
>> which usually tends to fail.
>>
>> I'm not saying it's your case.. but it's been the case most times I
>> seen that need.
>>
>> On Thu, Oct 29, 2015 at 10:40 PM, Justin Bertram <jbert...@apache.com>
>> wrote:
>> > As far as I know redistribution based on selectors is not currently
>> supported in Artemis.
>> >
>> >
>> > Justin
>>
>>
>>
>> --
>> Clebert Suconic
>>



-- 
Clebert Suconic

Reply via email to