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

Claus Ibsen commented on CAMEL-623:
-----------------------------------

You can now do
{code}
      <plugin>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-maven-plugin</artifactId>
        <version>1.4-SNAPSHOT</version>
          <configuration>
            
<fileApplicationContextUri>src/main/webapp/WEB-INF/camel-context.xml</fileApplicationContextUri>
          </configuration>
      </plugin>
{code}

fileApplicationContextUri is the new option for FileSystemXmlApplicationContext

> camel:run to scan for spring xml files outside classpath
> --------------------------------------------------------
>
>                 Key: CAMEL-623
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-623
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> For quick development where you are packaging a war application and the 
> spring xml files is located in WEB-INF folder then camel:run can not locate 
> the files as it scans in the classpath only.
> Configuraiton like this should be possible:
> {code}
>       <plugin>
>         <groupId>org.apache.camel</groupId>
>         <artifactId>camel-maven-plugin</artifactId>
>           <configuration>
>             <applicationContextUri>WEB-INF/*.xml</applicationContextUri>
>           </configuration>
>       </plugin>
> {code}

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

Reply via email to