[rabbitmq-discuss] Creating an upstream set in 3.0...

David Buckingham david.buckingham at gmail.com
Tue Nov 20 21:49:39 GMT 2012


Got it!  Thanks!

> rabbitmqctl.bat set_parameter outbound "[{\"upstream\":\"MYCOMPUTER\"}]"


On Tue, Nov 20, 2012 at 4:33 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:

> David,
>
> On 20/11/12 21:17, David Buckingham wrote:
>
>>  > rabbitmqctl.bat set_parameter outbound '[{"upstream":"MYCOMPUTER"}]'
>> Setting runtime parameter "outbound" for component
>> "federation-upstream-set" to "'[{upstream:MYCOMPUTER}]'" ...
>> Error: JSON decoding error
>>
>
> That looks like a Windows shell quoting/escaping issue. Those single
> quotes shown in the "Setting ..." message shouldn't be there.
>
> You could try dropping the single quotes on the input, though my .bat
> knowledge doesn't go far enough to know whether that will work or some
> other escaping magic is required.
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121120/fa4fd20b/attachment.htm>


More information about the rabbitmq-discuss mailing list