Bundle is waiting for namespace handlers [http://camel.apache.org/schema/blueprint]

后端 未结 2 435
醉酒成梦
醉酒成梦 2021-01-14 03:14

I have written a simple apache camel project which will eventually be deployed in a FUSE container. For now, I\'m simply trying to get a basic unit test working. I\'m usin

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-14 03:38

    Turns out that a routeContext only exists in the context of xml dsl, and cannot be referenced from the Java DSL. This in my opinion is a bug, since it restricts the flexibility of mixing xml and java configuration.

    By changing the routeContext to a camelContext, this fixed the problem.

    See also this question: Camel: importing routeContext into an external camelContext

    Also related: https://issues.apache.org/jira/browse/CAMEL-5717

提交回复
热议问题