Over a million developers have joined DZone.

Red Hat JBoss Fuse - Getting Started, Home Loan Demo Part 1

DZone's Guide to

Red Hat JBoss Fuse - Getting Started, Home Loan Demo Part 1

· Integration Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

This video clip is for people that are getting started to know Fuse, and wants to get their hands dirty and develop a JBoss Fuse project for the first time. 
There will be a series of videos coming after this one, we will focus on playing with the integration framework in JBoss Fuse, which base on the open source project Apache Camel. And in the last video of the series I will deploy the integration projects onto the OSGi container and manage it with Fuse Fabric.
The story behind the home loan demo is we have a system, that takes in XML files from different vendor's home loan application, they will place their customer input into 2 different XML files, one with it's customer data, the other with their housing details. Both files will be place into same folder either by FTP or Batch generated overnight.
Our job is to take in and process the information, first we need to separate the 2 kinds of files, because they are handled differently. And appraised the value of the house before sending it to a messaging broker for further process.  

To begin, make sure you have download the JBoss Developer Studio to follow along!
In this demo, you will be using the
File Endpoint 
Which provides access to file systems, allowing files to be processed by any other Apache Camel Components or messages from other components to be saved to disk.
Content Base Routing 
from the EIP patterns allows you to route messages to the correct destination based on the contents of the message exchanges.
JAXB transformation
Translate one data format(XML) into another(Pojo) using JAXB
Set up the activemq for messaging broker. 
The ActiveMQ component allows messages to be sent to a JMS Queue or Topic; or messages to be consumed from a JMS Queue or Topic using Apache ActiveMQ.
JBoss Fuse Getting Started Home Loan Demo Part 1 from christina on Vimeo.
I hope you find it useful. :)
You can also find the source project in my github.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}