Managed Services Providers – Discrimination by Proxy

Skills421 has recently tendered for and won Government project work directly.  Whilst this is great news, the concern with public sector work is the time it takes to get paid.  With the ongoing recession, the Government has mandated that small business should be paid expediently - so no more 3 months wait to get paid.... Continue Reading →

Connecting Drools 5.6 to Camel to Fire Rules on Distributed Knowledge Sessions

Objective In this post we are going to create a Drools Stateful Knowledge Session and bind it to a JNDI address. We will then use Camel to fire all the rules in that session. This is useful where we wish to have multiple Knowledge Sessions on multiple servers. This example uses the Drools Grid -... Continue Reading →

Connecting Drools 5.6 with Spring 3.x

This post is concerned predominantly with linking Spring3.x and Drools5.6. We will configure Spring, Drools and create a simple rule to test that we are up and running. Add the Drools Plug-in to Spring STS Start Eclipse Help -> Install New Software Work With: http://download.jboss.org/drools/release/5.5.0.Final/org.drools.updatesite/ click the "Add" button Name: Drools Check the Drools and... Continue Reading →

Retrieving Local Files from a JMS Queue

In this example, we will retrieve the messages we put on the message queue in post Sending Local Files to a JMS Queue and stored them locally. Edit JMSCopier.java Add the retrieveFileFromJMS method to the JMSCopier class as follows: JMSCopier.java Edit JMSCopierTest.java Add the method testRetrieveLocalFilesFromJMSQueue to the JMSCopierTest class as follows: JMSCopierTest.java Note, you will... Continue Reading →

Installing ActiveMQ JMS Messaging System

For our next Camel example we need to install ActiveMQ to use as a JMS Messaging System. Download ActiveMQ Download the latest version of ActiveMQ from activemq.apache.org To run on a Mac, I downloaded the apache-activemq-5.9.0-bin.tar.gz and copied it to /Applications/Development, where I expanded it to give: /Applications/Development/apache-activemq-5.9.0 Configure ActiveMQ You need to set ACTIVEMQ_HOME to point to /Applications/Development/apache-activemq-5.9.0, and set... Continue Reading →

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.camelartifactId:  CamelBasicsversion: 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 and add... Continue Reading →

Up ↑

%d bloggers like this: