Class AMQPFederationAddressSenderController
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationBaseSenderController
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationAddressSenderController
-
- All Implemented Interfaces:
SenderController
public final class AMQPFederationAddressSenderController extends AMQPFederationBaseSenderController
SenderControllerused when an AMQP federation Address receiver is created and this side of the connection needs to create a matching sender. The address sender controller must check on initialization if the address exists and if not it should create it using the configuration values supplied in the link source properties that control the lifetime of the address once the link is closed.
-
-
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 AMQPFederationAddressSenderController(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
-
AMQPFederationAddressSenderController
public AMQPFederationAddressSenderController(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.
-
-