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 Object
implements org.apache.activemq.artemis.core.server.mirror.MirrorController, org.apache.activemq.artemis.core.server.ActiveMQComponent
this will be used when there are multiple replicas in use.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) voidaddPartition(AMQPMirrorControllerSource partition) voidcreateQueue(QueueConfiguration queueConfiguration) voiddeleteAddress(org.apache.activemq.artemis.core.server.impl.AddressInfo addressInfo) voiddeleteQueue(SimpleString addressName, SimpleString queueName) booleanvoidpostAcknowledge(org.apache.activemq.artemis.core.server.MessageReference ref, org.apache.activemq.artemis.core.server.impl.AckReason reason) voidpreAcknowledge(org.apache.activemq.artemis.core.transaction.Transaction tx, 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.core.transaction.Transaction tx, Message message, org.apache.activemq.artemis.core.server.RoutingContext context) voidstart()voidstop()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStopMethods inherited from interface org.apache.activemq.artemis.core.server.mirror.MirrorController
isRetryACK
-
Constructor Details
-
AMQPMirrorControllerAggregation
public AMQPMirrorControllerAggregation()
-
-
Method Details
-
addPartition
-
removeParition
-
start
-
stop
-
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
-
preAcknowledge
public void preAcknowledge(org.apache.activemq.artemis.core.transaction.Transaction tx, org.apache.activemq.artemis.core.server.MessageReference ref, org.apache.activemq.artemis.core.server.impl.AckReason reason) throws Exception - Specified by:
preAcknowledgein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
Exception
-
addAddress
-
deleteAddress
-
createQueue
- Specified by:
createQueuein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
Exception
-
deleteQueue
- Specified by:
deleteQueuein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController- Throws:
Exception
-
sendMessage
public void sendMessage(org.apache.activemq.artemis.core.transaction.Transaction tx, Message message, org.apache.activemq.artemis.core.server.RoutingContext context) - Specified by:
sendMessagein interfaceorg.apache.activemq.artemis.core.server.mirror.MirrorController
-
postAcknowledge
-