I'm working on a Java/Camel application. I've configured camel through XML files which leads to a
<camelContext id="CamelContext" xmlns="http://camel.apache.org/schema/spring">
<proxy id="someProcessor"
serviceInterface="some.Processor"
serviceUrl="direct:processMessage"/>
</camelContext>
Intellij always gives me a warning that the custom bean is not yet parsed. I don't want to agree on that for every edit I make in the CamelContext. E.g (changed the proxy id):
<camelContext id="CamelContext" xmlns="http://camel.apache.org/schema/spring">
<proxy id="someProcessor1"
serviceInterface="some.Processor"
serviceUrl="direct:processMessage"/>
</camelContext>
(BTW, if I reverse the edit, the bean is considered parsed again.)
Is there a way to automatically parse custom beans?
If you add a Spring Facet
and the Spring config file including the camelContext is under the Spring Application Context
then there shouldn't be a problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With