davsclaus commented on pull request #5824: URL: https://github.com/apache/camel/pull/5824#issuecomment-885495871
Yes @oscerd is correct - Camel does *NOT* use constructors to initialize endpoints - all such logic must be done in its lifecycle phase, build, init, start etc. There may be some components doing some of this still (old way) but there are 300+ so a few may have some old code - and this websocket component is old and based on jetty. The last commit to introduce a protected method with newXXX is okay - we do something like that in jms component for example. -- 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]
