Class AMQPMirrorControllerAggregation
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.mirror.AMQPMirrorControllerAggregation
-
- All Implemented Interfaces:
org.apache.activemq.artemis.core.server.ActiveMQComponent,org.apache.activemq.artemis.core.server.mirror.MirrorController
public class AMQPMirrorControllerAggregation extends java.lang.Object implements org.apache.activemq.artemis.core.server.mirror.MirrorController, org.apache.activemq.artemis.core.server.ActiveMQComponentthis will be used when there are multiple replicas in use.
-
-
Constructor Summary
Constructors Constructor Description AMQPMirrorControllerAggregation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo)voidaddPartition(AMQPMirrorControllerSource partition)voidcreateQueue(org.apache.activemq.artemis.api.core.QueueConfiguration queueConfiguration)voiddeleteAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo)voiddeleteQueue(org.apache.activemq.artemis.api.core.SimpleString addressName, org.apache.activemq.artemis.api.core.SimpleString queueName)java.util.List<AMQPMirrorControllerSource>getPartitions()java.lang.StringgetRemoteMirrorId()booleanisStarted()voidpostAcknowledge(org.apache.activemq.artemis.core.server.MessageReference ref, org.apache.activemq.artemis.core.server.impl.AckReason reason)voidremoveParition(AMQPMirrorControllerSource partition)voidsendMessage(org.apache.activemq.artemis.api.core.Message message, org.apache.activemq.artemis.core.server.RoutingContext context, java.util.List<org.apache.activemq.artemis.core.server.MessageReference> refs)voidstart()voidstop()
-
-
-
Method Detail
-
addPartition
public void addPartition(AMQPMirrorControllerSource partition)
-
removeParition
public void removeParition(AMQPMirrorControllerSource partition)
-
start
public void start() throws java.lang.Exception- Specified by:
startin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception- Specified by:
stopin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent- Throws:
java.lang.Exception
-
getRemoteMirrorId
public java.lang.String getRemoteMirrorId()
- Specified by:
getRemoteMirrorIdin interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceorg.apache.activemq.artemis.core.server.ActiveMQComponent
-
getPartitions
public java.util.List<AMQPMirrorControllerSource> getPartitions()
-
addAddress
public void addAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) throws java.lang.Exception- Specified by:
addAddressin interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
java.lang.Exception
-
deleteAddress
public void deleteAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) throws java.lang.Exception- Specified by:
deleteAddressin interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
java.lang.Exception
-
createQueue
public void createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration queueConfiguration) throws java.lang.Exception- Specified by:
createQueuein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
java.lang.Exception
-
deleteQueue
public void deleteQueue(org.apache.activemq.artemis.api.core.SimpleString addressName, org.apache.activemq.artemis.api.core.SimpleString queueName) throws java.lang.Exception- Specified by:
deleteQueuein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
java.lang.Exception
-
sendMessage
public void sendMessage(org.apache.activemq.artemis.api.core.Message message, org.apache.activemq.artemis.core.server.RoutingContext context, java.util.List<org.apache.activemq.artemis.core.server.MessageReference> refs)- Specified by:
sendMessagein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController
-
postAcknowledge
public void postAcknowledge(org.apache.activemq.artemis.core.server.MessageReference ref, org.apache.activemq.artemis.core.server.impl.AckReason reason) throws java.lang.Exception- Specified by:
postAcknowledgein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
java.lang.Exception
-
-