Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4470

Stomp 1.0 Heartbeat does not work for stomp ssl

    XMLWordPrintableJSON

Details

    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"/>

      Attachments

        Activity

          People

            Unassigned Unassigned
            aletheia7 Erik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: