Anyone successfully using the x-random exchange in 2.7.1? Upgraded and
installed the random exchange from Github, but when I try to declare such
an exchange via the management UI I get:

** Generic server <0.16679.0> terminating
** Last message in was {'$gen_cast',

** Reason for termination ==
** {{error,{undef,[{rabbit_exchange_type_random,serialise_events,[]},

The startup_log shows the plugin is active:

Activating RabbitMQ plugins ...
12 plugins activated:
* random_exchange-0.1.0
starting exchange type random

I noticed that the current code in Github pulls rabbitmq_commons from
2.7.0, not 2.7.1. Possible cause?

Node has hipe_compile set to true, FYI.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

Search Discussions

  • Elias Levy at Feb 2, 2012 at 9:33 pm

    On Thu, Feb 2, 2012 at 4:14 PM, Elias Levy wrote:

    ** Reason for termination ==
    ** {{error,{undef,[{rabbit_exchange_type_random,serialise_events,[]},
    Figured the serialize_events function was missing from the exchange module.
    Since the function is as simple as it gets and its the same on all of the
    official exchanges, adding it to the random exchange got it working.

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
postedFeb 2, '12 at 9:14p
activeFeb 2, '12 at 9:33p

1 user in discussion

Elias Levy: 2 posts



site design / logo © 2022 Grokbase