kenliao94 commented on PR #1416:
URL: https://github.com/apache/activemq/pull/1416#issuecomment-2750347322

   Thanks for the feedback @jbonofre @mattrpav and @cshannon 
   
   > What's the purpose ? Is it about ActiveMQ broker plugins and filter ? or 
more global ?
   
   It is about ActiveMQ overall. I am brainstorming how to make ActiveMQ more 
plugin friendly and notice there is a potential for the BrokerFilter to 
intercept destination-level operation to enable a plugin to do more. However, 
the bigger picture is how do we make ActiveMQ more pluggable in general (some 
ideas include transport protocol as pluggin ... just thinking out loud) I think 
this can be a great first step and would like to hear what you all think.
   
   > What is a real-world use case for the proposed methods being added at the 
broker level?
   
   So the idea is to make a plugin more powerful, so it is hypothetical at this 
point. Do you have concern over adding those to the BrokerFilter?
   
   > What about just using a destination interceptor? It may still be better to 
enhance the broker plugin to consolidate things but i think all the methods 
could be accessed today but adding a custom destination interceptor
   
   That is a really good point. I actually thought about it while I was writing 
this short proposal. The issue in my opinion is if you write a Destination 
Interceptor (and inject that in activemq.xml) then let's say I want to write a 
plugin that involves those missing destination methods, I would need to write 
it in two parts. Given there are precedent of destination level operation 
exposed on `BrokerFilter` I think adding it to the BrokerFilter will create a 
better dev experience. What do you all think?
   
   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to