jamesnetherton opened a new issue, #6831:
URL: https://github.com/apache/camel-quarkus/issues/6831
### Bug description
To reproduce, include `camel-kamelets` and the following configuration:
```
quarkus.camel.kamelet.identifiers = aws-s3-sink
```
Seems there are other Kamelets in the catalog that also lead to the same
issue.
```
Build step io.quarkus.deployment.steps.MainClassBuildStep#build threw an
exception: java.lang.StackOverflowError
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadComplexObject(BytecodeRecorderImpl.java:1064)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstanceImpl(BytecodeRecorderImpl.java:914)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstance(BytecodeRecorderImpl.java:586)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadComplexObject(BytecodeRecorderImpl.java:1361)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstanceImpl(BytecodeRecorderImpl.java:914)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadObjectInstance(BytecodeRecorderImpl.java:586)
at
io.quarkus.deployment.recording.BytecodeRecorderImpl.loadComplexObject(BytecodeRecorderImpl.java:1361)
```
Unless we can fix this issue in a reliable way, such that we don't need to
keep patching the build time code, then I propose to deprecate
`quarkus.camel.kamelet.identifiers` and its associated build items etc. Runtime
loading of Kamelets already works fine and is what JBang will push folks
towards if they export an app to CQ.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]