Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 94779 invoked from network); 9 Jan 2011 00:33:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2011 00:33:09 -0000 Received: (qmail 99531 invoked by uid 500); 9 Jan 2011 00:33:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 99497 invoked by uid 500); 9 Jan 2011 00:33:09 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 99489 invoked by uid 500); 9 Jan 2011 00:33:09 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 99486 invoked by uid 99); 9 Jan 2011 00:33:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 00:33:09 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 00:33:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p090WjZp011145 for ; Sun, 9 Jan 2011 00:32:46 GMT Message-ID: <17107304.234691294533165947.JavaMail.jira@thor> Date: Sat, 8 Jan 2011 19:32:45 -0500 (EST) From: "Ben O'Day (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-3339) Main class in camel-core MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben O'Day updated CAMEL-3339: ----------------------------- Attachment: camel-core-main-class.txt Alright, I think I answered my own question. Here is a stab at this assuming we are manually creating a context w/o spring support... run with: mvn exec:java -Dexec.mainClass="org.apache.camel.Main" > Main class in camel-core > ------------------------ > > Key: CAMEL-3339 > URL: https://issues.apache.org/jira/browse/CAMEL-3339 > Project: Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.5.0 > Reporter: Claus Ibsen > Priority: Minor > Fix For: 2.7.0 > > Attachments: camel-core-main-class.txt > > > When people run Camel standalone they may only use camel-core (and not camel-spring). And therefore they would like a {{Main}} class in camel-core JAR which works similar to the Main class from camel-spring. Must noticeable it should be able to start and then block until the app is terminated (the shutdown hook). > See for example nabble > http://camel.465427.n5.nabble.com/Filtering-an-xml-directory-tp3264230p3264230.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.