Skip to content

Error connecting to an exchange #435

Open

Description

@random0000

Environment: I am using the bunyan-logstash-amqp plugin that uses the amqp plugin

In the node amqp exchange.js code there is a field called auto_delete (note the "_"). Later on in the code there is a check in serializer.js that compares the fields with args passed in. If the strict flag is true (which it is in this case in connection.js, line 847) then it tries to find autoDelete in args which only has auto_Delete in it. This is regardless of whether or not the field is specified in the exchange properties field. An error ends up being thrown in serializer.js, line 235 which causes the connection to fail.

If I change the strict flag to false on line 847, the connection works.

Any ideas? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions