[ https://issues.apache.org/jira/browse/CAMEL-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5177. -------------------------------- Resolution: Fixed > Avoid parsing URI each time when getting uri from endpoint > ---------------------------------------------------------- > > Key: CAMEL-5177 > URL: https://issues.apache.org/jira/browse/CAMEL-5177 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.9.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.9.3, 2.10.0 > > > In Camel 2.9, a new EndpointConfiguration was introduced, which has more fine > grained details about an URI. > However the getEndpointUri method on Endpoint is now parsing the uri on each > call, this is not needed, and is also unnecessary overhead. > We should parse this once. > Also Camel's built-in type converter should be used during the parsing, and > not just the hardcoded PropertyEditorTypeConverter which is to be considered > removed as its not > - thread safe > - causes unforeseen side effects when 3rd party projects register property > converter -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira