[jira] [Commented] (ARTEMIS-4260) address-setting with wildcard not inherited by actual address

2023-04-27 Thread Justin Bertram (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17717315#comment-17717315
 ] 

Justin Bertram commented on ARTEMIS-4260:
-

FWIW, I created ARTEMIS-4262 for updating the documentation and sent [a 
PR|https://github.com/apache/activemq-artemis/pull/4455] that's now been merged.

> address-setting with wildcard not inherited by actual address
> -
>
> Key: ARTEMIS-4260
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4260
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.28.0
>Reporter: arne anka
>Assignee: Justin Bertram
>Priority: Minor
>
> In my broker.xml I got
> {code:java}
> 
>     IMP.DLQ
>     IMP.ExpiryQueue
> {code}
> {code:java}
> 
>     
>     
>         
>     
>     
> 
> {code}
> According to what I read in docs and examples, all adresses starting with
> {noformat}
> IMP{noformat}
> should inherit the DLQ and Expiry adresses from the address-setting.
> Yet, when starting Artemis it logs
> {code:java}
> 2023-04-26 16:05:59,810 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222165: No Dead Letter Address configured for queue IMP_MISC in 
> AddressSettings
> 2023-04-26 16:05:59,811 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222166: No Expiry Address configured for queue IMP_MISC in AddressSettings 
> {code}
> I am currently fighting my way through the code, looking for the place where 
> the actual merging happens, but no luck so far.
> Maybe in a first step, someone can give me a pointer where to look (and maybe 
> how to log)?
> And is there a way to see the actual configuration of an address once Artemis 
> is up and running? Didn't find anything in the Web-Console.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4260) address-setting with wildcard not inherited by actual address

2023-04-26 Thread Justin Bertram (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17716786#comment-17716786
 ] 

Justin Bertram commented on ARTEMIS-4260:
-

I feel like the documentation is pretty clear. It clearly says the syntax is 
based on *words*, e.g.:
{quote}
An Apache ActiveMQ Artemis wildcard expression contains *words delimited by the 
character {{.}}* (full stop).

The special characters {{#}} and {{\*}} also have special meaning and can take 
the place of a *word*.

The character {{#}} means "match any sequence of zero or more *words*".

The character {{\*}} means "match a single *word*".{quote}
Then it provides examples demonstrating how the matching works and all the 
examples use words separated by the default delimiter. I suppose it could be 
further clarified with a description of what it's _not_ instead of only what it 
_is_.

If you're stuck using {{_}} then you can certainly change the default 
configuration, e.g.:
{code:xml}

   _
{code}
And then your {{address-setting}} and {{address}} would look like:
{code:xml}

    IMP_DLQ
    IMP_ExpiryQueue
{code}
{code:xml}

    
    
        
    
    
{code}

> address-setting with wildcard not inherited by actual address
> -
>
> Key: ARTEMIS-4260
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4260
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.28.0
>Reporter: arne anka
>Priority: Minor
>
> In my broker.xml I got
> {code:java}
> 
>     IMP.DLQ
>     IMP.ExpiryQueue
> {code}
> {code:java}
> 
>     
>     
>         
>     
>     
> 
> {code}
> According to what I read in docs and examples, all adresses starting with
> {noformat}
> IMP{noformat}
> should inherit the DLQ and Expiry adresses from the address-setting.
> Yet, when starting Artemis it logs
> {code:java}
> 2023-04-26 16:05:59,810 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222165: No Dead Letter Address configured for queue IMP_MISC in 
> AddressSettings
> 2023-04-26 16:05:59,811 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222166: No Expiry Address configured for queue IMP_MISC in AddressSettings 
> {code}
> I am currently fighting my way through the code, looking for the place where 
> the actual merging happens, but no luck so far.
> Maybe in a first step, someone can give me a pointer where to look (and maybe 
> how to log)?
> And is there a way to see the actual configuration of an address once Artemis 
> is up and running? Didn't find anything in the Web-Console.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4260) address-setting with wildcard not inherited by actual address

2023-04-26 Thread arne anka (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17716778#comment-17716778
 ] 

arne anka commented on ARTEMIS-4260:


I see. Maybe it would be worthwhile to add a note to the doc, that this is 
_not_ similar to startsWith() or such? 
I've read that page several times, but it never occured to me (seeing the name 
rather as one string and not as a hierarchy of tokens).

Another thing: I am stuck with the underscore – just to be sure: I would need 
to define
{code:java}
_{code}
instead, right? Or is there a way to have several delimiters?

> address-setting with wildcard not inherited by actual address
> -
>
> Key: ARTEMIS-4260
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4260
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.28.0
>Reporter: arne anka
>Priority: Minor
>
> In my broker.xml I got
> {code:java}
> 
>     IMP.DLQ
>     IMP.ExpiryQueue
> {code}
> {code:java}
> 
>     
>     
>         
>     
>     
> 
> {code}
> According to what I read in docs and examples, all adresses starting with
> {noformat}
> IMP{noformat}
> should inherit the DLQ and Expiry adresses from the address-setting.
> Yet, when starting Artemis it logs
> {code:java}
> 2023-04-26 16:05:59,810 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222165: No Dead Letter Address configured for queue IMP_MISC in 
> AddressSettings
> 2023-04-26 16:05:59,811 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ222166: No Expiry Address configured for queue IMP_MISC in AddressSettings 
> {code}
> I am currently fighting my way through the code, looking for the place where 
> the actual merging happens, but no luck so far.
> Maybe in a first step, someone can give me a pointer where to look (and maybe 
> how to log)?
> And is there a way to see the actual configuration of an address once Artemis 
> is up and running? Didn't find anything in the Web-Console.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)