davsclaus commented on PR #8212: URL: https://github.com/apache/camel/pull/8212#issuecomment-1226017941
If you do a hot reload updating routes that used http, then the map could be growing forever causing a memory leak. A better approach is to store that help as a instance on the http component, then its private to this component. You can create the helper in the doInit method etc. -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org