Skip to content
Guy M. Allard edited this page May 19, 2013 · 3 revisions

Configure Active MQ

Prepare AMQ Truststore

If you have changed the default name of the AMQ truststore, modify the following rename accordingly.

  • Copy the file amqt3.ts to $ACTIVEMQ_HOME/conf
  • Rename (or symlink) file amqt3.ts to broker.ts

Prepare AMQ Keystore

If you have changed the default name of the AMQ keystore, modify the following rename accordingly.

  • Copy the file amqt3.ks to $ACTIVEMQ_HOME/conf
  • Rename (or symlink) file amqt3.ks to broker.ks

Configure AMQ for STOMP Operations

Configure AMQ for STOMP and SSL operations by providing an appropriate transportConnector in $ACTIVEMQ_HOME/conf/activemq.xml.

You have two choices:

AMQ is configured to not demand client certificates

Use this in configuration:

<transportConnector name="stomp+ssl" 
    uri="stomp+ssl://0.0.0.0:61612?trace=true"/>

With this configuration, the client should be able to use any of the four SSL Use Cases when connecting.

AMQ is configured to demand client certificates

Use this in configuration:

<transportConnector name="stomp+ssl" 
    uri="stomp+ssl://0.0.0.0:61612?trace=true&amp;needClientAuth=true"/>

With this configuration, the client must use only Use Case 3 or 4 when connecting. Attempts to use Use Case 1 or 2 should fail.

Restart AMQ

Check AMQ logs for any errors.