[ 
https://issues.apache.org/jira/browse/QPID-5407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843581#comment-13843581
 ] 

Rob Godfrey commented on QPID-5407:
-----------------------------------

The syntax you are trying to use is for the JMS client which speaks AMQP 0-9 
and 0-10.

The JMS client which speaks AMQP 1.0 does not support the "brokerlist" option.  
Instead the port you wish to connect to should immediately follow the hostname,

e.g.

"amqp://system:manager@localhost:61615/?max-sessions=10000"

> Qpid fails to connection on ports other than 5672
> -------------------------------------------------
>
>                 Key: QPID-5407
>                 URL: https://issues.apache.org/jira/browse/QPID-5407
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.25
>         Environment: Microsoft patched Qpid client qpid-amqp-1-0-r1547654
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
> Ubuntu linux 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 16:21:44 UTC 2013 
> x86_64 x86_64 x86_64 GNU/Linux
> Apache ActiveMQ 5.8.0
>            Reporter: Troy Collinsworth
>            Priority: Blocker
>              Labels: activemq, port, qpid, qpidclient
>
> Connections fail to connect when the url has a port other than 5672 even 
> though the AMQP port is configured and available via ActiveMQ broker. Works 
> with SwiftMQ. Also can see the RabbitMQ client try to connect but fail due to 
> AMQP version mismatch between supported 0.9.1 and 1.0.
> Works: 
> "amqp://system:manager@localhost/?brokerlist='tcp://localhost:5672'&max-sessions=10000"
> Fails: 
> "amqp://system:manager@localhost/?brokerlist='tcp://localhost:61615'&max-sessions=10000"
> Fails: 
> "amqp://system:manager@localhost/?brokerlist='tcp://localhost:5673'&max-sessions=10000"



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to