Skip to content

Commit 7603385

Browse files
authored
Update 03-demo.adoc with references to Camel 4
1 parent cd3acc9 commit 7603385

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

documentation/modules/ROOT/pages/03-demo.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ video::8NDm6XbEiJE[youtube, width=800, height=480, start=832]
2121

2222
=== Overview
2323

24-
The templates are available in the following repository: https://github.com/mthirion/fuse-to-camel3-camelk[https://github.com/mthirion/fuse-to-camel3-camelk ^]
24+
The templates are available in the following repository: https://github.com/mthirion/fuse-to-camel3-camelk[https://github.com/mthirion/fuse-to-camel3-camelk/tree/4.0 ^]
2525

2626

27-
* The repository has a dedicated branch for each target version: currently *Camel 3.18* or *Camel 3.20*
27+
* The repository has a branch specific to the current Red Hat Build of Apache Camel 4.
2828
+
2929
image:repo-branch.png[width=60%]
3030

@@ -55,10 +55,10 @@ First, clone the repository: +
5555

5656
$ git clone https://github.com/mthirion/fuse-to-camel3-camelk
5757

58-
Enter the repository and switch, for example, to the 3.18 branch. +
58+
Enter the repository and switch to the 4.0 branch. +
5959

6060
$ cd fuse-to-camel3-camelk
61-
$ git checkout 3.18
61+
$ git checkout 4.0
6262

6363
==== Getting the source application
6464
The demoed example is a migration of a CXF-based REST API implemented using FUSE 6 +
@@ -143,8 +143,8 @@ To complete it, proceed to follow the below steps.
143143
It's referenced by name as "claimProcessor", and correspond to the class org.blogdemo.claimdemo.ClaimProcessor.java. +
144144
Therefore, add the below annotation to that Java class:
145145

146-
import javax.enterprise.context.ApplicationScoped;
147-
import javax.inject.Named;
146+
import jakara.enterprise.context.ApplicationScoped;
147+
import jakarta.inject.Named;
148148

149149
@Named("claimProcessor")
150150
@ApplicationScoped
@@ -155,7 +155,7 @@ Therefore, add the below annotation to that Java class:
155155
+
156156
[NOTE]
157157
====
158-
The Camel CXFRS component has been removed from Camel 3. Camel 3 now relies on the Camel REST component for the implementation of REST API endpoints. This provides separation of concerns between th REST interface and the REST implementation. It's recommended to generate the REST interface from an OpenAPI specification. +
158+
The Camel CXFRS component has been removed from Camel since v3. Camel now relies on the Camel REST component for the implementation of REST API endpoints. This provides separation of concerns between th REST interface and the REST implementation. It's recommended to generate the REST interface from an OpenAPI specification. +
159159
Camel ships a Maven plugin to automate th creation of the required code from the openAPI document. +
160160
====
161161
+

0 commit comments

Comments
 (0)