Open pdelanauze opened 11 years ago
the second way you specified is correct. Below should work if you ae is actually called unknown
amqp.exchange('transform', {
type:'topic',
durable:true,
arguments: {
'alternate-exchange': 'unknown'
}
}, function (exchange) {
I'll give it another shot but the second way did not work for me yesterday
Im using it in production and its working, are you using the npm version pulling from master here on the github? We're using master here.
I need to connect to an exchange requiring 'alternate-exchange': 'unknown', which i try and set in the options along the type: 'topic' option, but it doesn't seem to pick it up.
I'm seeing:
Here's how i setup my exchange:
Passing in the parameter in an arguments object like below does not work either ...