<div dir="ltr">I have the exact same configuration of shovel that i used in 3.0.4 and tried to use it in 3.1.5 and I get syntax errors now. Did something change in 3.1.5? Below is the config file I'm using that fails (this same config file works perfectly fine on a 3.0.4 server). I've looked at this and looked at this, and can't see anything wrong or that doesn't match the documentation. As soon as I remove the shovel configuration section, the server starts fine. I get a crash message saying an invalid configuration (4) before the .<div>
<div style>Anyone see anything wrong?<br>Thanks!<br>Jason</div><div><br></div><div><div>[</div><div><br></div><div> {rabbit, [ {vm_memory_high_watermark, 0.6}, {hipe_compile, false} ]},</div><div> {rabbitmq_shovel,[{shovels, [ { service.unknown.errors, [</div>
<div> {sources, [{broker, "amqp://username:password@/vhost"}] }</div><div> , {destinations, [{broker, "amqp://username:password@destinationserver/vhost"}] }</div><div>
, {queue, <<"service.unknown.errors">>}</div><div> , {prefetch_count, 15}</div><div> , {publish_properties, [</div><div> {delivery_mode, 2}</div>
<div> , {headers, [{<<"source">>,longstr,<<"originatinghost">>}] }</div><div> ]}</div><div> , {reconnect_delay, 5}</div>
<div> ] },</div><div> { prod.service.activity, [</div><div> {sources, [{broker, "amqp://username:password@/vhost"}] }</div><div> , {destinations, [{broker, "amqp://username:password@destinationserver/vhost"}] }</div>
<div> , {queue, <<"prod.service.activity">>}</div><div> , {prefetch_count, 15}</div><div> , {publish_properties, [</div><div> {delivery_mode, 2}</div>
<div> , {headers, [{<<"source">>,longstr,<<"originatinghost">>}] }</div><div> ]}</div><div> , {reconnect_delay, 5}</div>
<div> ] },</div><div> { prod.service.activity.errors, [</div><div> {sources, [{broker, "amqp://username:password@/vhost"}] }</div><div> , {destinations, [{broker, "amqp://username:password@destinationserver/vhost"}] }</div>
<div> , {queue, <<"prod.service.activity.errors">>}</div><div> , {prefetch_count, 15}</div><div> , {publish_properties, [</div><div> {delivery_mode, 2}</div>
<div> , {headers, [{<<"source">>,longstr,<<"originatinghost">>}] }</div><div> ]}</div><div> , {reconnect_delay, 5}</div>
<div> ] },</div><div> { monitoring.service.activity, [</div><div> {sources, [{broker, "amqp://username:password@/vhost"}] }</div><div> , {destinations, [{broker, "amqp://username:password@destinationserver/vhost"}] }</div>
<div> , {queue, <<"monitoring.service.activity">>}</div><div> , {prefetch_count, 15}</div><div> , {publish_properties, [</div><div> {delivery_mode, 2}</div>
<div> , {headers, [{<<"source">>,longstr,<<"originatinghost">>}] }</div><div> ]}</div><div> , {reconnect_delay, 5}</div>
<div> ] },</div><div> { monitoring.service.activity.errors, [</div><div> {sources, [{broker, "amqp://username:password@/vhost"}] }</div><div> , {destinations, [{broker, "amqp://username:password@destinationserver/vhost"}] }</div>
<div> , {queue, <<"monitoring.service.activity.errors">>}</div><div> , {prefetch_count, 15}</div><div> , {publish_properties, [</div><div> {delivery_mode, 2}</div>
<div> , {headers, [{<<"source">>,longstr,<<"originatinghost">>}] }</div><div> ]}</div><div> , {reconnect_delay, 5}</div>
<div> ] }]}]}</div><div>].</div></div><div><br></div><div><div><br></div><div><br></div>-- <br>Jason McIntosh<br><a href="http://mcintosh.poetshome.com/blog/">http://mcintosh.poetshome.com/blog/</a><br>573-424-7612
</div></div></div>