Skip to main content


Showing posts from September, 2015

Red Hat JBoss Fuse - Tools make your world go round, the slides and basics

This is suppose to be my vJBUG topic, it's about better tooling saves you valuable time when developing! During the talk, I have develop a JBoss Fuse Application using the latest tooling available in JBoss Fuse! Here are the things I go over, How to debug Camel application using the tooling provides. Data mapping between POJO and XML, JSON with Dozer with drag and drops only.  Deploy and package an OSGi ready Applications.  Before the demo, here are some basics. This video goes through and tells you all about the tools available for JBoss Fuse. The slide for the presentation is here: demos will be on next post.

RHTE - Supercharge your integration services

Red Hat Tech Exchange has taken place in Vietnam, Ho Chi Minh city two weeks ago, it is a great event held by Red Hat in Asia Pacific Region. It is open to all Red Hat partners who are interested in learning what Red Hat is doing recently, see what the trend of the open source world, basically it is a great event to share your knowledge and experience, to meet other enthusiastic people. I am very fortunate to talk in this great event, to talk about the things I have been working on and even discuss it with many. Also got lots of great ideas too. So here are the slide. My first talk was with Thomas Qvarnström about how to handle large size data in JBoss Fuse and how JBoss Data Grid can help in the situation. Here is the agenda of the talk, we will be talk about this in the up coming webinar on 24th Sept. Integration often involves storing, retrieving, and transforming data. Using a traditional database in your integration is likely to becomes a bottleneck that is expensive and h

New top menu

OK, I have been saying this for a long time, updating my menu list in my blog, so it's easier to find the content. Was really busy working and traveling, so never actually go the time to sit down and does the menu and categories them as I wanted it. So, in this lazy sunday afternoon, I decided to finally do it. So, on the top of my blog, you will find four new tabs, Fuse/AMQ & Demo  Tips & Tricks Multi-Product & Fuse Workshops & Getting Started Demo Under Fuse/AMQ & Demo you will find all the component demo and technical blog related to Fuse and AMQ. Also about the slide of different events, and new capabilities of different versions. Under Tips & Tricks, there are some tips I collect or found when developing applications in JBoss Fuse. Multi-Product & Fuse will have all the posts related integrating between Fuse and other middleware, such as JBoss BPM Suite, JBoss Data Grid and OpenShift. The last tab contains all the workshops pos

Red Hat JBoss Fuse - Load Balance Quartz Cron Jobs

In the beginning of the year I posted a post on how to do cron jobs with Apache Camel in JBoss Fuse, the reason I am doing it is because sometimes we need to off-load the integration jobs and schedule them to run in less time during busy hours. Cron Jobs allows you to run the integration application at the certain period of time you set it to run, it will be mostly in the night time. We use the Quartz2 component in camel to achieve this. Just to recap a little on the scenario I had. Basically it starts up two instance that runs the same cron jobs, the job simply writes a file to an FTP server. The job is implemented by Quartz2 and setting it to run twice every minute,both instances are connected to a database (In my code I used H2 for easy installation, but there is another option to use PostgreSQL database, see my previous blog). The reason we want to connect them to database is to make sure these two instance will share the loading of the the job. This is very useful if you have

Red Hat JBoss Fuse - Tips, Driver not found in JBoss Fuse

I have bumped into ClassNotFound Exception problem several times when I need to add Database driver or migrate non-OSGi libraries into my JBoss Fuse applications. Could not load driverClass org.postgresql.Driver java.lang.ClassNotFoundException: org.postgresql.Driver not found by org.apache.servicemix.bundles.c3p0 [135] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation([org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleWiringImpl.access$400([org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass( at java.lang.ClassLoader.loadClass([:1.7.0_60-ea] at java.lang.Class.forName0(Native Method)[:1.7.0_60-ea] at java.lang.Class.forName([:1.7.0_60-ea] The problem is mostly due to the class loading algorithm in OSGi. As each module need to specified w

Red Hat JBoss Fuse - Processes and Integration routes

People often confuse when they look at camel route and BPM process, although they do look very similar as connecting different nodes with conditions and passing objects or messages, the way they are structured and engineered to execute is a complete different story. Let’s talk about Camel route in JBoss Fuse, the endpoints of camel routes are smart, they handle different protocols, consumes and produce messages, BPM endpoints tends to be just a starting point kick of by a automated application and ended when the process is done. The users of Camel route are more developer oriented it is used to integrate between various systems, routing data and transform messages, whereas BPM are used to describe business process between departments, define business users and departments and are often used by business analyst. One thing I found when designing integration solutions, I will try to make my services stateless, so it will be more decouple and modularized and easier to horizontally ext

Red Hat JBoss Fuse - Invoking Process in JBoss BPM Suite using CXF-RS Client in Fuse

A week ago, I updated a demo on our JBoss Technology Evangelist Demo site, it is all about integrating JBoss Fuse the light weight integration ESB with JBoss BPM Suite, which allow enterprise to manage their business processes. For more information about integrating business process and ESB, please go back to one of my blog that talks about my thoughts on how they can be put together. In this demo, I tried to showcase the technical side of how to put these two technology together. So here is how you do it. Invoking Process in JBoss BPM Suite using CXF-RS Client in Fuse Calling Restful services from process in JBoss BPM suite. In JBoss BPM Suite 6.x we can make synchronize REST API calls to kick start, manage a business process and tasks in the process execution server, even retrieve result from it. here are some of the example queries you can make: /runtime/{deploymentId}/process/{processDefId}/start /runtime/{deploymentId}/workitem/{processItemId}/complete /runtim

JBoss Fuse - JBoss BPM Microservices Integration

Early this year we announced the exciting example project for JBoss BPM Suite that centers around a working online Travel Agency project. This initially leveraged web services, that we later migrated to microservices with the help of JBoss Fuse . And now the more exiting part, upgrading to JBoss Fuse 6.2, we wanted to revisit the project and make sure you had the latest greatest products at your disposal. With a bit of work, some spit and polish, we think you will enjoy the all new  JBoss BPM Suite & JBoss Fuse Travel Agency Integration Demo up to date and feel that you have a great example of their microservices integration capabilities. Travel booking process. This project provides an automated installation (repeatable) in minutes where you get JBoss BPM Suite running on an instance of JBoss EAP and a separate instance of JBoss Fuse with an automated install of 6 microservices each distributed container! This demo is brought to you in part by Eric Schabell, who