[rabbitmq-discuss] a possibility of AMQP/RabbitMQ extension?

Paul Jones pauljones23 at gmail.com
Fri Nov 6 09:11:13 GMT 2009


Igor,

You can get at the messages, but not in a particularly nice or scalable way.
If you setup a consumer on the queue without auto-acknowledgment, then
you'll receive all of the messages. If you then only acknowledge message B,
and then close the channel, the messages will be returned to the queue (and
redelivered to other consumers). This probably isn't an approach that is
recommended however, since it starts to get very messy once you break beyond
simplified examples such as the one you've just posted.

Paul.

On Fri, Nov 6, 2009 at 8:58 AM, Igor Goryachev <igor at goryachev.org> wrote:

> Alexis Richardson <alexis.richardson at gmail.com> writes:
>
> >> BTW, is it safe to implement i.e. custom methods or some other 'core'
> >> features?
> >
> > I'm not sure what you mean - do you mean modifying the source of the
> > broker?  Or something else?
>
> I meant modifying AMQP proto itself (then of course modifying broker and
> client source core accordingly).
>
>
> Well, yet another dummy question. Is it possible to get particular
> message from the queue? I.e. there three messages waiting in queue,
> 'message_a', 'message_b' and 'message_c'. Is there any chance to get
> 'message_b' while not even touching other messages? I guess it is
> impossible, but I want to get sure.
>
>
> --
>     Igor Goryachev              E-Mail/Jabber: igor at goryachev.org
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20091106/dc64213b/attachment.htm 


More information about the rabbitmq-discuss mailing list