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

Claus Ibsen commented on CAMEL-14031:
-------------------------------------

Didnt you read the memo - OSGi is everywhere ;)

Ah okay kidding aside.

There is a camel:run maven plugin that actually uses this main class, which 
takes in command line flags. And this maven plugin also runs osgi blueprint, as 
well as spring xml, or just spring and java. 

> Move process control from Main to MainSupport
> ---------------------------------------------
>
>                 Key: CAMEL-14031
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14031
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-main
>            Reporter: Luca Burgazzoli
>            Priority: Major
>             Fix For: 3.x
>
>
> org.apache.camel.main.MainSupport is now in charge to parse command line 
> arguments, keep the process up according to some policies, intercepts 
> shutdown events and so on.
> To make it easier to re-use MainSupport in other projects such as 
> camel-quarkus where as example there's no control over command line 
> arguments, it would be nice to move the process control logic to 
> org.apache.camel.main.Main.
> [~davsclaus] does it make sense or there is something I haven't taken into 
> account ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to