Re: Possible performance issue invoking a bean method with a string parameter

2023-02-27 Thread Moshe Elisha (Nokia)
issue invoking a bean method with a string parameter CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See http://nok.it/ext for additional information. Hi Thanks for reporting. Can you create a JIRA ticket. Also you are welcome to send

Re: Possible performance issue invoking a bean method with a string parameter

2023-02-27 Thread Claus Ibsen
Hi Thanks for reporting. Can you create a JIRA ticket. Also you are welcome to send a PR with a unit test, we can use to assist fixing this performance problem. And if you have time and want to try to make a fix, then a PR is also welcome. You are welcome to do that on camel-3.x branch (as main

Possible performance issue invoking a bean method with a string parameter

2023-02-27 Thread Moshe Elisha (Nokia)
Hello, I have noticed that when invoking a bean method with a string parameter, it works but a very special handling is needed to avoid a performance hit. Example code below. When the parameter is not single quoted or double quoted - Camel tries to resolve the value and in the process tries