public class ProtonServerReceiverContext extends ProtonAbstractReceiver
| Modifier and Type | Field and Description |
|---|---|
protected SimpleString |
address |
protected boolean |
addressAlreadyClashed |
protected SimpleString |
lastAddress |
protected org.apache.activemq.artemis.core.settings.impl.AddressFullMessagePolicy |
lastAddressPolicy |
protected Runnable |
spiFlow |
amqpCredits, connection, creditRunnable, currentLargeMessage, minCreditRefresh, minLargeMessageSize, pendingSettles, protonSession, receiver, sessionSPI, useModified| Constructor and Description |
|---|
ProtonServerReceiverContext(AMQPSessionCallback sessionSPI,
AMQPConnectionContext connection,
AMQPSessionContext protonSession,
org.apache.qpid.proton.engine.Receiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actualDelivery(AMQPMessage message,
org.apache.qpid.proton.engine.Delivery delivery,
org.apache.qpid.proton.engine.Receiver receiver,
org.apache.activemq.artemis.core.transaction.Transaction tx) |
void |
close(boolean remoteLinkClose) |
void |
deliveryFailed(org.apache.qpid.proton.engine.Delivery delivery,
org.apache.qpid.proton.engine.Receiver receiver,
Exception e) |
void |
drain(int credits) |
int |
drained() |
void |
flow() |
RoutingType |
getDefRoutingType() |
RoutingType |
getRoutingType(org.apache.qpid.proton.engine.Receiver receiver,
SimpleString address) |
void |
initialize() |
boolean |
isDraining() |
protected void |
sessionSPIFlow() |
calculatedUpdateRefill, clearLargeMessage, close, createCreditRunnable, createCreditRunnable, incrementSettle, initializeCurrentLargeMessage, isBellowThreshold, onFlow, onMessage, recoverContext, settleisInitializedprotected SimpleString address
protected SimpleString lastAddress
protected org.apache.activemq.artemis.core.settings.impl.AddressFullMessagePolicy lastAddressPolicy
protected boolean addressAlreadyClashed
protected final Runnable spiFlow
public ProtonServerReceiverContext(AMQPSessionCallback sessionSPI, AMQPConnectionContext connection, AMQPSessionContext protonSession, org.apache.qpid.proton.engine.Receiver receiver)
public void initialize()
throws Exception
initialize in class ProtonInitializableExceptionpublic RoutingType getDefRoutingType()
public RoutingType getRoutingType(org.apache.qpid.proton.engine.Receiver receiver, SimpleString address)
protected void actualDelivery(AMQPMessage message, org.apache.qpid.proton.engine.Delivery delivery, org.apache.qpid.proton.engine.Receiver receiver, org.apache.activemq.artemis.core.transaction.Transaction tx)
actualDelivery in class ProtonAbstractReceiverpublic void deliveryFailed(org.apache.qpid.proton.engine.Delivery delivery,
org.apache.qpid.proton.engine.Receiver receiver,
Exception e)
public void close(boolean remoteLinkClose)
throws ActiveMQAMQPException
close in interface ProtonDeliveryHandlerclose in class ProtonAbstractReceiverActiveMQAMQPExceptionpublic void flow()
flow in class ProtonAbstractReceiverprotected void sessionSPIFlow()
public void drain(int credits)
public int drained()
public boolean isDraining()
Copyright © 2021 The Apache Software Foundation. All rights reserved.