Class AMQPFederationQueueSenderController
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationBaseSenderController
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationQueueSenderController
-
- All Implemented Interfaces:
SenderController
public final class AMQPFederationQueueSenderController extends AMQPFederationBaseSenderController
SenderControllerused when an AMQP federation Queue receiver is created and this side of the connection needs to create a matching sender. The attach of the sender should only succeed if there is a local matching queue, otherwise the link should be closed with an error indicating that the matching resource is not present on this peer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.activemq.artemis.protocol.amqp.proton.SenderController
SenderController.RejectingOutgoingMessageWriter
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationBaseSenderController
coreLargeMessageWriter, coreMessageWriter, largeMessageWriter, resourceDeletedAction, session, sessionSPI, standardMessageWriter, tunnelCoreMessages
-
Fields inherited from interface org.apache.activemq.artemis.protocol.amqp.proton.SenderController
REJECTING_MESSAGE_WRITER
-
-
Constructor Summary
Constructors Constructor Description AMQPFederationQueueSenderController(AMQPSessionContext session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.artemis.core.server.Consumerinit(ProtonServerSenderContext senderContext)Initialize sender controller state and handle open of AMQP sender resources-
Methods inherited from class org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationBaseSenderController
close, close, getSessionCallback, getSessionContext, selectOutgoingMessageWriter
-
-
-
-
Constructor Detail
-
AMQPFederationQueueSenderController
public AMQPFederationQueueSenderController(AMQPSessionContext session) throws ActiveMQAMQPException
- Throws:
ActiveMQAMQPException
-
-
Method Detail
-
init
public org.apache.activemq.artemis.core.server.Consumer init(ProtonServerSenderContext senderContext) throws Exception
Description copied from interface:SenderControllerInitialize sender controller state and handle open of AMQP sender resources- Parameters:
senderContext- The sender context that is requesting controller initialization.- Returns:
- a server consumer that has been initialize by the controller.
- Throws:
Exception- if an error occurs during initialization.
-
-