[
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.