Hi,
Why did you need to load CXF internal API to load the routeContext?
Can yo just use SpringCamelContext to load the camel routes?
BTW, can you pass the routeContext.xml here?
It could be much easier for us to reproduce the error by trying your test case.
--
Willem Jiang
Red Hat, Inc.
Fuse
Hello,
camel 2.10.3
JDK 1.6
Help to tell me what causes the exception? Thank you very much!
public static void main(String[] args) throws Exception {
ModelCamelContext ctx = new DefaultCamelContext();
RoutesDefinition rd =
ctx.loadRoutesDefinition(TestFile.class.getResourceAsS