tutorial

EAP Webservice with Camel on Openshift – part 3

This post follows on from EAP Webservice with Camel on Openshift – part 1 EAP Webservice with Camel on Openshift – part 2 Part 3 – Moving our EAP to Openshift Overview For the last few days I have been getting to grips with JBoss Openshift, which is JBoss’ answer to PAAS – Platform as a Service. Like …

EAP Webservice with Camel on Openshift – part 3 Read More »

EAP Webservice with Camel on Openshift – part 2

This post follows on from EAP Webservice with Camel on Openshift – part 1 Part3 – Moving our EAP to Openshift can be found here Part 2 – Deploying to JBoss EAP Overview For the last few days I have been getting to grips with JBoss Openshift, which is JBoss’ answer to PAAS – Platform as a Service. Like all …

EAP Webservice with Camel on Openshift – part 2 Read More »

EAP Webservice with Camel on Openshift – part 1

Part2 – Deploying to EAP can be found here Part3 – Moving our EAP to Openshift can be found here Part 1 – Establishing a Simple Camel Route Overview For the last few days I have been getting to grips with JBoss Openshift, which is JBoss’ answer to PAAS – Platform as a Service. Like all relatively …

EAP Webservice with Camel on Openshift – part 1 Read More »

Downloading Files using Camel and SFTP

In this example, we will download files from a Server using SFTP and store them in a local directory. Create a Maven Project Create a Maven Project groupId: com.skills421.examples.camel artifactId:  CamelBasics version: 0.0.1-SNAPSHOT Update Pom.xml pom.xml Edit FTPCopier.java Edit ftpCopier.java to add the method sftpDownload as follows: FTPCopier.java Edit FTPCopierTest.java Edit FTPCopierTest.java to @Ignore the ftp test …

Downloading Files using Camel and SFTP Read More »

Downloading Files using Camel and FTP

In this example, we will download files from a Server using FTP and store them in a local directory Create a Maven Project Create a Maven Project groupId: com.skills421.examples.camel artifactId:  CamelBasics version: 0.0.1-SNAPSHOT Update Pom.xml pom.xml Edit FTPCopier.java Create the FTPCopier.java code as follows: FTPCopierTest.java Note that you will need to define your own FTP Server to …

Downloading Files using Camel and FTP Read More »

@Autowired and @Qualifier Annotations for Spring

We use @Autowired to automatically wire our bean dependencies. Example In the following example, we have autowired the home address for our student from the previous example. Spring will look for a single bean with a type that matches the type for home. If it finds this bean then it will automatically inject that bean …

@Autowired and @Qualifier Annotations for Spring Read More »

Spring 3 – Injecting Values with XML Config

Overview This post demonstrates setting Spring Bean property values using an xml config file. The example demonstrates the following principles: setter injection constructor injection (by index) multiple argument injection (by name) bean injection by reference list injection (by value and by reference) aliases Example The following example is presented as a Maven Project.  The Spring …

Spring 3 – Injecting Values with XML Config Read More »