Search in sources :

Example 1 with DisconnectConsumerWithKillMessage

use of org.apache.activemq.artemis.core.protocol.core.impl.wireformat.DisconnectConsumerWithKillMessage in project activemq-artemis by apache.

the class RemotingConnectionImpl method killMessage.

@Override
public void killMessage(SimpleString nodeID) {
    if (channelVersion < DisconnectConsumerWithKillMessage.VERSION_INTRODUCED) {
        return;
    }
    Channel clientChannel = getChannel(1, -1);
    DisconnectConsumerWithKillMessage response = new DisconnectConsumerWithKillMessage(nodeID);
    clientChannel.send(response, -1);
}
Also used : Channel(org.apache.activemq.artemis.core.protocol.core.Channel) DisconnectConsumerWithKillMessage(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.DisconnectConsumerWithKillMessage)

Aggregations

Channel (org.apache.activemq.artemis.core.protocol.core.Channel)1 DisconnectConsumerWithKillMessage (org.apache.activemq.artemis.core.protocol.core.impl.wireformat.DisconnectConsumerWithKillMessage)1