You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/07/23 08:52:14 UTC

[GitHub] [camel] davsclaus commented on pull request #5824: camel-websocket: safe extension of endpoint

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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org