camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dantam74 <>
Subject Re: camel-context only seems to work within the same file or do I use it wrong?
Date Mon, 02 Sep 2013 06:15:56 GMT
Importing the resource sounds like a good idea :-) I tried it but
unfortunately I get the following error:

Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'import'. One of
WC[##other:""]}' is expected.

I googled a bit and I've seen other examples now. Right now the whitebox.xml
looks as below:

<?xml version="1.0" encoding="UTF-8"?>

 <import resource="classpath:META-INF/blackbox.xml"/>

 <camelContext id="whitebox"
xmlns="" depends-on="blackbox">

        <route id="TestWhiteBox">
                <from uri="context:blackbox:testBlackBox"/>
                <log message="Called black box from white box"/>


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message