Thanks Simon.<br><br>I agree, it&#39;s odd. I&#39;ll keep an eye out for further clues if/when I see it again. I mostly wanted to know if there was something obvious to you folks. For instance (totally a stab in the dark here...) perhaps connections between federated brokers taking a long time to establish.<br>
<br>Matt<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 2:58 AM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That... certainly sounds very odd.<br>
<br>
So the &quot;unknown exchange type&quot; message is what you get when you declare an exchange using a plugin, and then remove that plugin.<br>
<br>
So could the exchange type be getting registered slowly somehow? Hard to believe, the registration happens during startup, and RabbitMQ shouldn&#39;t be able to get to the point where it&#39;s accepting connections without all exchange types being registered.<br>

<br>
I&#39;ll have a look at that code in case anything jumps out, but it&#39;s pretty simple so don&#39;t hold your breath...<br>
<br>
Cheers, Simon<div class="im"><br>
<br>
On 05/09/2012 7:27PM, Matt Pietrek wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Let me admit up front that this is a weird one, but I&#39;ll press ahead on<br>
the chance there&#39;s something there.<br>
<br>
I&#39;ve got two brokers I&#39;m using the federation plugin with. I create a<br>
single exchange &#39;skytap&#39; on each broker, and make the &#39;skytap&#39; exchange<br>
on the other broker its upstream.<br>
<br>
I create the rabbitmq.config file dynamically before starting each<br>
broker. Starting from a blank slate (blowing away the mnesia directory),<br>
I launch the two nodes concurrently.<br>
<br>
When I go to the Exchange tab in either broker, I see two Exchanges as<br>
expected:<br>
<br></div>
� * federation: skytap -&gt; <a href="mailto:rabbit@mq2.skytap.com" target="_blank">rabbit@mq2.skytap.com</a><br>
� � &lt;mailto:<a href="mailto:rabbit@mq2.skytap.com" target="_blank">rabbit@mq2.skytap.com</a>&gt; B<br>
� * skytap<div class="im"><br>
<br>
<br>
The type of the exchanges is x-federation-upstream and x-federation,<br>
respectively. However, when first starting up, the type column is a red<br>
color indicating a problem, and hovering over it, I get a message to the<br>
effect of &quot;unknown exchange type x-federation. Messages published to<br>
this exchange won&#39;t work.&quot;<br>
<br></div>
Now, here&#39;s the interesting thing: I*f I wait long enough (usually<br>
around 10-15 minutes) **and without doing anything, the error state<br>
eventually goes away* and the Exchanges seem happy. This has happened at<div class="im"><br>
least three times, so it doesn&#39;t seem like a random fluke or that I<br>
accidentally did something.<br>
<br>
Here&#39;s my config file, FWIW...<br>
<br>
[<br>
{rabbit, [{cluster_nodes, [rabbit@mq1]}, {disk_free_limit, 104857600}]},<br>
{mnesia, [{debug, trace}]},<br>
{rabbitmq_federation, [{exchanges, [[{type, &quot;topic&quot;}, {upstream_set,<br>
&quot;skytap_upstreams&quot;}, {virtual_host, &quot;/&quot;}, {exchange, &quot;skytap&quot;}]]},<br>
{upstream_sets, [{&quot;skytap_upstreams&quot;, [[{connection, &quot;upstream-mq2&quot;},<br>
{max_hops, 1}, {exchange, &quot;skytap&quot;}]]}]},<br>
{connections, [{&quot;upstream-mq2&quot;, [{host, &quot;mq2&quot;}, {port, 5672}]}]}]}<br>
].<br>
<br>
Again, I realize this sounds a bit wonky, but it&#39;s happened enough times<br>
to make me not think I&#39;m crazy.<br>
<br>
Thanks,<br>
<br>
Matt<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br>
</blockquote>
</blockquote></div><br>