[ 
https://issues.apache.org/jira/browse/AMQ-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish closed AMQ-6766.
-----------------------------
    Resolution: Not A Problem

All the transport types require and explicit port definition, this is by design 
as the user should be aware of what they are connecting to, none of the 
transport types assume a default port.  It's rather unlikely that an ActiveMQ 
broker will be sitting on the default HTTP port on most systems in any case.  

> HttpsClientTransport broken when port isn't explicitly included in the broker 
> url
> ---------------------------------------------------------------------------------
>
>                 Key: AMQ-6766
>                 URL: https://issues.apache.org/jira/browse/AMQ-6766
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.14.3
>            Reporter: Harmen Renkema
>
> In the HttpsClientTransport in the createSchemeRegistry method on line 51 a 
> new Scheme is instantiated. The port fed to the constructor of Scheme is 
> gotten from the remoteUrl URI, which will be set to -1 if the port wasn't 
> explicitly included in the broker url.
> The code should be able to deal with this scenario. For instance fallback to 
> 443 when the port on the URI is undefined.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to