Apache Camel / SEDA – application from scratch

This is a great little tutorial that takes you from scratch to a full blown Camel and SEDA application, with some good discussion and explanation as you go along. http://vrtoonjava.wordpress.com/category/apache-camel-tutorial

Advertisements

Send JMS Text Message to ActiveMQ

In this post we are going to send a simple text message to ActiveMQ using JMS. Install ActiveMQ First install ActiveMQ as per my previous post. Start ActiveMQ as per the instructions in the previous Open the web browser and view the queues. There should be no visible queues. Create a Maven Project Create the JMSManager … Continue reading Send JMS Text Message to ActiveMQ

Maven Pom Transfer Artifact Error

One nice little problem that has given us a bit of trouble recently is pom errors where non were expected. A typical error message would be: This is cause by failed repository downloads, where Maven thinks they have already downloaded and so Maven cannot build the project. The solution to this is to remove all … Continue reading Maven Pom Transfer Artifact Error

Spring 3 – Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.spring Artifact Id: Spring3.2.6Example Finish pom.xml Person bean src/main/java com.skills421.examples.spring.model.Person ApplicationContext src/main/resources ApplicationContext.xml Main src/main/java com.skills421.examples.spring.Main Output

Drools6.0 Basic Example

This post has been updated to the very latest Drools6.x - the new post can be found here: Drools6.x Basic Example Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools6.0Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output

Drools5.6 Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools5.6Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output

Drools5.4 Basic Example

Creating the Project Open Eclipse (Kepler) New -> Maven Project Simple Project Group Id: com.skills421.examples.drools Artifact Id: Drools5.4Example Finish pom.xml Rule Runner src/main/java com.skills421.examples.drools.controller.RuleRunner Person src/main/java com.skills421.examples.drools.model.Person Main src/main/java com.skills421.examples.drools.Main Rules src/main/resources test1.drl Output