Yes you can use heartbeats and it gets configured by using the inactivity
monitor settings.  There was also a bug just fixed for it in 5.12.0:
https://issues.apache.org/jira/browse/AMQ-5155

To configure this on the server side you just need to set the inactivity
monitor for the timeout period you want.
http://activemq.apache.org/activemq-inactivitymonitor.html

You client (such as stomp.js) is responsible for sending the heart beats
periodically.

On Mon, Sep 28, 2015 at 9:47 AM, aritz aguila <aritz.d...@gmail.com> wrote:

> Hi,
>
> Im using stomp over websocket protocol... my actual broker configuration is
> very simple...
>
> <transportConnector name="ws" uri="ws://0.0.0.0:61614"/>
>
> I would like to use heartbeat parameter like in stomp configuration:
>
> stomp://0.0.0.0:0?transport.defaultHeartBeat=5000
>
> Or in openwire...
>
> <transportConnector name="openwire" uri="tcp://
> 0.0.0.0:61616?wireFormat.maxInactivityDuration=30000/>
>
> But i cant find anything like this...
>
> Its possible configure the heartbeat in transportconnector for stomp over
> websocket protocol?
>
> Thanks for all answers,
>
> Aritz.
>
>
> --
>
> *P *
>
> *Antes de imprimir este email piense si es realmente necesario: el medio
> ambiente es cosa de todos.*
>
> *Before printing this email, think whether it is really necessary:
> environment is a matter of all.*
>

Reply via email to