Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

creating own queue fails #6

@dynnamitt

Description

@dynnamitt

I get this stacktrace if I follow sample in "Creating your own queue"

Error: Unmatched field {"name":"exchange","domain":"shortstr"}
  at Object.module.exports.serializeFields (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/serializer.js:297:19)
  at Connection._sendMethod (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/connection.js:850:14)
  at Exchange._onMethod (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/exchange.js:94:25)
  at Exchange.Channel._onChannelMethod (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/channel.js:85:12)
  at Connection._onMethod (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/connection.js:454:28)
  at AMQPParser.self.parser.onMethod (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/connection.js:136:12)
  at AMQPParser._parseMethodFrame (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/parser.js:377:10)
  at frameEnd (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/parser.js:94:16)
  at frame (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/parser.js:79:14)
  at AMQPParser.header [as parse] (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/parser.js:65:14)
  at AMQPParser.execute (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/parser.js:138:21)
  at Connection.<anonymous> (/home/kfm/code/ds3g/gitlab-workers/node_modules/amqp/lib/connection.js:174:21)
  at emitOne (events.js:77:13)
  at Connection.emit (events.js:169:7)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:110:10)
  at TCP.onread (net.js:523:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions