Hi,
I am new to Spring and camel.
I am experiencing the same issue for the unexpected element.
May I know how to load the appContext via Spring first then load the
route xml?
Appreciate if you can provide me a sample for the loading appcontext via
Spring.
Thanks in advanced.
Hi All,
After spending a lot of time with the namespace issue, I decided to follow a
different approach
1st load the appContext via Spring. This appContext has a camel:camelContext
that defines the errorHandlerRef attributes and also other items like
camel:onException
camel:onCompletion
Once the
Hi,
There was a matching ending tag for routeContex. (the routes.xml was quite
large, so I had pasted only a section of it)
Issue is not because of invalid XMl but because of namespace but not able to
figure it out
http://camel.apache.org/schema/spring";>
Hi
You need an endingtag.
You know any modern IDE can do XML validation.
On Fri, Mar 15, 2013 at 4:19 PM, deepak_a wrote:
> Hi All,
>
> Based on reading posts by other users I am following this approach.
> An applicationCOntext that has a camel:camelContext (that defines define one
> or mo
Hi All,
Based on reading posts by other users I am following this approach.
An applicationCOntext that has a camel:camelContext (that defines define one
or more camel:routeContextRef )
Each of these camel:routeContextRef is referred in routes.xml (routeContext
id)
These routes.xml will be loaded
All,
In my current application I use Spring appContext which has a
camel:camelContext.
Under it I have defined a camel:routeContextRef (which corresponds to the
routeContext in my routes.xml)
As per "How do I import routes from other XML files" in
http://camel.apache.org/configuring-camel.html