qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Vavricka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPIDJMS-113) Broker URI options ignored when failover enabled
Date Mon, 21 Sep 2015 14:06:04 GMT
Tomas Vavricka created QPIDJMS-113:
--------------------------------------

             Summary: Broker URI options ignored when failover enabled
                 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, 0.6.0
         Environment: Java 1.7
            Reporter: Tomas Vavricka


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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message