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

Allow customizing client-properties #107

Merged
merged 2 commits into from Aug 11, 2020

Conversation

glenjamin
Copy link

As discussed, fixes #105

:connection-name can now be used to name connections.

:update-client-properties allows clients to read and modify the default client-properties, this one i'm less sure about - the API is arguably a little bit odd, but it does provide the most flexibility.

(is (rmq/open? conn))
(await-event-propagation)
(let [conns (mgmt/list-connections)]
(is (= 1 (count conns)))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test passes in isolation but not when lein test is run. We should close all other connections if (the HTTP API client can do it) if we want to assert on a single connection.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh whoops, I'd fixed this locally shortly after opening the PR, but forgotten to update before I went out.

@michaelklishin michaelklishin merged commit 1188c2c into michaelklishin:master Aug 11, 2020
@michaelklishin
Copy link
Owner

Thank you!

@michaelklishin
Copy link
Owner

5.2.0 is up on Clojars. Thank you for contributing!

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.

Allow customizing client-properties?
2 participants