[rabbitmq-discuss] Shovel breaking: Was there a change in shovel config from 3.0.4 to 3.1.5?
Jason McIntosh
mcintoshj at gmail.com
Thu Sep 5 17:10:34 BST 2013
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 .
Anyone see anything wrong?
Thanks!
Jason
[
{rabbit, [ {vm_memory_high_watermark, 0.6}, {hipe_compile, false} ]},
{rabbitmq_shovel,[{shovels, [ { service.unknown.errors, [
{sources, [{broker, "amqp://username:password@/vhost"}]
}
, {destinations, [{broker,
"amqp://username:password@destinationserver/vhost"}] }
, {queue, <<"service.unknown.errors">>}
, {prefetch_count, 15}
, {publish_properties, [
{delivery_mode, 2}
, {headers,
[{<<"source">>,longstr,<<"originatinghost">>}] }
]}
, {reconnect_delay, 5}
] },
{ prod.service.activity, [
{sources, [{broker, "amqp://username:password@/vhost"}]
}
, {destinations, [{broker,
"amqp://username:password@destinationserver/vhost"}] }
, {queue, <<"prod.service.activity">>}
, {prefetch_count, 15}
, {publish_properties, [
{delivery_mode, 2}
, {headers,
[{<<"source">>,longstr,<<"originatinghost">>}] }
]}
, {reconnect_delay, 5}
] },
{ prod.service.activity.errors, [
{sources, [{broker, "amqp://username:password@/vhost"}]
}
, {destinations, [{broker,
"amqp://username:password@destinationserver/vhost"}] }
, {queue, <<"prod.service.activity.errors">>}
, {prefetch_count, 15}
, {publish_properties, [
{delivery_mode, 2}
, {headers,
[{<<"source">>,longstr,<<"originatinghost">>}] }
]}
, {reconnect_delay, 5}
] },
{ monitoring.service.activity, [
{sources, [{broker, "amqp://username:password@/vhost"}]
}
, {destinations, [{broker,
"amqp://username:password@destinationserver/vhost"}] }
, {queue, <<"monitoring.service.activity">>}
, {prefetch_count, 15}
, {publish_properties, [
{delivery_mode, 2}
, {headers,
[{<<"source">>,longstr,<<"originatinghost">>}] }
]}
, {reconnect_delay, 5}
] },
{ monitoring.service.activity.errors, [
{sources, [{broker, "amqp://username:password@/vhost"}]
}
, {destinations, [{broker,
"amqp://username:password@destinationserver/vhost"}] }
, {queue, <<"monitoring.service.activity.errors">>}
, {prefetch_count, 15}
, {publish_properties, [
{delivery_mode, 2}
, {headers,
[{<<"source">>,longstr,<<"originatinghost">>}] }
]}
, {reconnect_delay, 5}
] }]}]}
].
--
Jason McIntosh
http://mcintosh.poetshome.com/blog/
573-424-7612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130905/6057d317/attachment.htm>
More information about the rabbitmq-discuss
mailing list