The sample from the URL: <a href="https://github.com/rabbitinaction/sourcecode/blob/master/configs/rabbitmq/rabbitmq.config.shovel">https://github.com/rabbitinaction/sourcecode/blob/master/configs/rabbitmq/rabbitmq.config.shovel</a><div>
<br></div><div><div>{rabbitmq_shovel,</div><div> [{shovels,</div><div> [{avocado_order_shovel,</div><div> [{sources, [</div><div> {broker, "amqp://guest:guest@ClientRabbit:5672"},</div><div> {declarations,</div>
<div> [{'queue.declare',[{queue, <<"backup_orders">>},durable]},</div><div> {'exchange.declare',[{exchange, <<"incoming_orders">>},{type, <<"direct">>}, durable]},</div>
<div> {'queue.bind',[{exchange, <<"incoming_orders">>},{queue, <<"backup_orders">>},{routing_key, <<"warehouse">>}]}</div><div> ]}</div>
<div> ]},</div><div> {destinations, [</div><div> {broker, "amqp://guest:guest@ServerRabbit:5672"},</div><div> {declarations,</div><div> [{'queue.declare',[{queue, <<"warehouse_carpinteria">>},durable]},</div>
<div> {'exchange.declare', [{exchange, <<"incoming_orders">>},{type, <<"direct">>}, durable]},</div><div> {'queue.bind',[{exchange, <<"incoming_orders">>},{queue, <<"warehouse_carpinteria">>},{routing_key, <<"warehouse">>}]}</div>
<div> ]}</div><div> ]},</div><div> {queue, <<"backup_orders">>},</div><div> {publish_properties, [{delivery_mode, 2}]},</div><div> {publish_fields, [{exchange, <<"incoming_orders">>},{routing_key, <<"warehouse">>}]},</div>
<div> {reconnect_delay, 5}</div><div> ]}</div><div> ]</div><div>}]</div><div>}</div></div><div><br></div><div>Is there any sample, the shovel exchange/queue/binding created using Java client library.</div><div><br>
</div>