On 12/17/2014 01:15 PM, Wayna Runa wrote:
Thanks Nathan for your information.
I tried with:
destination.myDest1 = BURL:direct://ex_test1/rk_test1/
.. but I have not get to publish message in RabbitMQ queue.
When I use the below destinations, using *amq.direct* exchange (internal
and default exchanges in rabbitmq), I can publish messages in the queue
successfully.
destination.myDest2 = BURL:direct://amq.direct//q_test1
(publish msg w/ routingkey=q_test1)
destination.myDest3 =
BURL:direct://amq.direc/q_test1/q_test1 (publish
msg w/ routingkey=q_test1)
destination.myDest4 =
BURL:direct://amq.direc//q_test1?routingkey='rk_test1' (publish msg w/
routingkey=rk_test1)
destination.myDest5 = BURL:direct://amq.direct//?routingkey='rk_test1'
(publish msg w/ routingkey=rk_test1)
...but i would try with this custom preconfigured exchange (ex_test1).
any idea will be welcome.
regards.
Hi,
Setup a loop to send about 10 messages in about 10 seconds. Watch the
RabbitMQ management page. Do you see traffic coming into the exchange?
Any traffic out through any queues?
AMQP is rather odd in that an exchange does not hold messages. Queues
hold messages. So, if a message arrives at an exchange but there are no
queues bound with the matching routing key, it drops the message. For a
direct exchange, upon receiving a message with routing key that matches
a binding, the message is then stored in the queue.
Hope that helps,
Nathan
____
This email message is a private communication. The information transmitted,
including attachments, is intended only for the person or entity to which it is
addressed and may contain confidential, privileged, and/or proprietary
material. Any review, duplication, retransmission, distribution, or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is unauthorized by the sender and is
prohibited. If you have received this message in error, please contact the
sender immediately by return email and delete the original message from all
computer systems. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]