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
public class AMQPMirrorBrokerConnectionElement extends AMQPBrokerConnectionElement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMQPMirrorBrokerConnectionElement()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
getMirrorSNF
public SimpleString getMirrorSNF()
-
setMirrorSNF
public AMQPMirrorBrokerConnectionElement setMirrorSNF(SimpleString mirrorSNF)
-
isDurable
public boolean isDurable()
There is no setter for this property. Basically by setting a sourceMirrorAddress we are automatically setting this to true.
-
setDurable
public AMQPMirrorBrokerConnectionElement setDurable(boolean durable)
-
isQueueCreation
public boolean isQueueCreation()
-
setQueueCreation
public AMQPMirrorBrokerConnectionElement setQueueCreation(boolean queueCreation)
-
isQueueRemoval
public boolean isQueueRemoval()
-
setQueueRemoval
public AMQPMirrorBrokerConnectionElement setQueueRemoval(boolean queueRemoval)
-
setType
public AMQPMirrorBrokerConnectionElement setType(AMQPBrokerConnectionAddressType type)
- Overrides:
setType
in classAMQPBrokerConnectionElement
-
isMessageAcknowledgements
public boolean isMessageAcknowledgements()
-
setMessageAcknowledgements
public AMQPMirrorBrokerConnectionElement setMessageAcknowledgements(boolean messageAcknowledgements)
-
getAddressFilter
public String getAddressFilter()
-
setAddressFilter
public AMQPMirrorBrokerConnectionElement setAddressFilter(String addressFilter)
-
isSync
public boolean isSync()
-
setSync
public AMQPMirrorBrokerConnectionElement setSync(boolean sync)
-
addProperty
public AMQPMirrorBrokerConnectionElement addProperty(String key, String value)
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
public AMQPMirrorBrokerConnectionElement addProperty(String key, Number value)
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
public Map<String,Object> getProperties()
- Returns:
- the collection of configuration properties associated with this mirror configuration element.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAMQPBrokerConnectionElement
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAMQPBrokerConnectionElement
-
-