Hi,
  I'm new to qpid ... enterprise messaging period actually. I'm trying to
evaluate QPid vs. ActiveMQ for work.

There's a particular use-case I'm interested in, which is to be able to
publish a set of messages to a random consumer given that the messages are
grouped together with some sort of id. I know ActiveMQ advertises this as a
feature. However looking at AMQP, it seems that the protocol should be
flexible enough to do something like this, but I'm having a hard time coming
up with a solution.

The two basic exchanges Direct and Pub/Sub don't really fit this model. I do
want the first message associated with a particular groupid to be received
by any available consumer. However once, that message has been received by a
consumer, I want subsequent messages associated with the same groupid to be
routed to that same consumer and not any other consumers.

Basically the available consumers do not know about the groupids until they
consume the first message with a groupid.

Python example would be nice, but I'll take code examples in any language
just to get a feeling of how things might work.

Luying

Reply via email to