Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] Looks like the delivery_mode=2 is missing #34685

Closed
@lyrixx

Description

@lyrixx

Description

I was working on an application that uses Swarrot and I notice it does not publish (by default) messages with delivery_mode=2.

It's very important to set this property if you don't want to loose messages.

Durable queue is not enough!
TL;DR:

  • Durable queue means the queue will be persisted after a crash (but content will be lost)
  • Message with delivery_mode=2 will be persisted after a crash

So I looked into the Messager component to be sure we did not make the same mistake.
And ... It looks like we made the same error. I did not deeply search for delivery_mode=2 but at the first glance I was not able to find it.

More over, it looks like it's not possible at all to to set the delivery_mode :/
EDIT: it looks like is possible

I'm not an expert of Messenger Component, this is why I'm opening this issue to be 100% sure we did not miss anything.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    MessengerRFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions