qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: different release behavior in M4 CPP?
Date Wed, 11 Feb 2009 02:31:59 GMT


I'll try take a look tomorrow (if someone else does not to it first) -- 
in lots of meetings this week.
Carl.

Adam Chase wrote:
> The way I am implementing failback using qpid is to release a message
> when I detect that the other consumer is available again via a
> message.
>
> When I release the message, the other consumer isn't getting it.
>
> If I add some credit to myself I get it again and then the next time
> the other consumer gets it.  If I kill the first consumer, the second
> gets the message immediately.
>
> Is this a bug or intentional?  Is there a workaround?
>
> I have attached some code.
>
> The idea is to publish 1 message to a queue and 2 consumers.  The
> second consumer should get it once the first releases it.
>
> If I should be doing this another way, please let me know.
>
> Thanks,
>
> Adam
>   
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message