-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework Kamelet build time code to avoid bytecode serialization issues
Fixes #6831
- Loading branch information
1 parent
df430f6
commit 39f0e08
Showing
24 changed files
with
285 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
= Camel Quarkus 3.18.0 Migration Guide | ||
|
||
The following guide outlines how to adapt your code to changes that were made in Camel Quarkus 3.18.0. | ||
|
||
== `camel-quarkus-yaml-dsl` is now required when using Kamelets with the Java DSL | ||
|
||
When using Kamelets in conjunction with Java DSL routes, you must ensure `camel-quarkus-yaml-dsl` is added to the project dependencies. | ||
|
||
[source,xml] | ||
---- | ||
<dependency> | ||
<groupId>org.apache.camel.quarkus</groupId> | ||
<artifactId>camel-quarkus-yaml-dsl</artifactId> | ||
</dependency> | ||
---- | ||
|
||
Failing to do this will result in a runtime exception like the following. | ||
|
||
[source,shell] | ||
---- | ||
java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: kamelet.yaml | ||
---- | ||
|
||
TIP: You can create Kamelets using Camel JBang, export them to a Camel Quarkus application and `camel-quarkus-yaml-dsl` will be added automatically. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.