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 | fb22bdbb894cec6d23cb293a9eb0b51cee347653 (patch) | |
| tree | ef60718a2ed9787b4506175d51402fdf661a516a /docs | |
| parent | 011b7942ce1f172fe71a2d11b8b2a8e8905aa9a4 (diff) | |
| download | rabbitmq-server-git-fb22bdbb894cec6d23cb293a9eb0b51cee347653.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...
Diffstat (limited to 'docs')
| -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 9fc607a55b..00aef8d954 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. |
