Hi

I think plain XML include/import will do it. Try googling for xml
import/include with/without Spring as I am sure there are a solution
out there.

However I usually define multiple spring .xml files in the web.xml as:

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            classpath:cxf-config.xml
            classpath:test-config.xml
            classpath:myother-config.xml
        </param-value>
    </context-param>

If you as I are using the web deployment model.


/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/



On Tue, Nov 18, 2008 at 9:44 AM, mta38 <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> Is someone known if is it possible to define endpoint in an xml config file
> and business route which uses these endpoints in another xml config file?
> For example:
> I would like to create a file myEndpoints.xml which contains:
>
> …
> <cxf:endpoint id="cxf_endpoint"….>
> <jms:endpoint id="aJmsEndpoint"…>
> And so on…
>
> My business routes file "businessRoute.xml" will only contains routes which
> use these endpoints, but I don't know how to include (or import)
> myEndpoints.xml in businessRoute.xml.
> Any help are welcome :working:.
> Thanks in advance .
>
> --
> View this message in context: 
> http://www.nabble.com/Configure-endpoints-in-a-xml-file-and-routes-in-another-xml-file-tp20555508s22882p20555508.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to