Skip to main content

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

This is a update to my existing demo 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 blogs with video coming after this one, it is 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 to prepare housing appraisals base on the content given real estate vendor. The appraisal needs to talk to local database, external google map API and also provide information through a web Restful API.

For those of you have been following my work may know, I have made some changes to the demo, the old demo has place all integration functions in a single project and deploy on single container. But when I started to maintain, because it's been a while from when I developed this project, took me sometime to remember and figure what which part of the application was doing what. Then I started to think it's a better idea if I break it down into separate project, each handles single functions. Now the architecture of this integration project is broken down into 4 separate independent projects and then deploy to containers distributed in the fabric. Using messaging broker as the medium between these distributed integration parts.




In part one, we will start taking in XML files from different vendor's home loan application, they will place their customer input into a directory listening by JBoss Fuse. The XML files are in 2 different formats, one with it's customer data, the other contains housing details. Both files will be place into same folder either by FTP or Batch generated overnight.


To begin, make sure you have download the JBoss Developer Studio to follow along the video:


In this demo, you will learn

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.

xPath Expression
Allow an Expression or Predicate to be used by parsing in the DSL or Xml Configuration.

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.

  <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
      <property name="brokerURL" value="tcp://localhost:61616"/>
      <property name="userName" value="admin"/>
      <property name="password" value="admin"/>

  </bean>

Hope you find this useful. The source code of the entire project can be found here:
https://github.com/jbossdemocentral/jboss-fuse-homeloan

Comments

Unknown said…
Christina, congratulations for your blog.

I have watched all your Home Loan Demo previous videos and now I'm going to watch them again after the update.

They are helping me so much to learn about JBoss Fuse.

And the way you explain is so clear.

Thanks,
Samuel Lima
Dave Chappell said…
Impressive! Nice job on the demo and also nice job on how well Fuse has progressed. I'm going to be using this for an upcoming project and I'm looking forward to it.
Dave
Unknown said…
Wisconsin Mortgage Corporation has been providing quality home loans across Wisconsin.Meet our loan officers. Please choose the loan officer that you were referred to view their personal page and apply online.Wisconsin no money down home loans Each loan officer's page includes the following services.
Dr Purva Pius said…
Hello Everybody,
My name is Mrs Sharon Sim. I live in Singapore and i am a happy woman today? and i told my self that any lender that rescue my family from our poor situation, i will refer any person that is looking for loan to him, he gave me happiness to me and my family, i was in need of a loan of S$250,000.00 to start my life all over as i am a single mother with 3 kids I met this honest and GOD fearing man loan lender that help me with a loan of S$250,000.00 SG. Dollar, he is a GOD fearing man, if you are in need of loan and you will pay back the loan please contact him tell him that is Mrs Sharon, that refer you to him. contact Dr Purva Pius,via email:(urgentloan22@gmail.com) Thank you.

BORROWERS APPLICATION DETAILS


1. Name Of Applicant in Full:……..
2. Telephone Numbers:……….
3. Address and Location:…….
4. Amount in request………..
5. Repayment Period:………..
6. Purpose Of Loan………….
7. country…………………
8. phone…………………..
9. occupation………………
10.age/sex…………………
11.Monthly Income…………..
12.Email……………..

Regards.
Managements
Email Kindly Contact: urgentloan22@gmail.com
Robert said…
It's miles every so often feasible to pick out a loan with out receiving recommendation – this is referred to as an execution-only mortgage. Those are offered underneath confined situations. loan yantra
Unknown said…
Thank you for sharing this information. It has helped me to know more about
fixed or floating interest rate
Unknown said…
Thank you for sharing this information. It has helped me to know more about
home loan for nri
sups shelar said…
Thank you for sharing such great information.
It is informative, can you help me in finding out more detail on
best home loan.
Unknown said…
Thank you for sharing this information. It has helped me to know more about
service apartments in india
Unknown said…
Thank you for sharing this information. It has helped me to know more about
home loan process
Hi , thanks for sharing your information.The insights are really helpful and informative.
service apartments in coimbatore
service apartments in coimbatore for monthly rental
Sachin Aamne said…
Hey thanks for this amazing post. Would love to read more of such blogs. You can also have a look at home loan application for more information.
blogger said…
Are you in financial crisis, looking for money to start your own business or to pay your bills?, PayLATER Loan is given all types of loans at low interest rate of 2% Apply now via email at: ( paylaterloan@zoho.com ) OR WhatsApp ( +1 929 222 7518 )
Rakesh said…
Hey thanks for this amazing post. Would love to read more of such blogs. You can also have a look at home loan details for more information.
arjun1 said…
Thank you for sharing this information. It has helped me to know more about
home loan apply online
Aaron said…
Have you being seeking to get loan for so long and you are finding it difficult to get, here is an opportunity to get one, Global Loan Access can give you a loan today. They gave me a loan of $25,000 within few days at the rate of 2% you can give them a try today to get your loan. Email contact via: globalloanaccess@gmail.com

$$$ GENUINE LOAN WITH 3% INTEREST RATE APPLY NOW $$$.
Do you need finance to start up your own business or expand your business, Do you need funds to pay off your debt? We give out loan to interested individuals and company's who are seeking loan with good faith. Are you seriously in need of an urgent loan contact us.
Email: perfectfinancialcredite@gmail.com

LOAN APPLICATION DETAILS.
First Name:
Last Name:
Date Of Birth:
Address:
Sex:
Phone No:
City:
Zip Code:
State:
Country:
Nationality:
Occupation:
Monthly Income:
Loan Amount:
Loan Duration:
Purpose of the loan:
perfectfinancialcredite@gmail.com

Do you need Personal Loan?
Business Cash Loan?
Unsecured Loan
Fast and Simple Loan?
Quick Application Process?
Approvals within 24-72 Hours?
No Hidden Fees Loan?
Funding in less than 1 Week?
Get unsecured working capital?
Contact Us At :oceancashcapital@gmail.com
Phone number :+16474864724 (Whatsapp Only)

LOAN SERVICES AVAILABLE INCLUDE:
================================
*Commercial Loans.
*Personal Loans.
*Business Loans.
*Investments Loans.
*Development Loans.
*Acquisition Loans .
*Construction loans.
*Credit Card Clearance Loan
*Debt Consolidation Loan
*Business Loans And many More:

LOAN APPLICATION FORM:
=================
Full Name:................
Loan Amount Needed:.
Purpose of loan:.......
Loan Duration:..
Gender:.............
Marital status:....
Location:..........
Home Address:..
City:............
Country:......
Phone:..........
Mobile / Cell:....
Occupation:......
Monthly Income:....

Contact Us At oceancashcapital@gmail.com
Phone number :+16474864724 (Whatsapp Only)
vijay shah said…
This comment has been removed by the author.
https://hotmail.news.blog/2019/08/07/finding-hotmail-problems-and-their-solutions/
Hotmail is one of the finest email services ever build. It has several features which makes it more attractive and powerful. Yet some technical issues may arise due to lack of knowledge. So it is advisable to call at Hotmail Customer Service Number 1-800-382-3046 for best and instant help from the experts 24*7.
Hotmail Issues and their solutions

GET YOUR BLANK ATM AND CREDIT CARD AT

AFFORDABLE PRICE
*We sell this cards to all our

customers and interested buyers

worldwide,
the card has a daily withdrawal limit

of $5000 and up to $50,000 spending
limit in stores and unlimited on POS.*
*email blankatm988@gmail.com
*you can also call or whatsapp us

Contact us today for more

enlightenment
+44(7440495540.

**WE OFFER THE FOLLOWING**
1)WESTERN UNION TRANSFERS/MONEY GRAM

TRANSFER
2)BITCOIN INVESTMENTS
3)BANKS TRANSFERS
4)CRYPTO CURRENCY MINNING
5)BUYING OF GIFT CARDS
6)LOADING OF ACCOUNTS
7)WALMART TRANSFERS
8)BANKS LOGINS
9)REMOVING OF NAME FROM DEBIT RECORD

AND CRIMINAL RECORD
10)BANK HACKING

*BEWARE OF SCAMMERS AND FAKE HACKERS

IMPERSONATING US BUT THEY ARE NOT FROM
US CONTACT US ONLY VIA THIS CONTACT *
WE ARE REAL AND LEGIT...........2019

FUNDS/FORGET ABOUT GETTING A LOAN
*email blankatm988@gmail.com
richard said…
BECOME RICH BY GETTING OUR BLANK ATM CARD
BE SMART AND BECOME RICH IN LESS THAN 3DAYS....It all depends on how fast you can be to get the new PROGRAMMED blank ATM card that is capable of hacking into any ATM machine,anywhere in the world. I got to know about this BLANK ATM CARD when I was searching for job online about a month ago..It has really changed my life for good and now I can say I'm rich and I can never be poor again. The least money I get in a day with it is about $50,000.(fifty thousand dollars) Every now and then I keeping pumping money into my account. Though is illegal,there is no risk of being caught ,because it has been programmed in such a way that it is not traceable,it also has a technique that makes it impossible for the CCTVs to detect you..For details on how to get yours today, email the hackers on :email the hackers on Nashwilliams4@gmail.com, Watsapp number: +2349057353987
Social said…
Thank you for sharing such great information. It was very informative, and has help me in finding out more detail about Home loans texas!
OPP LOANS said…
Are You In Need Of A Private Or Business Loans At 2% Rate For Various Purposes? If Yes; Contact us: opploansllc@gmail.com
Hi, The blog was so interesting and useful. Keep it up, Good luck.
If you are in need of Best Hotel Serviced Apartment in Coimbatore Kindly click

Dejavu Tranz Serviced Apartment

Conference Hall in Coimbatore
Rooms for Rental in Coimbatore
Michael Weston said…
Now days Home Loans for Non-UAE Residents is easy process. Many companies is allow to take Home loan.
ANNA MARIA said…

Are you in financial crisis, looking for money to start your own business or to pay your bills? I got mine from Him. My blank ATM card can withdraw € 2,000 daily. I got it from Her last week and now I have €14,000 for free. The blank ATM withdraws money from any ATM machines and there is no name on it, it is not traceable and now i have money for business and enough money for me and my family to live on . *email: int.hackers002@gmail.com

GET YOUR BLANK ATM CREDIT CARD AT AFFORDABLE PRICE
*He sell this cards to all our customers and interested buyers worldwide,the card has a daily withdrawal limit of $5000 and up to $50,000 spending limit in stores and unlimited on POS.*

*email: int.hackers002@gmail.com

*you can also call or whatsapp us Contact us today for more enlightenment
+1(301) 329-5298

Popular posts from this blog

JBoss EAP 6 - 效能調校 (一) DataSource 的 Connection Pool

效能沒有什麼Best Practice, 反正能調整的就那些。 通常,一個程式的效能大概有70-80% 都跟程式怎麼寫的其實比較有關係。

最近我最疼愛的小貓Puji 因為膀胱結石開刀的時候過世了,心情很差請原諒我的口氣沒有很好,也沒有心情寫部落格。

Puji R.I.P.

=======================正文=======================

這個題目很多人叫我寫,可是這題目好大,這分明就是整死我咩~
所以我會分幾段慢慢寫。

JBoss 的 SubsystemDatasource WebWeb Service EJB Hibernate JMSJCAJVM 調校OS (作業系統)

先來看一下 DataSource Subsystem, DataSource 的部分主要是針對Connection Pool 做調校。

通常,程式都會需要跟資料庫界接,電腦在本機,尤其是在記憶體的運算很快,但是一旦要外部的資源連接,就是會非常的耗資源。所以現在的應用程式伺服器都會有個Pool 放一些先連接好的 資料庫connection,當程式有需要的時候就可以馬上提供,而不用花那些多餘的資源去連接資料庫。

這就是為什麼要針對Connection Pool 去做調校。

以下會討論到的參數,都是跟效能比較有關係,Datasource 還有很多參數,像是檢核connection 是否正確的,我都不會提到。如果你追求的是非常快速的效能,那我建議你一個檢核都不要加。當然,這樣就會為伺服器上面執行的程式帶來風險。這就是你要在效能與正確,安全性上面的取捨了。 (套句我朋友說的話,不可能又要馬兒好,又要馬兒不吃草的..)

最重要的調校參數就是 Connection 的 Pool 數量。(也就是那個Pool 裡面要放幾條的connection.) 這個參數是每一個應用程式都不一樣的。

min-pool-size 

Connection Pool 最少會存留的connection 數量

max-pool-size 

Connection Pool 最多可以開啓的 connection 數量

prefill

事先將connection pool 裡面建立好min-pool-size 的connection.

我的建議是觀察一下平常程式要用到的量設定為 min-pool-size 。
加上…

My 2cents on the future of Integration - With Service Mesh/Istio and Serverless/KNative

It's been a year and half since I blogged about "Agile Integration architecture" (Gosh, time just flies). With the "microservices" and "cloud-native" hype, I was especially curious on how all these new concept and technology affect us on how to architect the integration systems. If you ever pay close attention to all the latest and greatest news from the Kubernetes community, I am sure you will hear a lot about the new "Service Mesh". And rumor has it that this is how integration can/should be done in cloud native world, but, is that so? Anyone who has ever worked on an integration project would tell you, it's a LOT more COMPLEX and can get worst overtime. I did a talk with Christian Posta in Red Hat Tech Exchange coming from a more comprehensive view of how different Red Hat technologies are applied under different patterns when building integration solutions. In fact he also did a great blog about it.


Since then, another topics has be…

Red Hat Fuse - Announcing Fuse 7 Tech preview 3 release.

Red Hat Fuse 7.0 technical preview three is out today! On the pathway to become one of the best cloud-native integration platform, Fuse gives developer freedom to choose how they want to develop the integration solution, where they want to deploy it and capabilities to address new integration personas that do not have development experience.
By supporting the three major runtime, developer is free to work on the runtime of their choice.By supporting standalone and cloud deployment, it simplifies the complexity to distinguish between these environments, allowing application to deploy freely among the environment of your choice. All levels of developers are welcome, you can either dive deep into creating customize complex integration logic, or using the new low code platform to quickly build a simple integration. In this Tech Preview release you get it all.
Fuse StandaloneSpring-boot for microserviceKaraf 4 for OSGi loverJBoss EAP for JavaEE developersFuse on OpenShiftPlugins for easy co…