<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am new to the list and RabbitMQ in general, so I hope this is not a stupid question, but I have seen some behavior that is strange to me when using the RabbitMQ shovel plugin.&nbsp; I am using RabbitMQ v 2.7.1 running on Centos 6.0.&nbsp; I have
 three machines in my setup.&nbsp; Machines A and B are both clustered together.&nbsp; Machine C is not part of the cluster.&nbsp; It has the shovel plugin installed.&nbsp; The plugin is set up to shovel messages from a durable queue on Machine C to a durable queue on Machine
 A.&nbsp; In case it helps, my /etc/rabbitmq/rabbitmq.conf file looks like this:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">[{rabbitmq_shovel,<o:p></o:p></p>
<p class="MsoNormal">&nbsp; [{shovels,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; [{myShovel,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{sources,&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;[{broker,&quot;amqp://MachineC&quot;}]},<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {destinations, [{broker, &quot;amqp://MachineA&quot;}]},<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {queue, &lt;&lt;&quot;myQueue&quot;&gt;&gt;},<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ack_mode, on_confirm},<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {publish_properties, [{delivery_mode, 2}]},<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {reconnect_delay, 5}<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; }]<o:p></o:p></p>
<p class="MsoNormal">&nbsp;}]<o:p></o:p></p>
<p class="MsoNormal">}].<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">With this configuration, everything seems to work fine.&nbsp; When I send messages to the queue on Machine C, they are shoveled automatically out to A.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">So here is the weird behavior I mentioned earlier&#8230;&nbsp; If I shut down the RabbitMQ service on Machine A, messages stack up in the durable queue on Machine C. &nbsp;This is expected since Machine A is down.&nbsp; However, if I then restart the RabbitMQ
 service on Machine C, all of the messages waiting in the durable queue get nuked.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Has anyone else seen this behavior?&nbsp; Do I have a setting wrong or is there something else I can change so that this doesn&#8217;t happen?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks in advance for your help!<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Sean<o:p></o:p></p>
</div>
<br clear=all> 
</body>
</html>