strongloop / strong-mq

MQ API with cluster integration, implemented over various message queues.
Other
56 stars 12 forks source link

Stomp event forwarding #19

Open mstoddart opened 9 years ago

mstoddart commented 9 years ago

Hello,

Would it be possible to forward the disconnect and connect events from the stompClient?

In lib/adapters/stomp.js, the error event is being forwarded from within CreateStomp, but the other events being emitted from NodeStompClient are not. These events are helpful in detecting connection losses and subsequent re-connection attempts.

Thanks

chrisamoore commented 9 years ago

:+1:

sam-github commented 9 years ago

Possible, but I won't have time right away, do you have time to PR?