You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/11/14 12:05:24 UTC
[jira] Created: (CAMEL-3339) Main class in camel-core
Main class in camel-core
------------------------
Key: CAMEL-3339
URL: https://issues.apache.org/activemq/browse/CAMEL-3339
Project: Apache Camel
Issue Type: New Feature
Components: camel-core
Affects Versions: 2.5.0
Reporter: Claus Ibsen
Priority: Minor
Fix For: Future
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.
[jira] Commented: (CAMEL-3339) Main class in camel-core
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63432#action_63432 ]
Claus Ibsen commented on CAMEL-3339:
------------------------------------
You can use the generic mvn exec:java goal for starting any Java main class.
> Main class in camel-core
> ------------------------
>
> Key: CAMEL-3339
> URL: https://issues.apache.org/activemq/browse/CAMEL-3339
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.5.0
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
>
> 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.
[jira] Commented: (CAMEL-3339) Main class in camel-core
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63346#action_63346 ]
Claus Ibsen commented on CAMEL-3339:
------------------------------------
Currently there is the MainSupport in org.apache.camel.util package which we should extend. The MainSupport lacks the shutdown hook and it got some abstract methods which you must implement. Having a simple to use Main class in camel-core is easier for Camel end users.
> Main class in camel-core
> ------------------------
>
> Key: CAMEL-3339
> URL: https://issues.apache.org/activemq/browse/CAMEL-3339
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.5.0
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
>
> 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.
[jira] Commented: (CAMEL-3339) Main class in camel-core
Posted by "Tracy Snell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63429#action_63429 ]
Tracy Snell commented on CAMEL-3339:
------------------------------------
The maven plugin would also need a goal that supports it.
> Main class in camel-core
> ------------------------
>
> Key: CAMEL-3339
> URL: https://issues.apache.org/activemq/browse/CAMEL-3339
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 2.5.0
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: Future
>
>
> 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.