Class AMQPMirrorBrokerConnectionElement
java.lang.Object
org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBrokerConnectionElement
org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPMirrorBrokerConnectionElement
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(String key, Number value) Adds the given property key and value to the mirror broker configuration element.addProperty
(String key, String value) Adds the given property key and value to the mirror broker configuration element.boolean
int
hashCode()
boolean
There is no setter for this property.boolean
boolean
boolean
boolean
isSync()
setAddressFilter
(String addressFilter) setDurable
(boolean durable) setMessageAcknowledgements
(boolean messageAcknowledgements) setMirrorSNF
(SimpleString mirrorSNF) setQueueCreation
(boolean queueCreation) setQueueRemoval
(boolean queueRemoval) setSync
(boolean sync) Methods inherited from class org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBrokerConnectionElement
getMatchAddress, getName, getParent, getQueueName, getType, match, match, setMatchAddress, setMatchAddress, setName, setParent, setQueueName, setQueueName
-
Constructor Details
-
AMQPMirrorBrokerConnectionElement
public AMQPMirrorBrokerConnectionElement()
-
-
Method Details
-
getMirrorSNF
-
setMirrorSNF
-
isDurable
public boolean isDurable()There is no setter for this property. Basically by setting a sourceMirrorAddress we are automatically setting this to true. -
setDurable
-
isQueueCreation
public boolean isQueueCreation() -
setQueueCreation
-
isQueueRemoval
public boolean isQueueRemoval() -
setQueueRemoval
-
setType
- Overrides:
setType
in classAMQPBrokerConnectionElement
-
isMessageAcknowledgements
public boolean isMessageAcknowledgements() -
setMessageAcknowledgements
public AMQPMirrorBrokerConnectionElement setMessageAcknowledgements(boolean messageAcknowledgements) -
getAddressFilter
-
setAddressFilter
-
isSync
public boolean isSync() -
setSync
-
addProperty
Adds the given property key and value to the mirror broker configuration element.- Parameters:
key
- The key that identifies the propertyvalue
- The value associated with the property key.- Returns:
- this configuration element instance.
-
addProperty
Adds the given property key and value to the mirror broker configuration element.- Parameters:
key
- The key that identifies the propertyvalue
- The value associated with the property key.- Returns:
- this configuration element instance.
-
getProperties
- Returns:
- the collection of configuration properties associated with this mirror configuration element.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAMQPBrokerConnectionElement
-
equals
- Overrides:
equals
in classAMQPBrokerConnectionElement
-