STOMP + SSL testing
See STOMP protocol here.
Edit activemq/conf/activemq.xml and add the following transport connectors:
Start activemq.
Connect from the command line:
For non SSL just
telnet localhost 61613
For SSL
openssl s_client -connect localhost:61614
Connect with (login/passcode is only required if AMQ configured for authentication):
CONNECT
accept-version:1.1
login:system
passcode:manager
host:localhost
^@
Edit activemq/conf/activemq.xml and add the following transport connectors:
Start activemq.
Connect from the command line:
For non SSL just
telnet localhost 61613
For SSL
openssl s_client -connect localhost:61614
Connect with (login/passcode is only required if AMQ configured for authentication):
CONNECT
accept-version:1.1
login:system
passcode:manager
host:localhost
^@
CONNECTED will be echo'd
Subscribe to one or more queues:
SUBSCRIBE
id:0
destination:/queue/someQueueName
ack:client
^@
Send a message:
SEND
destination:/queue/someQueueName
content-type:text/plain
hello queue a
^@
Should see the sent message echo'd
See the protocol for more
Comments