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 →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 →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 →