I have two more questions regarding the rabbitmq mechanism
1. if a message is produced with a routing key and no queue is bounded to
that key. where does it go ? Is it deleted?

I have a server that computes a result and some client which subscribe only
to some groups of results.
currently the server doesnt manage a group of routing keys but just sends
each result to the Rabbitmq
Lets say 90 precesnt of the results will be listened to and will have
queues. the other 10% will disappear?
should I manange an active list of routing key in the server.

2. Upon producing two messages I get "attempt to use a closed channel" on
the second produced command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110330/f54e1d2d/attachment.htm>

Search Discussions

  • Emile Joubert at Mar 30, 2011 at 9:31 am

    On 30/03/11 09:02, mysurf mail wrote:
    I have two more questions regarding the rabbitmq mechanism
    1. if a message is produced with a routing key and no queue is bounded
    to that key. where does it go ? Is it deleted?
    By default unroutable messages are discarded. If the mandatory flag was
    set then the message will be returned using the basic.return method. You
    can receive these messages by registering a ReturnListener if using Java.

    Also look at alternate exchanges, which are another way of dealing with
    messages that cannot be routed, either because there were no bound
    queues or no matching bindings:

    http://www.rabbitmq.com/extensions.html#alternate-exchange
    2. Upon producing two messages I get "attempt to use a closed channel"
    on the second produced command.
    That means that an exception was raised by the server upon publication
    of the first message. Check that the exchange you are publishing to
    exists. The broker logfile should contain further information.


    Regards

    Emile

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedMar 30, '11 at 8:02a
activeMar 30, '11 at 9:31a
posts2
users2
websiterabbitmq.com
irc#rabbitmq

2 users in discussion

Emile Joubert: 1 post Mysurf mail: 1 post

People

Translate

site design / logo © 2023 Grokbase