Class AmqpTransactionCoordinator

java.lang.Object
org.apache.activemq.transport.amqp.protocol.AmqpAbstractLink<org.apache.qpid.proton.engine.Receiver>
org.apache.activemq.transport.amqp.protocol.AmqpAbstractReceiver
org.apache.activemq.transport.amqp.protocol.AmqpTransactionCoordinator
All Implemented Interfaces:
AmqpLink, AmqpResource

public class AmqpTransactionCoordinator extends AmqpAbstractReceiver
Implements the AMQP Transaction Coordinator support to manage local transactions between an AMQP client and the broker.
  • Constructor Details

    • AmqpTransactionCoordinator

      public AmqpTransactionCoordinator(AmqpSession session, org.apache.qpid.proton.engine.Receiver endpoint)
      Creates a new Transaction coordinator used to manage AMQP transactions.
      Parameters:
      session - the AmqpSession under which the coordinator was created.
      endpoint - the AMQP receiver link endpoint for this coordinator.
  • Method Details

    • processDelivery

      protected void processDelivery(org.apache.qpid.proton.engine.Delivery delivery, org.fusesource.hawtbuf.Buffer deliveryBytes) throws Exception
      Specified by:
      processDelivery in class AmqpAbstractReceiver
      Throws:
      Exception
    • getDestination

      public org.apache.activemq.command.ActiveMQDestination getDestination()
      Returns:
      the ActiveMQDestination that this link is servicing.
    • setDestination

      public void setDestination(org.apache.activemq.command.ActiveMQDestination destination)
      Description copied from interface: AmqpLink
      Sets the ActiveMQDestination that this link will be servicing.
      Parameters:
      destination - the ActiveMQDestination that this link services.
    • enlist

      public void enlist(AmqpSession session)