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/10/25 01:29:18 UTC
[GitHub] [camel] ramu11 commented on pull request #6324: "CAMEL-17116:components - Loading resource from classpath should use …
ramu11 commented on pull request #6324:
URL: https://github.com/apache/camel/pull/6324#issuecomment-950448559
> You should either use
>
> getCamelContext().getClassResolver().resolveClass
>
> And if you cannot get hold of CamelContext then use
>
> org.apache.camel.util.ObjectHelper#loadClass(java.lang.String)
so it should be like below ?
getCamelContext().getClassResolver().loadResourceAsStream("/global-camel-routes.xml"))
--
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