Try PubSub+
If you haven't already, check out our new Developer Portal! You'll find useful information about Solace PubSub+ as well as handy resources to get you started.

receiving flow events in JMS

alinaqvialinaqvi Member Posts: 35

We use FlowEventHandler to confirm if we are successfully subscribed to a queue.(We use these for Fault tolerance). Is there a way to get these events in JMS ?

 public class CustomFlowEventHandler implements FlowEventHandler {

public void handleEvent(Object o, FlowEventArgs flowEventArgs) {

    if(flowEventArgs.getEvent() == FlowEvent.FLOW_ACTIVE) {"******Queue subscribed successfully *****");
        // Do stuff

    } else if(flowEventArgs.getEvent() == FlowEvent.FLOW_INACTIVE) {
"******Queue unsubscribed probably because of a network disconnect *****");
        // Do stuff

    } else {
        LOG.warn("***********Invalid Flow Event Received*********");



Sign In or Register to comment.