Claus Ibsen wrote:
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube <claus.stra...@catify.com> wrote:
Hi Daniel,

I think this is not part of the documentation, because it's a native spring
functionality. With

<import resource="myCoolRoutes.xml"/>

you're importing a new Spring context and here of course you need a
surrounding bean element.

But those of us whose only exposure to spring is via camel wouldn't
know that, the page (did) make it appear that the entire
myCoolRoutes.xml file was being shown and there were no bean element
nor namespace declaration.

I have updated the wiki page to include the spring bean xml stuff you
need as well.

Great, that's all I wanted. Thanks.

Is this the right place to post extra xml configuration examples
to be added? For example, figuring out how to do:

.setHeader(HttpConstants.HTTP_URI, constant("http://newhost";))

in XML is nowhere in the documentation.

(<setHeader headerName="CamelHttpUri"> if anybody's
googling for this, by the way)

--
Illtud Daniel                                 illtud.dan...@llgc.org.uk
Prif Swyddog Technegol                          Chief Technical Officer
Llyfrgell Genedlaethol Cymru                  National Library of Wales

Reply via email to