[
https://issues.apache.org/jira/browse/QPIDJMS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906138#comment-14906138
]
ASF subversion and git services commented on QPIDJMS-113:
---------------------------------------------------------
Commit 1705023 from [~gemmellr]
[ https://svn.apache.org/r1705023 ]
QPIDJMS-113: apply recent doc changes to the 0.5.0 docs on the website
> 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: Improvement
> Components: qpid-jms-client
> Affects Versions: 0.5.0
> Environment: Java 1.7
> Reporter: Tomas Vavricka
> Assignee: Robbie Gemmell
> 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: [email protected]
For additional commands, e-mail: [email protected]