You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jelmer <je...@gmail.com> on 2017/03/31 07:17:11 UTC
Do address-settings merge?
Hi all,
We as team are planning to use active mq artemis 1.5.3 in a production
environment. While preparing our configuration, we stumbled along some
questions, that was not answered in the documentation. The questions are:
Do address-settings merge when multiple matchers match. EG would the
following queue with as name "jms.queue.queueName" also get the settings
that match "#"?
Would the settings for the matcher "#" overwrite the settings for matcher
"jms.queue.queueName" or is this order dependent?
Kind regards,
Jelmer v. Amen
Example configuration:
<address-settings>
<address-setting match="jms.queue.queueName">
<redelivery-delay>5000</redelivery-delay>
</address-setting>
<address-setting match="#">
<dead-letter-address>jms.queue.DLQ</dead-letter-address>
<expiry-address>jms.queue.ExpiryQueue</expiry-address>
<message-counter-history-day-limit>10</message-counter-history-day-limit>
<max-delivery-attempts>1</max-delivery-attempts>
<redelivery-delay>0</redelivery-delay>
<max-size-bytes>10485760</max-size-bytes>
<page-size-bytes>5000000</page-size-bytes>
<page-max-cache-size>1000</page-max-cache-size>
<address-full-policy>PAGE</address-full-policy>
</address-setting>
</address-settings>
--
View this message in context: http://activemq.2283324.n4.nabble.com/Do-address-settings-merge-tp4724411.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Do address-settings merge?
Posted by andytaylor <an...@gmail.com>.
Its done in order, so the second entry will inherit from any previous entry
that matches or be over riden
On 31 March 2017 at 08:17, jelmer [via ActiveMQ] <
ml-node+s2283324n4724411h21@n4.nabble.com> wrote:
> Hi all,
>
> We as team are planning to use active mq artemis 1.5.3 in a production
> environment. While preparing our configuration, we stumbled along some
> questions, that was not answered in the documentation. The questions are:
> Do address-settings merge when multiple matchers match. EG would the
> following queue with as name "jms.queue.queueName" also get the settings
> that match "#"?
>
> Would the settings for the matcher "#" overwrite the settings for matcher
> "jms.queue.queueName" or is this order dependent?
>
> Kind regards,
> Jelmer v. Amen
>
> Example configuration:
>
> <address-settings>
> <address-setting match="jms.queue.queueName">
> <redelivery-delay>5000</redelivery-delay>
> </address-setting>
>
> <address-setting match="#">
> <dead-letter-address>jms.queue.DLQ</dead-letter-address>
> <expiry-address>jms.queue.ExpiryQueue</expiry-address>
> <message-counter-history-day-limit>10</message-counter-
> history-day-limit>
> <max-delivery-attempts>1</max-delivery-attempts>
> <redelivery-delay>0</redelivery-delay>
> <max-size-bytes>10485760</max-size-bytes>
> <page-size-bytes>5000000</page-size-bytes>
> <page-max-cache-size>1000</page-max-cache-size>
> <address-full-policy>PAGE</address-full-policy>
> </address-setting>
> </address-settings>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/Do-address-
> settings-merge-tp4724411.html
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805h35@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=YW5keS50YXlsczY3QGdtYWlsLmNvbXwyMzQxODA1fC05MDE1NDk1MzM=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://activemq.2283324.n4.nabble.com/Do-address-settings-merge-tp4724411p4724419.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.