mklaca opened a new pull request #113:
URL: https://github.com/apache/qpid-broker-j/pull/113


   CONNECTION_LIMIT and CONNECTION_FREQUENCY_LIMIT properties are deprecated 
and they are not supported. Actual implementation silently parse and add a new 
predicate. This is the worst scenario because:
   
   1. "CONNECTION_LIMIT" and "CONNECTION_FREQUENCY_LIMIT" are silently parsed 
but the code does not perform expected check.
   2. The rule itself becomes unmatchable because any object never has the 
property "CONNECTION_LIMIT" or "CONNECTION_FREQUENCY_LIMIT". Hence, any object 
can not match with the rule.
   
   The main aim of this changes is performance. Hence, I would like to keep the 
chain of rule predicates as short as possible.
   The RulePredicate.Any does not perform any check and so it can be omitted in 
the chain.


-- 
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: [email protected]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to