[
https://issues.apache.org/jira/browse/AMQ-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630387#comment-14630387
]
Christopher L. Shannon commented on AMQ-5889:
---------------------------------------------
Actually, instead of using "auto" it may make the configuration easier to just
keep the existing names such as:
{noformat}
<transportConnectors>
<transportConnector name="tcp" uri="tcp://0.0.0.0:61616"/>
<transportConnector name="nio" uri="nio://0.0.0.0:61617"/>
<transportConnector name="tcp+ssl" uri="tcp+ssl://0.0.0.0:61618"/>
<transportConnector name="nio+ssl" uri="nio+ssl://0.0.0.0:61619"/>
</transportConnectors>
{noformat}
and switch those connectors from just OpenWire to automatically supporting
other protocols. A URL parameter could be used to configure exactly which
protocols to use if someone doesn't want to enable all of them, this is what
Artemis does. Something like:
{noformat}
<transportConnectors>
<transportConnector name="tcp"
uri="tcp://0.0.0.0:61616?protocols=OpenWire,AMQP"/>
</transportConnectors>
{noformat}
> Support a single port for all wire protocols
> --------------------------------------------
>
> Key: AMQ-5889
> URL: https://issues.apache.org/jira/browse/AMQ-5889
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Affects Versions: 5.11.1
> Reporter: Christopher L. Shannon
>
> Both Apollo and Artemis support the ability to use a single port for all
> protocols and to have automatic detection for the protocol being used. It
> would be nice to be able to support at least a subset of this feature in the
> 5.x broker as well.
> Ideally we should at least be able to detect OpenWire, MQTT, STOMP, and AMQP
> over a TCP, SSL, and NIO transport. Websockets and HTTP would be a bonus but
> could be more difficult to implement depending on how this could work with
> Jetty so that would take some investigation.
> This is especially useful in environments where having to open up several new
> ports can be difficult because of firewall and security restrictions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)