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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content