Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.6.0
-
Linux: Ubuntu 12.04.1 LTS
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.04.1)
OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)
Description
The Stomp 1.0 Heartbeat feature does not work for stomp+ssl or stomp+nio+ssl URIs. I created a client that sends a request-reply message every 30s with a defaultHeartBeat of 5000 (5s). The Stomp Inactivity Monitor closes the connection for plain stomp URIs. stomp+ssl URIs do not get closed.
Works:
<transportConnector name="stomp" uri="stomp://0.0.0.0:61613?transport.defaultHeartBeat=5000,0"/>
Does not work:
<transportConnector name="stomp+ssl" uri="stomp+ssl://0.0.0.0:61613?transport.defaultHeartBeat=5000,0"/>
<transportConnector name="stomp+nio+ssl" uri="stomp+nio+ssl://0.0.0.0:61613?transport.defaultHeartBeat=5000,0"/>