Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Consider adding an option to Sender.send to reuse the channel #163

@a701440

Description

@a701440

Currently Sender.send creates a new channel and closes the channel at the end.

When sending multiple messages this can be worked around by implementing a publisher and pushing new send operations into the publisher, etc. It's a bit awkward for simple uses cases.

I would look at the possibility to use and existing Sender channel (Mono) and not closing it.

I know there is also an option of setting the channelCloseHandler.

Also there seems to be a discrepancy where send operations use the channelCloseHandler, but operations like declareQueue do not use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions