[rabbitmq-discuss] What is internal parameter of exchange.declare for?

Alexandru Scvorţov alexandru at rabbitmq.com
Sat Mar 5 01:07:23 GMT 2011


Hi,

The first hint is in rabbitmqctl's manpage:
  http://www.rabbitmq.com/man/rabbitmqctl.1.man.html

  ``internal
    Whether the exchange is internal, i.e. cannot be directly published to
    by a client.''

Which raises the question, ``Why on earth would you have an exchange
that cannot be published to?''.  The answer is exchange-to-exchange
bindings:
  http://www.rabbitmq.com/extensions.html#exchange-bindings

And here's the blogpost that sheds a little more light on the subject:
  http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/

Hope this helps.

Cheers,
Alex

On Sat, Mar 05, 2011 at 03:52:52AM +0300, Michael Klishin wrote:
> Hi,
> 
> In amqp-rabbitmq-0.9.1.json file used by code generator I see that
> exchange.declare has internal parameter:
> 
> {"type": "bit", "name": "internal", "default-value": false}
> 
> and it does, indeed, appear in Erlang framing code. AMQP 0.9.1 protocol
> documentation [1] simply mentions 3 reserved parameters
> without saying anything about them (even domain is not specified).
> 
> As far as I understand, this is something implementation-specific. Can
> someone from RabbitMQ team shed some light
> on this parameter?
> 
> Thank you.
> 
> [1] http://bit.ly/htCzCX
> 
> -- 
> MK

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list