Class AMQPFederationAddressSenderController
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationAddressSenderController
-
- All Implemented Interfaces:
SenderController
public final class AMQPFederationAddressSenderController extends Object implements SenderController
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.
-
-
Constructor Summary
Constructors Constructor Description AMQPFederationAddressSenderController(AMQPSessionContext session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()AMQPSessionCallbackgetSessionCallback()AMQPSessionContextgetSessionContext()org.apache.activemq.artemis.core.server.Consumerinit(ProtonServerSenderContext senderContext)
-
-
-
Constructor Detail
-
AMQPFederationAddressSenderController
public AMQPFederationAddressSenderController(AMQPSessionContext session)
-
-
Method Detail
-
getSessionContext
public AMQPSessionContext getSessionContext()
-
getSessionCallback
public AMQPSessionCallback getSessionCallback()
-
init
public org.apache.activemq.artemis.core.server.Consumer init(ProtonServerSenderContext senderContext) throws Exception
- Specified by:
initin interfaceSenderController- Throws:
Exception
-
close
public void close() throws Exception- Specified by:
closein interfaceSenderController- Throws:
Exception
-
-