[Java Broker] Selectors comparing header properties to constants always convert
the property from AMQShortString to String, rather than converting the constant
once
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: QPID-922
URL: https://issues.apache.org/jira/browse/QPID-922
Project: Qpid
Issue Type: Improvement
Components: Java Broker
Affects Versions: M2.1
Reporter: Rob Godfrey
Assignee: Rob Godfrey
Priority: Minor
When using selectors against a header property (e.g. correlationId) the
selector evaluates the property of the message against a constant; due to the
type mismatch between AMQShortString and String a conversion occurs for every
message. Instead we can convert the constant and cache the result. This has a
performance improvement when running high volumes of transient messages through
selectors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.