Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
a701440 opened this issue Aug 4, 2021 · 0 comments
Open

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

a701440 opened this issue Aug 4, 2021 · 0 comments
Labels
type/enhancement A general enhancement

Comments

@a701440
Copy link

a701440 commented Aug 4, 2021

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.

@acogoluegnes acogoluegnes added the type/enhancement A general enhancement label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants