Search in sources :

Example 1 with SessionProducerCreditsFailMessage

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

the class CoreSessionCallback method sendProducerCreditsFailMessage.

@Override
public void sendProducerCreditsFailMessage(int credits, SimpleString address) {
    Packet packet = new SessionProducerCreditsFailMessage(credits, address);
    channel.send(packet);
}
Also used : Packet(org.apache.activemq.artemis.core.protocol.core.Packet) SessionProducerCreditsFailMessage(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionProducerCreditsFailMessage)

Aggregations

Packet (org.apache.activemq.artemis.core.protocol.core.Packet)1 SessionProducerCreditsFailMessage (org.apache.activemq.artemis.core.protocol.core.impl.wireformat.SessionProducerCreditsFailMessage)1