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

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

1. ActiveMQClientProtocolManager#ping()

Project: activemq-artemis
File: ActiveMQClientProtocolManager.java
@Override
public void ping(long connectionTTL) {
    Channel channel = connection.getChannel(ChannelImpl.CHANNEL_ID.PING.id, -1);
    Ping ping = new Ping(connectionTTL);
    channel.send(ping);
    connection.flush();
}