org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CheckFailoverMessage

Here are the examples of the java api class org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CheckFailoverMessage taken from open source projects.

1. ActiveMQClientProtocolManager#checkForFailover()

Project: activemq-artemis
File: ActiveMQClientProtocolManager.java
@Override
public boolean checkForFailover(String liveNodeID) throws ActiveMQException {
    CheckFailoverMessage packet = new CheckFailoverMessage(liveNodeID);
    CheckFailoverReplyMessage message = (CheckFailoverReplyMessage) getChannel1().sendBlocking(packet, PacketImpl.CHECK_FOR_FAILOVER_REPLY);
    return message.isOkToFailover();
}