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
I've also tried to use deliveryMode: 2; but unfortunately this had the same result. Both messages (the sent and published ones) targeted the same, durable queue.
The text was updated successfully, but these errors were encountered:
Context
I took note of issue 84 and the relevant pull request.
What are you trying to achieve or the steps to reproduce ?
I'm trying to send a message directly to the queue and make it persistent. See the following code fragment:
const sendOptions = { persistent: true };
this.bunnyBus.send(message, queueName, sendOptions)
What result did you expect ?
I expected the created message to be persistent.
What result did you observe ?
The message was created, but not persistent according to RabbitMQ. However, the following fragment of code did work as expected:
const publishOptions = { persistent: true };
this.bunnyBus.publish(message, publishOptions)
I've also tried to use deliveryMode: 2; but unfortunately this had the same result. Both messages (the sent and published ones) targeted the same, durable queue.
The text was updated successfully, but these errors were encountered: