Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quarkus-camel - Use MainSupport as base for running Camel #9

Closed
davsclaus opened this issue Jun 27, 2019 · 3 comments
Closed

quarkus-camel - Use MainSupport as base for running Camel #9

davsclaus opened this issue Jun 27, 2019 · 3 comments
Assignees
Milestone

Comments

@davsclaus
Copy link
Contributor

We should look at using MainSupport (parts of Camel Main) some more for bootstrapping camel-quarkus.

Then its similar across standalone Camel, Camel K, and Camel Quarkus. And also Camel Main has parts that are similar to Camel Spring Boot.

@ppalaga
Copy link
Contributor

ppalaga commented Aug 1, 2019

This should be easier to do now that we are on Camel 3.0.0.M4. Any hints or examples @davsclaus how to do that?

@lburgazzoli
Copy link
Contributor

As today core is responsible to act like a main but for better flexibility (i.e. for other to build on top of core) I think we need to split responsibilities like:

  1. core to set-up low level things such as:
  2. main to set up application related things, like:
    • initialize, start/stop the camel context created by core
    • discover routes
    • discover and register life-cycle interceptors (to allow i.e. camel-k to hook into the static init build processors)
    • integration with quarkus health checks Expose health in quarkus  #141
    • integration with quarkus metrics Expose metrics in quarkus #128
    • fire CDI events

/cc @gnodet @davsclaus

@lburgazzoli lburgazzoli added this to the 1.0.0 milestone Aug 19, 2019
@lburgazzoli lburgazzoli self-assigned this Oct 1, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 2, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 2, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 3, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 3, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 3, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 3, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 4, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 4, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 4, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 4, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 4, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 5, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 5, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Oct 5, 2019
@lburgazzoli
Copy link
Contributor

Fixed by #226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Platform integration
Awaiting triage
Development

No branches or pull requests

3 participants