Skip to main content

JBoss Fuse - Fuse workshop 101 - Part One

On my way to Hong Kong for a day of workshop on JBoss Fuse, and as I go through my Slide deck, I cannot find any decent easy workshop for beginners. Therefore I decide make a workshop that is easy for Camel first timer to get their hands dirty.

The first of part of the workshop is an introduction to Camel, it first goes through what is exactly inside JBoss Fuse.

For part one of the workshop, it takes your through the very basic of Camel, one of the very important component inside JBoss Fuse.
Every Camel need to have a runtime container to run in, inside camel we call it a CAMEL CONTEXT.  Inside every Camel context, you can define lots of camel route and registry, don't worry about what those are, we will explain later.


So inside out blueprint xml, you will see a tag called camelContext.



Next up is camel route, they are a chain of command or process defined by you, as a developer.
Inside the camel route, there are consumer endpoints that listens to the incoming messages, producers the sends message to the destination. and Processor handles validations of the messages, transform message formats and calls the business logics. Basically anything you want to do with the message.


And the message that is routing throughout the camel route is packaged inside Exchange.
Think of Exchange as an envelope that contains the message from previous step, and message to the next step, on the envelope there will be address of the sender and receiver. If there are any problem with the delivery, there will also be problem stamped or states on top of it, shows what's wrong.


Each endpoint on Camel has a URI, this URI needs to fill in by you.



And lastly, using Maven to help you build a Fuse project. it'll take care of the 3 nasty things for you, first it's going to generate a profile layout for you by selecting the right archetype. Secondly, you can manage project dependency with i, just like normal maven project. And last but not least, a maven plugin call fabric8 will help you package and deploy your project.



Here are the slides for the workshop:




And here are the lab instructions,



Enjoy!

Continue on to
Workshop part 2 - Data Transformation
Workshop part 3 - Enterprise Integration Patterns



Comments

Partha said…
Really excellent post.
naina sh said…

Learn how to transfer your Norton security to a new computer, Formatted or ... If you do not have an account, click Create account, and then complete the sign-up process. In the Norton Setup window, click Download Norton.

Norton Setup & installation Enter your product key online. Download & Install Norton Antivirus Product Visit setup website www.norton.com/setup to register your code.
Bruce Wayne said…
Canon is a leading optical product and imaging product company.They have printers for both personal and business use. The Canon sell their printers both online and offline along with the accessories. For any Canon issue contact us.
Canon Printer Offline
Canon Printer Offline
marcellus said…
I am thankful for the article post.Really looking forward to read more. Great.
www.office.com/setup
Liam said…
Many times students are tensed for their projects and assignments, so at that time they can take online assignment help to complete it on time. There are experts available online who prepare the perfect assignment for you. Assignment Help
Assignment Help Online
Anne james said…


We are providing a step by step guide to set up Office along with independent support service for installation and activation issues.

www.office.com/setup
krik@ said…
KEEP WRITING....THIS IS AWESOME
http://mcafee-activation.com
smith warner said…
Hi, I’m Smith warner. I’m a student living in Miami, Florida. I am a fan of technology, design, and software. I’m also interested in web development and Software. You can visit my website with a click on the button Below.

Mcafee.com/activate
Mcafee activate
Mcafee Activate 25 digit code
norton.com/setup
norton setup
office.com/setup
office setup
office.com/setup
office setup
Alley John said…
Are yo looking for someone do your homework help essay writing for you. Here are MyAssignmentHelp Expert capable of creating unique homework for college or university students with professional writers
Liam said…
If you want to know more about the need of organizational management and resolve your queries related to the topic you can take help from Assignment Help online. Management Assignment Help
Programming Assignment Help
Programming Help
Law Assignment Help
Liam said…
At times, you may not be able to write an academic assignment due to some reason. You could opt for our Assignment Help Online in such situation and can get a well-written coursework from us.
rickypauls said…
greatassignmenthelp provide all the important information regarding Assignment Help in your blog. It such a relief for those students who do not get instant help when they actually need it. These services are helpful and time-saving. All valuable points are covered in this blog which clears the concept of homework help.
Assignment Help Online
Online Assignment Help
Assignment Help Online Services
Assignment Helper
Assignment Assistance
Assignment Help Experts
Online Assignment Help Services
Assignment Writing Help
Naira Miller said…

My Essay Help serves the qualified essay writers from top universities in the world who offers its best essay help uk. We deliver the essay before the deadline.
This post is a pool of information. The readers are quite impressed after reading this impressive post. CDR Report Writing are available on myassignmenthelpau.com at a very affordable price. If you want any help you can mail us at cs@Myassignmenthelpau.Com.
Olivia Crew said…
Livewebtutors aims at providing the students with a one stop solution for all the academic related issues. The company has Livewebtutors is an online Assignment Help and assignment writing service offering expert assignment help. Hire Australian assignment writing experts.
visit now:- Tafe Assignment Help
meldaresearch said…
The good already written essays companies satisfy clients’ needs. When seeking pre written research paper, learners should be very carefully go through the website’s content.If the content is carefully written, then learners should know that the company is legitimate.
Puremelda said…
When seeking our custom term paper writing service ensure you provide all necessary information the writer need to complete the nursing paper. This is also equally important to provide the writer with all information needed to complete custom papers in our dissertation writing assistance services.
Thanks for sharing the useful and informative information, i like your all articles. i am also a blogger, writing different - different topics. If you are interested to reading my website articles, please read once - Finance Assignment Help
jonas cruz said…
Thanks for sharing this information. We need such information to create CDR Reports. You can get complete CDR Report Writing Service from us. We also provide CDR Reports in Australia, Summary Statement Writing and Career Episode Writing.
A very high level post with a knowledgeable information .thanks you for giving me such a nice information. If you need any college level Assignment Help at reliable quality with better work. Kindly visit Ideal assignment help.
meldaresearch said…
All our Custom Nursing Essay Writing Services are normally written by an expert; therefore, there will never be a time when a student will get poor quality work. We provide students with Nursing Assignment Writing Services that have been written by experienced writers. Students can count on us to get fast and effective help from writers who hold master’s and Ph.D degrees.
Thank you for sharing this informative post.MyAssignmenthelp.co.uk is giving assignment help to students.we are already trusted by thousands of students who struggle to write their academic papers and also by those students who simply want audi crm case study
to save their time and make life easy.
Puremelda said…
By ensuring that Ph.D. writers provide our Cheap Essay Writing Services in all areas of study, we ensure we offer premium Write an Essay for Me to the clients.
Olivia Crew said…
A very high level post with a knowledgeable information .thanks you for giving me such a nice information. If you need any college level Assignment Help at reliable quality with better work. Kindly visit livewebtutors website we providing best assignment help services in Australia, USA, UK, UAE, and Canada etc.
visit now:- assignment help
Unknown said…
This really interesting post. Thanks for sharing!
Paperssolution
topacademictutors
technation said…
For Downloading, Installing and activating the Office product, visit office.com/setup and Get Started with Office.

If you want guided-solutions on how to download, install, and activate norton.com/setup and norton.com/nu16 that will help secure your device from threats.

Add another email account to the Gmail app · Change your Gmail settings · Change email notifications visit : email support

Bittrex is a global leader in the blockchain revolution. We operate the premier U.S.-based blockchain trading platform, which is designed for customers who demand lightning-fast trade execution, dependable digital wallets, and industry-leading security practices.

bittrex support
James Enderson said…
If your HP Printer won’t print, it means that your HP printer is passing through serious technical faults. This issue is very serious technical error that cannot be resolved simply. Our printer experts have technical skills to fix this error instantly.
Bella said…

I really enjoyed your blog Thanks for sharing such an informative post.
Paperssolution
studyhawks
help me with my homework
mathematics problems writing service
Olivia Crew said…
A very high level post with a knowledgeable information .thanks you for giving me such a nice information. If you need any college level Assignment Help at reliable quality with better work. Kindly visit livewebtutors website we providing best assignment help services in Australia, USA, UK, UAE, and Canada etc.
Read more now :- Assignment Help
ALICE JACKSON said…
Get help with Online Assignment Help Cheap at affordable prices by professional experts. We provide 24 * 7 service and support for all our users.
robin said…
GPA Calculator USA :It’s a good idea to know what your semester GPA is and how that can impact your cumulative GPA and your graduation plans. Experimenting with different grades that you might earn in a course can help you

Popular posts from this blog

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…

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 。
加上…

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…