[ 
https://issues.apache.org/jira/browse/ARTEMIS-2372?focusedWorklogId=430828&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-430828
 ]

ASF GitHub Bot logged work on ARTEMIS-2372:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/May/20 18:09
            Start Date: 05/May/20 18:09
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on pull request #2695:
URL: https://github.com/apache/activemq-artemis/pull/2695#issuecomment-624218550


   it's not possible to implement filteres over annotations without parsing the 
annotations.. simply not possible!
   
   if you use a filter on a property that is not being found anywhere.. the 
server will try to find it on annotations.
   
   users usually don't set filters with empty properties.. so your concern here 
is really really a corner and not practical case IMO.
   
   
   What I'm going to do is to use x-opt in any property on the server.. and 
when parsing for a property, it will then look for the property on 
annotations.. if still not found it will convert the _AMQ_ into a x-opt 
property. 
   
   
   I will send a PR.. but it's not possible to do this with 0 computational 
cost for someone using filters.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 430828)
    Time Spent: 4h 50m  (was: 4h 40m)

> Support Filtering on Message Annotations
> ----------------------------------------
>
>                 Key: ARTEMIS-2372
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2372
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 2.9.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to