forked from zmalltalker/stomp
-
Notifications
You must be signed in to change notification settings - Fork 80
Test confamq
Guy M. Allard edited this page May 19, 2013
·
3 revisions
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
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 and SSL operations by providing an appropriate transportConnector in $ACTIVEMQ_HOME/conf/activemq.xml.
You have two choices:
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.
Use this in configuration:
<transportConnector name="stomp+ssl"
uri="stomp+ssl://0.0.0.0:61612?trace=true&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.
Check AMQ logs for any errors.