Skip to content

Conversation

acogoluegnes
Copy link
Contributor

Introduces 2 methods in Connection to return a newly-opened channel wrapped in an Optional. They're implemented as default interface methods, because we can come up with a reasonable default behavior (just calling Connection#createChannel and wrapping the result). So this can go in 5.x, not only 6.0.

Fixes #431

@michaelklishin michaelklishin merged commit c1f400e into master Dec 17, 2018
@acogoluegnes acogoluegnes deleted the rabbitmq-java-client-431-create-channel-with-optional branch March 21, 2019 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants