<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                                OL, UL{margin-Top: 0px; margin-Bottom: 0px}                                p{margin-Top:0em; margin-Bottom:0px; padding:0px;}                                 body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.17720"><BASE
target=_blank></HEAD>
<BODY
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>Thanks,
Simon.</FONT></DIV>
<DIV>If I want two non-mirrored queues and each of them is
in different nodes, I can create two connections and
declare them separately, is that right? Or does have any other
convenient way to do this work in the cluster?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-03-08</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>chen-hongqin</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>On 08/03/12 04:07, Techq wrote: </DIV>
<DIV>> hi, may be it is a simple question, but it puzzled me a lot. I am </DIV>
<DIV>> setting up a RabbitMQ Cluster. My question is can i declare a exchange </DIV>
<DIV>> which mapping to different nodes? In my case, there are several nodes, </DIV>
<DIV>> like a@rabbit, b@rabbit, c@rabbit, and now i declare two queues which </DIV>
<DIV>> bind with an exchange(just in the same Channel), so can these two </DIV>
<DIV>> queues be in different nodes? </DIV>
<DIV> </DIV>
<DIV>I'm not sure I understand your question, but: </DIV>
<DIV> </DIV>
<DIV>* Exchanges live on all nodes by definition </DIV>
<DIV>* Non-mirrored queues live on the node on which they were first declared </DIV>
<DIV>* Mirrored queues live on whichever nodes their mirroring policy implies </DIV>
<DIV>* Therefore declaring two non-mirrored queues on the same channel will </DIV>
<DIV>put them on the same node </DIV>
<DIV> </DIV>
<DIV>Cheers, Simon </DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Simon MacMullen </DIV>
<DIV>RabbitMQ, VMware </DIV></FONT></DIV></BODY></HTML>