Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
19.21. Apache Camel
19.21.1. Apache Camel 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Camel is an open source rules-based router developed by the Apache Project.
19.21.2. Using Apache Camel 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To learn how to use Apache Camel, refer to the Red Hat JBoss Fuse Web Services and Routing with Camel CXF Guide.
19.21.3. Using Camel Routes Directly 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
You can deploy Camel routes directly in your user application, without needing to use SwitchYard. For example, you can deploy the Camel routes as a WAR file, fronted by a servlet or CXF.
19.21.4. Supported Camel Components 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
The following Apache Camel components are supported by JBoss Fuse:
- camel-amqp
- camel-atom
- camel-atom
- camel-bindy
- camel-cdi
- camel-cxf
- camel-dozer
- camel-file
- camel-ftp
- camel-hl7
- camel-http
- camel-jaxb
- camel-jms
- camel-jpa
- camel-mail
- camel-mqtt
- camel-netty
- camel-quartz
- camel-rss
- camel-sap
- camel-saxon
- camel-sql
19.21.5. Running Camel Examples 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
The Camel CXF (code first) example uses code-first to expose a web service in Camel running on JBoss EAP. It can be run using Maven.
Procedure 19.1. Task
- To build the example, navigate to its directory and run the following command:
mvn clean install
mvn clean install
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To run the example, deploy it in JBoss EAP by copying the
camel-example-cxf-tomcat.war
located in the target directory to thestandalone/deployments/
folder.The webservice is available in http://localhost:8080/camel-example-cxf-tomcat/webservices/incident?wsdl.
19.21.6. Sample Client With Camel CXF 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
This is what a sample client made with Camel CXF looks like:
19.21.7. Camel Servlet Without Spring Example 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Procedure 19.2. Task
- To build the example, navigate to the Apache Tomcat directory and enter the following command:
mvn package
mvn package
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To deploy the example, copy the resulting
.war
file into Apache Tomcat'sDeploy
folder. - To access the example, open your browser and navigate to http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.10.0
- To access the servlet, go to http://localhost:8080/camel-example-servlet-tomcat-no-spring-2.10.0/camel