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

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

Ah I think we need to have a CamelMainCommandLine class (or find a good name) 
where this kind of logic can be. As camel-spring and camel-blueprint extends 
this class as they offer command line support, eg you can load XML files via it 
etc.

Then CamelSupport can be the base class with the other stuff we have.

> 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