-
Couldn't load subscription status.
- Fork 56
Building Apache Camel
-
When following the steps below please use a standard permission user unless otherwise specified.
-
A directory
/<source_root>/will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Apache Camel binary releases are available here. To use these binaries, different Java flavors can be installed on mentioned distributions.
Note: Apache Camel(v3.9.0) was verified at the time of creation of these instructions
export SOURCE_ROOT=/<source_root>/-
RHEL (7.7, 7.8, 7.9, 8.1, 8.2)
- With Open JDK:
sudo yum install -y java-11-openjdk java-11-openjdk-devel maven - With AdoptOpenJDK 11
sudo yum install -y wget tar maven
- Download and install AdoptOpenJDK 11 (with HotSpot or OpenJ9) from here.
- With Open JDK:
-
SLES (12 SP5, 15 SP2)
- With Open JDK:
sudo zypper install -y wget tar gzip java-11-openjdk java-11-openjdk-devel - With AdoptOpenJDK 11
sudo zypper install -y wget tar gzip
- Download and install AdoptOpenJDK 11 (with HotSpot or OpenJ9) from here.
- With Open JDK:
-
Ubuntu (18.04, 20.04, 21.04)
-
With Open JDK
sudo apt-get update sudo apt-get install -y openjdk-11-jdk maven -
With AdoptOpenJDK 11
sudo apt-get -y install wget tar maven
- Download and install AdoptOpenJDK 11 (with HotSpot or OpenJ9) from here.
-
cd $SOURCE_ROOT
wget https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.tar.gz
tar -xvzf apache-maven-3.8.1-bin.tar.gz
export M2_HOME=$SOURCE_ROOT/apache-maven-3.8.1
export PATH=$M2_HOME/bin:$PATHexport JAVA_HOME=<path to java>
export PATH=$JAVA_HOME/bin:$PATHTo use the camel binary in your Apache Maven pom.xml, import the Camel Bill of Materials (BOM) and then include the camel-core and any other components needed as mentioned here. There are also few examples available to refer.
Note: Apache Component references provides various references that offers services for messaging, sending data, notifications and various other services that can not only resolve easy messaging and transferring data but also provide securing of data. However few components such as Deep Java Library, camel-kudu are not supported on s390x.
If you want to build camel from source, refer official documentation
http://camel.apache.org/ https://camel.apache.org/components/latest/ https://camel.apache.org/docs/ https://camel.apache.org/releases/release-3.9.0/
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.