camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-434) Location of Spring and Camel configs should be configurable in Camel Maven Plugin
Date Sat, 05 Apr 2008 13:00:33 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42018#action_42018
] 

Willem Jiang commented on CAMEL-434:
------------------------------------

The URI will be split by ";" and  feed to the ClassPathXmlApplicationContext as a construction
parameter.
{code}
     protected AbstractApplicationContext createDefaultApplicationContext() {
        String[] args = getApplicationContextUri().split(";");
        return new ClassPathXmlApplicationContext(args);
    }
{code}

so if you want to specfiy more than one file, it could be "META-INF/spring/*.xml;file-in-the-class.file"

> Location of Spring and Camel configs should be configurable in Camel Maven Plugin
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-434
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-434
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 1.4.0
>            Reporter: Martin Gilday
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>
> The camel:run and camel:embeddable operations use META-INF/spring/*.xml as the default
for the Spring ApplicationContext.  It should be possible to change this through the plugin
configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message