Re: ActiveMQ / configure queues

2023-04-04 Thread Matt Pavlovich
Thanks, Ephemeris!  

I’ve taken assignment and will work to get it implemented.

Thanks,
Matt


> On Apr 4, 2023, at 6:50 AM, Ephemeris Lappis  
> wrote:
> 
> Hello Matt.
> 
> Here is the ticket : https://issues.apache.org/jira/browse/AMQ-9240.
> 
> Thanks again.
> 
> Regards.
> 
> 
> Le lun. 3 avr. 2023 à 15:50, Matt Pavlovich  <mailto:mattr...@gmail.com>> a écrit :
>> Hello Ephemeris-
>> 
>> Right now, the plugin is for all queues and topics. I agree it would make 
>> sense to add this as options on DestinationPolicy.
>> 
>> Feel free to open up a feature request ticket — 
>> https://issues.apache.org/jira  
>> 
>> I’ll work to add it to 5.18.x or 5.19.x
>> 
>> Thanks!
>> Matt Pavlovich
>> 
>>> On Mar 31, 2023, at 4:53 PM, Ephemeris Lappis >> <mailto:ephemeris.lap...@gmail.com>> wrote:
>>> 
>>> Hello.
>>> 
>>> I guess that "zeroExpirationOverride" could force the expiration on 
>>> messages, but it seems to apply to all queues/topics, right ?
>>> 
>>> Is there any way to limit the plugin to few queues only ?
>>> 
>>> Thanks.
>>> 
>>> Regards.
>>> 
>>> Ephemeris Lappis
>>> Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :
>>>> Hello Ephemeris-
>>>> 
>>>> I think this would do it for you:
>>>> 
>>>> https://activemq.apache.org/timestampplugin
>>>> 
>>>> Thanks,
>>>> Matt Pavlovich
>>>> 
>>>>> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis 
>>>>>  <mailto:ephemeris.lap...@gmail.com> wrote:
>>>>> 
>>>>> OK. Is there a chance I find a similar configuration for the classic 
>>>>> version ?
>>>>> I guess that for DLQ I can set multiple policy entries with distinct 
>>>>> strategies.
>>>>> Reading the XML configuration reference, for now I didn't find any
>>>>> policy to force message expiration (time to live) for some queues :
>>>>> we'd prefer to set it in the server configuration, and not in the
>>>>> Camel code.
>>>>> 
>>>>> Thanks again.
>>>>> 
>>>>> Le ven. 31 mars 2023 à 16:36, Timothy Bish  
>>>>> <mailto:tabish...@gmail.com> a écrit :
>>>>>> On 3/31/23 10:22, Ephemeris Lappis wrote:
>>>>>>> Hello.
>>>>>>> 
>>>>>>> Thanks. I'm going to have a look at these configuration items. Do you
>>>>>>> confirm this also work for "classic" ActiveMQ (we do not use Artemis)
>>>>>>> ?
>>>>>> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
>>>>>> interchangeable.
>>>>>> 
>>>>>> 
>>>>>>> Regards.
>>>>>>> 
>>>>>>> Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
>>>>>>>  <mailto:erwin.dond...@cgi.com.invalid> 
>>>>>>> a écrit :
>>>>>>>> See 
>>>>>>>> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
>>>>>>>> There are the address-parameters: min-expiry-delay and max-expiry-delay
>>>>>>>> 
>>>>>>>> -Original Message-
>>>>>>>> From: Ephemeris Lappis  
>>>>>>>> <mailto:ephemeris.lap...@gmail.com>
>>>>>>>> Sent: vrijdag 31 maart 2023 15:01
>>>>>>>> To: users@activemq.apache.org <mailto:users@activemq.apache.org>
>>>>>>>> Subject: ActiveMQ / configure queues
>>>>>>>> 
>>>>>>>> 
>>>>>>>> EXTERNAL SENDER:   Do not click any links or open any attachments 
>>>>>>>> unless you trust the sender and know the content is safe.
>>>>>>>> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune 
>>>>>>>> pièce jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou 
>>>>>>>> que vous ayez l'assurance que le contenu provient d'une source sûre.
>>>>>>>> 
>>>>>>>> Hello.
>>>>>>>> 
>>>>>>>> Is there any way to configure queues on the server side with specific 
>>>>>>>> settings like "time to live" for example ? The same way, I'd like to 
>>>>>>>> enable or disable DLQ for some queues.
>>>>>>>> 
>>>>>>>> Our XML configuration already uses policies like :
>>>>>>>> >>>>>>> queuePrefetch="1" lazyDispatch="true">
>>>>>>>> 
>>>>>>>> >>>>>>> useQueueForQueueMessages="true"/>
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Can I set similar policies to exclude DLQ for queues with a given 
>>>>>>>> pattern, and setting a time to live ?
>>>>>>>> 
>>>>>>>> For example, if I set a first policy with queue="PREFIX1.>" without 
>>>>>>>> DLQ strategy, is the other policy applied to other queues ?
>>>>>>>> 
>>>>>>>> Thanks in advance for your help.
>>>>>>>> 
>>>>>>>> Regards.
>>>>>> --
>>>>>> Tim Bish
>>>>>> 
>>> 
>>>  
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>>>   Sans virus.www.avast.com 
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>



Re: ActiveMQ / configure queues

2023-04-04 Thread Ephemeris Lappis
Hello Matt.

Here is the ticket : https://issues.apache.org/jira/browse/AMQ-9240.

Thanks again.

Regards.


Le lun. 3 avr. 2023 à 15:50, Matt Pavlovich  a écrit :

> Hello Ephemeris-
>
> Right now, the plugin is for all queues and topics. I agree it would make
> sense to add this as options on DestinationPolicy.
>
> Feel free to open up a feature request ticket —
> https://issues.apache.org/jira
>
> I’ll work to add it to 5.18.x or 5.19.x
>
> Thanks!
> Matt Pavlovich
>
> On Mar 31, 2023, at 4:53 PM, Ephemeris Lappis 
> wrote:
>
> Hello.
>
> I guess that "zeroExpirationOverride" could force the expiration on
> messages, but it seems to apply to all queues/topics, right ?
>
> Is there any way to limit the plugin to few queues only ?
>
> Thanks.
>
> Regards.
>
> Ephemeris Lappis
>
> Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :
>
> Hello Ephemeris-
>
> I think this would do it for you:
> https://activemq.apache.org/timestampplugin
>
> Thanks,
> Matt Pavlovich
>
>
> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis  
>  wrote:
>
> OK. Is there a chance I find a similar configuration for the classic version ?
> I guess that for DLQ I can set multiple policy entries with distinct 
> strategies.
> Reading the XML configuration reference, for now I didn't find any
> policy to force message expiration (time to live) for some queues :
> we'd prefer to set it in the server configuration, and not in the
> Camel code.
>
> Thanks again.
>
> Le ven. 31 mars 2023 à 16:36, Timothy Bish  
>  a écrit :
>
> On 3/31/23 10:22, Ephemeris Lappis wrote:
>
> Hello.
>
> Thanks. I'm going to have a look at these configuration items. Do you
> confirm this also work for "classic" ActiveMQ (we do not use Artemis)
> ?
>
> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
> interchangeable.
>
>
>
> Regards.
>
> Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin 
>  a écrit :
>
> See 
> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
> There are the address-parameters: min-expiry-delay and max-expiry-delay
>
> -Original Message-
> From: Ephemeris Lappis  
> 
> Sent: vrijdag 31 maart 2023 15:01
> To: users@activemq.apache.org
> Subject: ActiveMQ / configure queues
>
>
> EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
> trust the sender and know the content is safe.
> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
> jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
> l'assurance que le contenu provient d'une source sûre.
>
> Hello.
>
> Is there any way to configure queues on the server side with specific 
> settings like "time to live" for example ? The same way, I'd like to enable 
> or disable DLQ for some queues.
>
> Our XML configuration already uses policies like :
>  queuePrefetch="1" lazyDispatch="true">
> 
>  useQueueForQueueMessages="true"/>
> 
> 
>
> Can I set similar policies to exclude DLQ for queues with a given pattern, 
> and setting a time to live ?
>
> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
> strategy, is the other policy applied to other queues ?
>
> Thanks in advance for your help.
>
> Regards.
>
> --
> Tim Bish
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>  Sans
> virus.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>
>
>


Re: ActiveMQ / configure queues

2023-04-03 Thread Ephemeris Lappis
Hello.

OK, I'll open a ticket to add queue specific policies.

For now, please could you confirm that these two entries, in the given
order, lead to moving failing messages to DLQ for any queue, except for
queues with a name that matches the pattern "noread.*", deleting expired
messages directly ?

 










Thanks again.

Regards.

Le lun. 3 avr. 2023 à 15:50, Matt Pavlovich  a écrit :

> Hello Ephemeris-
>
> Right now, the plugin is for all queues and topics. I agree it would make
> sense to add this as options on DestinationPolicy.
>
> Feel free to open up a feature request ticket —
> https://issues.apache.org/jira
>
> I’ll work to add it to 5.18.x or 5.19.x
>
> Thanks!
> Matt Pavlovich
>
> On Mar 31, 2023, at 4:53 PM, Ephemeris Lappis 
> wrote:
>
> Hello.
>
> I guess that "zeroExpirationOverride" could force the expiration on
> messages, but it seems to apply to all queues/topics, right ?
>
> Is there any way to limit the plugin to few queues only ?
>
> Thanks.
>
> Regards.
>
> Ephemeris Lappis
>
> Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :
>
> Hello Ephemeris-
>
> I think this would do it for you:
> https://activemq.apache.org/timestampplugin
>
> Thanks,
> Matt Pavlovich
>
>
> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis  
>  wrote:
>
> OK. Is there a chance I find a similar configuration for the classic version ?
> I guess that for DLQ I can set multiple policy entries with distinct 
> strategies.
> Reading the XML configuration reference, for now I didn't find any
> policy to force message expiration (time to live) for some queues :
> we'd prefer to set it in the server configuration, and not in the
> Camel code.
>
> Thanks again.
>
> Le ven. 31 mars 2023 à 16:36, Timothy Bish  
>  a écrit :
>
> On 3/31/23 10:22, Ephemeris Lappis wrote:
>
> Hello.
>
> Thanks. I'm going to have a look at these configuration items. Do you
> confirm this also work for "classic" ActiveMQ (we do not use Artemis)
> ?
>
> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
> interchangeable.
>
>
>
> Regards.
>
> Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin 
>  a écrit :
>
> See 
> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
> There are the address-parameters: min-expiry-delay and max-expiry-delay
>
> -Original Message-
> From: Ephemeris Lappis  
> 
> Sent: vrijdag 31 maart 2023 15:01
> To: users@activemq.apache.org
> Subject: ActiveMQ / configure queues
>
>
> EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
> trust the sender and know the content is safe.
> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
> jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
> l'assurance que le contenu provient d'une source sûre.
>
> Hello.
>
> Is there any way to configure queues on the server side with specific 
> settings like "time to live" for example ? The same way, I'd like to enable 
> or disable DLQ for some queues.
>
> Our XML configuration already uses policies like :
>  queuePrefetch="1" lazyDispatch="true">
> 
>  useQueueForQueueMessages="true"/>
> 
> 
>
> Can I set similar policies to exclude DLQ for queues with a given pattern, 
> and setting a time to live ?
>
> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
> strategy, is the other policy applied to other queues ?
>
> Thanks in advance for your help.
>
> Regards.
>
> --
> Tim Bish
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>  Sans
> virus.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>
>
>


Re: ActiveMQ / configure queues

2023-04-03 Thread Matt Pavlovich
Hello Ephemeris-

Right now, the plugin is for all queues and topics. I agree it would make sense 
to add this as options on DestinationPolicy.

Feel free to open up a feature request ticket — https://issues.apache.org/jira  

I’ll work to add it to 5.18.x or 5.19.x

Thanks!
Matt Pavlovich

> On Mar 31, 2023, at 4:53 PM, Ephemeris Lappis  
> wrote:
> 
> Hello.
> 
> I guess that "zeroExpirationOverride" could force the expiration on messages, 
> but it seems to apply to all queues/topics, right ?
> 
> Is there any way to limit the plugin to few queues only ?
> 
> Thanks.
> 
> Regards.
> 
> Ephemeris Lappis
> Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :
>> Hello Ephemeris-
>> 
>> I think this would do it for you:
>> 
>> https://activemq.apache.org/timestampplugin
>> 
>> Thanks,
>> Matt Pavlovich
>> 
>>> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis  
>>> <mailto:ephemeris.lap...@gmail.com> wrote:
>>> 
>>> OK. Is there a chance I find a similar configuration for the classic 
>>> version ?
>>> I guess that for DLQ I can set multiple policy entries with distinct 
>>> strategies.
>>> Reading the XML configuration reference, for now I didn't find any
>>> policy to force message expiration (time to live) for some queues :
>>> we'd prefer to set it in the server configuration, and not in the
>>> Camel code.
>>> 
>>> Thanks again.
>>> 
>>> Le ven. 31 mars 2023 à 16:36, Timothy Bish  
>>> <mailto:tabish...@gmail.com> a écrit :
>>>> On 3/31/23 10:22, Ephemeris Lappis wrote:
>>>>> Hello.
>>>>> 
>>>>> Thanks. I'm going to have a look at these configuration items. Do you
>>>>> confirm this also work for "classic" ActiveMQ (we do not use Artemis)
>>>>> ?
>>>> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
>>>> interchangeable.
>>>> 
>>>> 
>>>>> Regards.
>>>>> 
>>>>> Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
>>>>>  <mailto:erwin.dond...@cgi.com.invalid> a 
>>>>> écrit :
>>>>>> See 
>>>>>> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
>>>>>> There are the address-parameters: min-expiry-delay and max-expiry-delay
>>>>>> 
>>>>>> -Original Message-
>>>>>> From: Ephemeris Lappis  
>>>>>> <mailto:ephemeris.lap...@gmail.com>
>>>>>> Sent: vrijdag 31 maart 2023 15:01
>>>>>> To: users@activemq.apache.org <mailto:users@activemq.apache.org>
>>>>>> Subject: ActiveMQ / configure queues
>>>>>> 
>>>>>> 
>>>>>> EXTERNAL SENDER:   Do not click any links or open any attachments unless 
>>>>>> you trust the sender and know the content is safe.
>>>>>> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune 
>>>>>> pièce jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou 
>>>>>> que vous ayez l'assurance que le contenu provient d'une source sûre.
>>>>>> 
>>>>>> Hello.
>>>>>> 
>>>>>> Is there any way to configure queues on the server side with specific 
>>>>>> settings like "time to live" for example ? The same way, I'd like to 
>>>>>> enable or disable DLQ for some queues.
>>>>>> 
>>>>>> Our XML configuration already uses policies like :
>>>>>> >>>>> queuePrefetch="1" lazyDispatch="true">
>>>>>> 
>>>>>> >>>>> useQueueForQueueMessages="true"/>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Can I set similar policies to exclude DLQ for queues with a given 
>>>>>> pattern, and setting a time to live ?
>>>>>> 
>>>>>> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
>>>>>> strategy, is the other policy applied to other queues ?
>>>>>> 
>>>>>> Thanks in advance for your help.
>>>>>> 
>>>>>> Regards.
>>>> 
>>>> --
>>>> Tim Bish
>>>> 
>> 
> 
>  
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
> Sans virus.www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>  


Re: ActiveMQ / configure queues

2023-03-31 Thread Ephemeris Lappis

Hello.

I guess that "zeroExpirationOverride" could force the expiration on 
messages, but it seems to apply to all queues/topics, right ?


Is there any way to limit the plugin to few queues only ?

Thanks.

Regards.

Ephemeris Lappis

Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :

Hello Ephemeris-

I think this would do it for you:

https://activemq.apache.org/timestampplugin

Thanks,
Matt Pavlovich


On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis  
wrote:

OK. Is there a chance I find a similar configuration for the classic version ?
I guess that for DLQ I can set multiple policy entries with distinct strategies.
Reading the XML configuration reference, for now I didn't find any
policy to force message expiration (time to live) for some queues :
we'd prefer to set it in the server configuration, and not in the
Camel code.

Thanks again.

Le ven. 31 mars 2023 à 16:36, Timothy Bish  a écrit :

On 3/31/23 10:22, Ephemeris Lappis wrote:

Hello.

Thanks. I'm going to have a look at these configuration items. Do you
confirm this also work for "classic" ActiveMQ (we do not use Artemis)
?

The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
interchangeable.



Regards.

Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
  a écrit :

Seehttps://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay

-Original Message-
From: Ephemeris Lappis
Sent: vrijdag 31 maart 2023 15:01
To:users@activemq.apache.org
Subject: ActiveMQ / configure queues


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hello.

Is there any way to configure queues on the server side with specific settings like 
"time to live" for example ? The same way, I'd like to enable or disable DLQ 
for some queues.

Our XML configuration already uses policies like :






Can I set similar policies to exclude DLQ for queues with a given pattern, and 
setting a time to live ?

For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
strategy, is the other policy applied to other queues ?

Thanks in advance for your help.

Regards.


--
Tim Bish





--
Cet e-mail a été vérifié par le logiciel antivirus d'Avast.
www.avast.com

Re: ActiveMQ / configure queues

2023-03-31 Thread Matt Pavlovich
Hello Ephemeris-

I think this would do it for you:

https://activemq.apache.org/timestampplugin

Thanks,
Matt Pavlovich

> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis  
> wrote:
> 
> OK. Is there a chance I find a similar configuration for the classic version ?
> I guess that for DLQ I can set multiple policy entries with distinct 
> strategies.
> Reading the XML configuration reference, for now I didn't find any
> policy to force message expiration (time to live) for some queues :
> we'd prefer to set it in the server configuration, and not in the
> Camel code.
> 
> Thanks again.
> 
> Le ven. 31 mars 2023 à 16:36, Timothy Bish  a écrit :
>> 
>> On 3/31/23 10:22, Ephemeris Lappis wrote:
>>> Hello.
>>> 
>>> Thanks. I'm going to have a look at these configuration items. Do you
>>> confirm this also work for "classic" ActiveMQ (we do not use Artemis)
>>> ?
>> 
>> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
>> interchangeable.
>> 
>> 
>>> Regards.
>>> 
>>> Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
>>>  a écrit :
>>>> See 
>>>> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
>>>> There are the address-parameters: min-expiry-delay and max-expiry-delay
>>>> 
>>>> -Original Message-
>>>> From: Ephemeris Lappis 
>>>> Sent: vrijdag 31 maart 2023 15:01
>>>> To: users@activemq.apache.org
>>>> Subject: ActiveMQ / configure queues
>>>> 
>>>> 
>>>> EXTERNAL SENDER:   Do not click any links or open any attachments unless 
>>>> you trust the sender and know the content is safe.
>>>> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
>>>> jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous 
>>>> ayez l'assurance que le contenu provient d'une source sûre.
>>>> 
>>>> Hello.
>>>> 
>>>> Is there any way to configure queues on the server side with specific 
>>>> settings like "time to live" for example ? The same way, I'd like to 
>>>> enable or disable DLQ for some queues.
>>>> 
>>>> Our XML configuration already uses policies like :
>>>> >>> queuePrefetch="1" lazyDispatch="true">
>>>> 
>>>> >>> useQueueForQueueMessages="true"/>
>>>> 
>>>> 
>>>> 
>>>> Can I set similar policies to exclude DLQ for queues with a given pattern, 
>>>> and setting a time to live ?
>>>> 
>>>> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
>>>> strategy, is the other policy applied to other queues ?
>>>> 
>>>> Thanks in advance for your help.
>>>> 
>>>> Regards.
>> 
>> 
>> --
>> Tim Bish
>> 



Re: ActiveMQ / configure queues

2023-03-31 Thread Ephemeris Lappis
OK. Is there a chance I find a similar configuration for the classic version ?
I guess that for DLQ I can set multiple policy entries with distinct strategies.
Reading the XML configuration reference, for now I didn't find any
policy to force message expiration (time to live) for some queues :
we'd prefer to set it in the server configuration, and not in the
Camel code.

Thanks again.

Le ven. 31 mars 2023 à 16:36, Timothy Bish  a écrit :
>
> On 3/31/23 10:22, Ephemeris Lappis wrote:
> > Hello.
> >
> > Thanks. I'm going to have a look at these configuration items. Do you
> > confirm this also work for "classic" ActiveMQ (we do not use Artemis)
> > ?
>
> The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
> interchangeable.
>
>
> > Regards.
> >
> > Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
> >  a écrit :
> >> See 
> >> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
> >> There are the address-parameters: min-expiry-delay and max-expiry-delay
> >>
> >> -Original Message-----
> >> From: Ephemeris Lappis 
> >> Sent: vrijdag 31 maart 2023 15:01
> >> To: users@activemq.apache.org
> >> Subject: ActiveMQ / configure queues
> >>
> >>
> >> EXTERNAL SENDER:   Do not click any links or open any attachments unless 
> >> you trust the sender and know the content is safe.
> >> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
> >> jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous 
> >> ayez l'assurance que le contenu provient d'une source sûre.
> >>
> >> Hello.
> >>
> >> Is there any way to configure queues on the server side with specific 
> >> settings like "time to live" for example ? The same way, I'd like to 
> >> enable or disable DLQ for some queues.
> >>
> >> Our XML configuration already uses policies like :
> >>  >> queuePrefetch="1" lazyDispatch="true">
> >> 
> >>  >> useQueueForQueueMessages="true"/>
> >> 
> >> 
> >>
> >> Can I set similar policies to exclude DLQ for queues with a given pattern, 
> >> and setting a time to live ?
> >>
> >> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
> >> strategy, is the other policy applied to other queues ?
> >>
> >> Thanks in advance for your help.
> >>
> >> Regards.
>
>
> --
> Tim Bish
>


Re: ActiveMQ / configure queues

2023-03-31 Thread Timothy Bish

On 3/31/23 10:22, Ephemeris Lappis wrote:

Hello.

Thanks. I'm going to have a look at these configuration items. Do you
confirm this also work for "classic" ActiveMQ (we do not use Artemis)
?


The configuration for ActiveMQ Classic and ActiveMQ Artemis are not 
interchangeable.




Regards.

Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
 a écrit :

See 
https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay

-Original Message-
From: Ephemeris Lappis 
Sent: vrijdag 31 maart 2023 15:01
To: users@activemq.apache.org
Subject: ActiveMQ / configure queues


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hello.

Is there any way to configure queues on the server side with specific settings like 
"time to live" for example ? The same way, I'd like to enable or disable DLQ 
for some queues.

Our XML configuration already uses policies like :






Can I set similar policies to exclude DLQ for queues with a given pattern, and 
setting a time to live ?

For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
strategy, is the other policy applied to other queues ?

Thanks in advance for your help.

Regards.



--
Tim Bish



Re: ActiveMQ / configure queues

2023-03-31 Thread Ephemeris Lappis
Hello.

Thanks. I'm going to have a look at these configuration items. Do you
confirm this also work for "classic" ActiveMQ (we do not use Artemis)
?

Regards.

Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
 a écrit :
>
> See 
> https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
> There are the address-parameters: min-expiry-delay and max-expiry-delay
>
> -Original Message-
> From: Ephemeris Lappis 
> Sent: vrijdag 31 maart 2023 15:01
> To: users@activemq.apache.org
> Subject: ActiveMQ / configure queues
>
>
> EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
> trust the sender and know the content is safe.
> EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
> jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
> l'assurance que le contenu provient d'une source sûre.
>
> Hello.
>
> Is there any way to configure queues on the server side with specific 
> settings like "time to live" for example ? The same way, I'd like to enable 
> or disable DLQ for some queues.
>
> Our XML configuration already uses policies like :
>  queuePrefetch="1" lazyDispatch="true">
> 
>  useQueueForQueueMessages="true"/>
> 
> 
>
> Can I set similar policies to exclude DLQ for queues with a given pattern, 
> and setting a time to live ?
>
> For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
> strategy, is the other policy applied to other queues ?
>
> Thanks in advance for your help.
>
> Regards.


RE: ActiveMQ / configure queues

2023-03-31 Thread Dondorp, Erwin
But an even better solution is to configure NO DLQ for such address.
Again in :


e.

-Original Message-
From: Dondorp, Erwin 
Sent: vrijdag 31 maart 2023 15:04
To: users@activemq.apache.org
Subject: RE: ActiveMQ / configure queues

See 
https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay

-Original Message-
From: Ephemeris Lappis  
Sent: vrijdag 31 maart 2023 15:01
To: users@activemq.apache.org
Subject: ActiveMQ / configure queues


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hello.

Is there any way to configure queues on the server side with specific settings 
like "time to live" for example ? The same way, I'd like to enable or disable 
DLQ for some queues.

Our XML configuration already uses policies like :






Can I set similar policies to exclude DLQ for queues with a given pattern, and 
setting a time to live ?

For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
strategy, is the other policy applied to other queues ?

Thanks in advance for your help.

Regards.


RE: ActiveMQ / configure queues

2023-03-31 Thread Dondorp, Erwin
See 
https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay

-Original Message-
From: Ephemeris Lappis  
Sent: vrijdag 31 maart 2023 15:01
To: users@activemq.apache.org
Subject: ActiveMQ / configure queues


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hello.

Is there any way to configure queues on the server side with specific settings 
like "time to live" for example ? The same way, I'd like to enable or disable 
DLQ for some queues.

Our XML configuration already uses policies like :






Can I set similar policies to exclude DLQ for queues with a given pattern, and 
setting a time to live ?

For example, if I set a first policy with queue="PREFIX1.>" without DLQ 
strategy, is the other policy applied to other queues ?

Thanks in advance for your help.

Regards.


ActiveMQ / configure queues

2023-03-31 Thread Ephemeris Lappis
Hello.

Is there any way to configure queues on the server side with specific
settings like "time to live" for example ? The same way, I'd like to
enable or disable DLQ for some queues.

Our XML configuration already uses policies like :






Can I set similar policies to exclude DLQ for queues with a given
pattern, and setting a time to live ?

For example, if I set a first policy with queue="PREFIX1.>" without
DLQ strategy, is the other policy applied to other queues ?

Thanks in advance for your help.

Regards.