You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2019/10/03 14:50:01 UTC

[jira] [Created] (CAMEL-14031) Move process control from Main to MainSupport

Luca Burgazzoli created CAMEL-14031:
---------------------------------------

             Summary: 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
             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)