activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R.I.Pienaar (JIRA)" <>
Subject [jira] [Created] (AMQ-3897) Stomp 1.1 keep alive does not work with stomp+nio
Date Fri, 22 Jun 2012 20:19:42 GMT
R.I.Pienaar created AMQ-3897:

             Summary: Stomp 1.1 keep alive does not work with stomp+nio
                 Key: AMQ-3897
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, stomp
    Affects Versions: 5.6.0
         Environment: centos 6, OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
            Reporter: R.I.Pienaar

using the transport:

   <transportConnector name="stomp+nio" uri="stomp+nio://"/>

When connecting a stomp 1.1 client I see this using tcpdump:

CONNECT,30000.content-type:text/plain; charset=UTF-8.login:rip.accept-version:1.1,1.0...

Notice that I send the heart-beat header requesting 30000,30000 heartbeats but then ActiveMQ
replies with 0,0

If I change the stomp transport to stomp and not stomp+nio and not changing my code or what
I send in CONNECT request I get the correct heartbeats.

It seems stomp+nio does not have heartbeat support for protocol 1.1

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message