You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using jackrabbit, there doesn't seem to be a way to bind a new queue to an existing exchange.
The only way to bind queues and exchanges there is:
rabbit.direct('bar').queue({name: 'foo'})
This is problematic, if the exchange that already exists in RabbitMQ has options (like durable) that don't match this, in which case this will throw an error.
In other libraries, you typically have the option to bind queues and exchanges only based on their name.
There doesn't seem to be a way to get jackrabbits queue object without going through an exchange object first.
The text was updated successfully, but these errors were encountered:
sezanzeb
changed the title
Creating a queue object without asserting and Exchange first
Creating a queue binding without asserting an Exchange first
Apr 17, 2024
sezanzeb
changed the title
Creating a queue binding without asserting an Exchange first
Creating a queue object without asserting an Exchange first
Apr 17, 2024
sezanzeb
changed the title
Creating a queue object without asserting an Exchange first
Creating a Queue object without asserting an Exchange first
Apr 17, 2024
Using jackrabbit, there doesn't seem to be a way to bind a new queue to an existing exchange.
The only way to bind queues and exchanges there is:
This is problematic, if the exchange that already exists in RabbitMQ has options (like
durable
) that don't match this, in which case this will throw an error.In other libraries, you typically have the option to bind queues and exchanges only based on their name.
In amqplib, there is bindQueue.
There doesn't seem to be a way to get jackrabbits queue object without going through an exchange object first.
The text was updated successfully, but these errors were encountered: