Class SenderController.RejectingOutgoingMessageWriter

java.lang.Object
org.apache.activemq.artemis.protocol.amqp.proton.SenderController.RejectingOutgoingMessageWriter
All Implemented Interfaces:
Consumer<org.apache.activemq.artemis.core.server.MessageReference>, MessageWriter
Enclosing interface:
SenderController

public static class SenderController.RejectingOutgoingMessageWriter extends Object implements MessageWriter
  • Constructor Details

    • RejectingOutgoingMessageWriter

      public RejectingOutgoingMessageWriter()
  • Method Details

    • writeBytes

      public void writeBytes(org.apache.activemq.artemis.core.server.MessageReference reference)
      Description copied from interface: MessageWriter
      Begin delivery of a message providing the original message reference instance. The writer should be linked to a parent sender or sender controller which it will use for obtaining services needed to send and complete sending operations. This must be called from the connection thread.

      Once delivery processing completes (successful or not) the handler must inform the server sender of the outcome so that further deliveries can be sent or error processing can commence.

      Specified by:
      writeBytes in interface MessageWriter
      Parameters:
      reference - The original message reference that triggered the delivery.