apache / apache/camel-quarkus

Turn on eager-classloading (Camel 3.10) by default to optimize

Open
#2,425 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 20h
Merged PRs (30d)
114

Description

In camel-main there is a new option

camel.main.eager-classloading = true

We can be a bit smarter in camel-quarkus, and so some kind of build step, that triggers invoking this eager classloading inside camel-main. This helps to ensure those classes are loaded during build time instead of runtime at the first message processed by Camel.

We need to ensure that this is triggered as part of quarkus and its built time phase so its triggered for both JVM vs native mode

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the camel-main eager-classloading option and the camel-quarkus build-step integration, then inspect how Quarkus build-time processing applies to both JVM and native mode. Done means eager classloading is triggered during the Quarkus build phase in both modes rather than on the first Camel message.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.