How to import a camel route definition present in a different bundle

Solution In Progress - Updated -

Issue

I have a spring xml file contains a camel route definition and it is in a separated bundle. I also have some other camel spring bundles and would like to use the camel route definition as a common route.

So I tried to import it to other bundles's camel contexts:

    <!-- import common routes and configurations -->
    <import resource="classpath:Utils.JmsConfig.xml" />

However, I was getting FileNotFoundException when I tried to import it.

Environment

  • JBoss Fuse
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.