Dynamic Routing Architecture

Posted by anandknr on 06-Oct-2011 07:14

Where do I define a router::queue while uing Dynamic Routing architecture.

All Replies

Posted by cwiseman on 07-Oct-2011 13:34

Anand, if I understand your question, you define the routing definitions at the broker and/or cluster level properties.

Posted by anandknr on 10-Oct-2011 01:47

Many thanx for the advise... could you clarify my below query too..

Under a broker,

Should the destination  name(router::queue) be defined as the node name in Router definition

                                                  or

Should I add a new queue and give router::queue as destination name for  the queue.

Posted by kermit11 on 10-Oct-2011 01:59

--------

Posted by sfritz on 10-Oct-2011 02:00

broker1/node1 broker2/node2

You define a node name for the broker/cluster e.g. node1 and node2.

You create a queue on the broker/cluster e.g. q1 on broker1.

then you define a DRA connection between the 2 nodes.

When you then want to send a message from a client that is connected to broker2 you have to send the message to node1::q1

When you then want to send a message from a client that is connected to broker1 you have to send the message to q1 (node1::q1 will wokr as well)

Take a look at the confiugre and manage guide and the deployment guide of SonicMQ

hth

Stefan

This thread is closed