Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 86838 invoked from network); 5 Apr 2008 13:03:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2008 13:03:11 -0000 Received: (qmail 39287 invoked by uid 500); 5 Apr 2008 13:03:11 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 39268 invoked by uid 500); 5 Apr 2008 13:03:11 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 39259 invoked by uid 99); 5 Apr 2008 13:03:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2008 06:03:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2008 13:02:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 510F4234C0AD for ; Sat, 5 Apr 2008 06:00:33 -0700 (PDT) Message-ID: <1874114373.1207400433317.JavaMail.jira@brutus> Date: Sat, 5 Apr 2008 06:00:33 -0700 (PDT) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-434) Location of Spring and Camel configs should be configurable in Camel Maven Plugin In-Reply-To: <209051347.1207229132642.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.