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

Robbie Gemmell updated QPIDJMS-113:
-----------------------------------
    Summary: update URI option documentation to be clearer and fix misleading 
section  (was: Broker URI options ignored when failover enabled)

> update URI option documentation to be clearer and fix misleading section
> ------------------------------------------------------------------------
>
>                 Key: QPIDJMS-113
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-113
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.5.0
>         Environment: Java 1.7
>            Reporter: Tomas Vavricka
>              Labels: connectionfactory
>             Fix For: 0.6.0
>
>
> When connection string is for example: 
> {{failover:(amqp://server:21415?amqp.idleTimeout=0&jms.username=admin&jms.password=admin&amqp.saslMechanisms=PLAIN&jms.forceAsyncSend=false&jms.alwaysSyncSend=true&jms.sendAcksAsync=false)?failover.maxReconnectAttempts=5&failover.reconnectDelay=60000}}
> URI options _jms.admin_, _jms.password_, _amqp.saslMechanisms_ (possibly all 
> of them) are ignored and set to '_null_' in class _JmsConnectionFactory_. 
> Because of that client fails to connect to broker with message (client 
> immediately tries to reconnect with same result):
> {{2015-09-21 15:52:23 +0200 INFO org.apache.qpid.jms.sasl.SaslMechanismFinder 
> - Best match for SASL auth was: null}}
> {{2015-09-21 15:52:23 +0200 INFO org.apache.qpid.jms.sasl.SaslMechanismFinder 
> - Best match for SASL auth was: null}}
> {{2015-09-21 15:52:23 +0200 INFO org.apache.qpid.jms.sasl.SaslMechanismFinder 
> - Best match for SASL auth was: null}}
> {{2015-09-21 15:52:23 +0200 INFO org.apache.qpid.jms.sasl.SaslMechanismFinder 
> - Best match for SASL auth was: null}}
> {{...}}
> When I use connection string without failover everything goes as is expected. 
> Working connection string below:
> {{connectionfactory.connection=amqp://server:21415?amqp.idleTimeout=0&jms.username=admin&jms.password=admin&jms.forceAsyncSend=false&jms.alwaysSyncSend=true&jms.sendAcksAsync=false}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to