Closed neuhaus closed 7 years ago
Care to send a pull request for this?
Given that getAdresses tries to use ConnectionOptions host value first and then falls back to factory.getHost this seems to be easy.
Actually I noticed that I will need something like setURIs()
which is not so easy currently: It is mandatory that only the host changes among the URIs, not the port, virtualhost etc.
Please let me know what you think. I will not actually use this, I will use withHosts()
myself.
Added pull request #70
This looks good - thanks!
Feature request:
The rabbitmq java client supports
factory.setUri()
, in order to switch to lyra I have to add quite a bit of extra code because it doesn't support URIs.Please add support for URIs to ConnectionOptions