Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1320

AMQP SSL configuration doesn't work outside failover protocol parentheses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.3.0.GA
    • qpid-jms
    • None
    • Hide

      Just replicate the configuration to all URLs listed inside the parentheses

      Show
      Just replicate the configuration to all URLs listed inside the parentheses

    Description

      The broker scenario:

      • Master / Slave broker configuration;
      • A SSL TLS-2 configuration in the AMQP acceptor in both servers. Both servers uses the same keystore and the same truststore.

      The issue is that the SSL configuration in the client AMQP application doesn't work outside the failover parentheses. For example, it'll not work if I configure the connection URL like this:

      failover:(amqps://master-broker:5673,amqps://slave-broker:5673)?transport.trustStoreLocation=...&transport.keyStoreLocation=...&...

      With the above configuration, the client will fail to connect to the slave broker.

      The only way to make it work is to replicate the configuration inside the parentheses for the both servers:

      failover:(amqps://master-broker:5673?transport.trustStoreLocation=...&transport.keyStoreLocation=...&...,amqps://slave-broker:5673?transport.trustStoreLocation=...&transport.keyStoreLocation=...&...)

      Attachments

        Activity

          People

            crolke@redhat.com Chuck Rolke (Inactive)
            Asouza@redhat.com Angelo Souza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: