[
https://issues.apache.org/jira/browse/AMQ-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dejan Bosanac resolved AMQ-3918.
--------------------------------
Resolution: Fixed
Implemented with svn revision 1359194. I also refactored web based transports
(http, ws) to provide their host:port information correctly.
> Expose transport connector URIs in uniform fashion
> --------------------------------------------------
>
> Key: AMQ-3918
> URL: https://issues.apache.org/jira/browse/AMQ-3918
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.6.0
> Reporter: Dejan Bosanac
> Assignee: Dejan Bosanac
> Fix For: 5.7.0
>
>
> Right now we have JMX methods like getOpenWireURL() for getting addresses of
> transport connectors. This API is not particularly nice and doesn't scale
> well when new transports are added.
> So we should deprecate these methods and introduce new ones:
> * Map<String, String> getTransportConnectors() - that returns all connectors
> with name as a key
> * public String getTransportConnectorByType(String type) - that returns a
> connector address for a certain prefix/type (like tcp, stomp, ws and such)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira