public class ProtonTransactionHandler extends Object implements ProtonDeliveryHandler
| Constructor and Description |
|---|
ProtonTransactionHandler(AMQPSessionCallback sessionSPI,
AMQPConnectionContext connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean linkRemoteClose) |
void |
close(org.apache.qpid.proton.amqp.transport.ErrorCondition condition) |
org.apache.activemq.artemis.core.transaction.Transaction |
getCurrentTransaction() |
void |
onFlow(int credits,
boolean drain) |
void |
onMessage(org.apache.qpid.proton.engine.Delivery delivery) |
public ProtonTransactionHandler(AMQPSessionCallback sessionSPI, AMQPConnectionContext connection)
public void onMessage(org.apache.qpid.proton.engine.Delivery delivery)
throws ActiveMQAMQPException
onMessage in interface ProtonDeliveryHandlerActiveMQAMQPExceptionpublic void onFlow(int credits,
boolean drain)
onFlow in interface ProtonDeliveryHandlerpublic void close(boolean linkRemoteClose)
throws ActiveMQAMQPException
close in interface ProtonDeliveryHandlerActiveMQAMQPExceptionpublic void close(org.apache.qpid.proton.amqp.transport.ErrorCondition condition)
throws ActiveMQAMQPException
close in interface ProtonDeliveryHandlerActiveMQAMQPExceptionpublic org.apache.activemq.artemis.core.transaction.Transaction getCurrentTransaction()
Copyright © 2021 The Apache Software Foundation. All rights reserved.