diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-10-02 15:47:05 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-10-02 15:47:05 +0100 |
commit | 8fa54c3ada9349f32397017a1fede03a28a20424 (patch) | |
tree | ef60718a2ed9787b4506175d51402fdf661a516a | |
parent | ec107f9c0b823d9d616d4298d1db5a6d1a319bc7 (diff) | |
download | rabbitmq-server-8fa54c3ada9349f32397017a1fede03a28a20424.tar.gz |
Move up the publish_fields and show an example of using that to control where the message goes, that confused me for a moment...
-rw-r--r-- | docs/rabbitmq.config.example | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index 9fc607a5..00aef8d9 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -321,13 +321,14 @@ %% %% {ack_mode, on_confirm}, - %% Static list of basic.properties to set on re-publication. + %% Overwrite fields of the outbound basic.publish. %% - %% {publish_properties, [{delivery_mode, 2}]}, + %% {publish_fields, [{exchange, <<"my_exchange">>}, + %% {routing_key, <<"from_shovel">>}]}, - %% Overwrite fields of the outbound basic.publish. + %% Static list of basic.properties to set on re-publication. %% - %% {publish_fields, []}, + %% {publish_properties, [{delivery_mode, 2}]}, %% The number of seconds to wait before attempting to %% reconnect in the event of a connection failure. |