Monthly Archives: December 2011

Apache Camel – JDBC with Spring Transaction support

Continuing my journey with Fuse ESB (ServiceMix) and Apache Camel I will present a small example on how to route your messages in a transacted way using Spring Transaction Manager. For the purpose of this tutorial we are going to define a datasource to in memory Hsqldb instance and configure it with ‘org.springframework.jdbc.datasource.DataSourceTransactionManager’. Our camel […]

Read More →

Java EE 6 Testing with Arquillian Persistence Extension

Today I will describe my newly discovered library which is an extension to the great JBoss Arquillian project. The mission of the Arquillian project is to provide a simple test harness that abstracts away all container lifecycle and deployment from the test logic so developers can easily produce a broad range of integration tests for […]

Read More →

ServiceMix (FuseESB) Unit Testing your routes

Today I will present simple way to test your camel routes. For building camel based service mix application, look into Part 4 of this tutorial series. Let’s say we have the following route defined in a class extending RouteBuilder class: public void configure() {         from("activemq:test2").split(xpath("/notes/note")).parallelProcessing().setHeader("id", simple("123")).to("activemq:test3");     } This route […]

Read More →

Oracle Certified Master, Java EE 5 Enterprise Architect

Today I have received very long awaited email from Oracle: Congratulations! You have passed the Oracle Certified Master, Java EE 5 Enterprise Architect certification. You are among the elite 1% of certified Java professionals who have gone on to achieve the Java Enterprise Architect certification. I was waiting for the result for almost 4 months […]

Read More →

ServiceMix (FuseESB) – Camel OSGI Example – Part 4

As I have encountered problems developing further my ServiceMix ESB application (you can read about it here) I was forced to switch from the JBI style to pure OSGI (at this point I have to say that the previous parts were mainly based on the information from ServiceMix website which I have to say is […]

Read More →

ServiceMix (Fuse ESB) – Bean Service Unit – Part 3

Today I will describe how to connect bean type service unit with our existing application build in Part 1 and Part 2. The ServiceMix Bean component provides integration with beans (POJOs) with the JBI bus to make it easy to use POJOs to process JBI message exchanges. Like in an Message Driven Bean in J2EE […]

Read More →

ServiceMix (Fuse ESB) – File SU + JMS SU Example – Part 2

This is the second part of the tutorial on how to build ServiceMix ESB application connecting file system service unit with JMS. You can find the first part of the tutorial here where I’ve described how to prepare your environment to test our application and possibly other applications in the future. The first part was […]

Read More →

ServiceMix (Fuse ESB) – File SU + JMS SU Example – Part 1

Continuing my adventure with ESB’s and ServiceMix in particular I will describe a simple example of File system and JMS integration. First of all, we need to do some preparation work to be able to send JMS messages and check if they are delivered/consumed on the JMS message broker. For the purpose of this tutorial […]

Read More →

Apache ServiceMix (Fuse ESB) with Camel

Today I will present a quick intro tutorial into ESB and Camel. While going through the examples on the ServiceMix website I have encountered a few problems preventing me from developing the simplest applications. As the ServiceMix tutorial is a bit outdated I present you with the similar corrected version of the original tutorial. Download […]

Read More →

Small tip for linux geeks

For all the linux geeks out there, I would like to share my latest discovery which is CommandLineFu Go in there, sort the commands by votes, fire up your terminal and practice 🙂

Read More →