Skip to main content

JBoss Fuse - What's new in JBoss Fuse 6.2

Have been busy for a while, other then working on my Lab for Summit, I am also working on migrating my early Home Loan getting started demo to JBoss Fuse 6.2 which is going launch later in the month.

What is going on JBoss Fuse 6.2.

First of all, MY PERSONAL FAVORITE, which is the huge improvement on the Development tool, JBoss Developer Studio. One of the thing I always wants to have is DEBUGGING. Now we can actually set the debug point on every endpoint of the applications, and then through the debug view, we can now see the stack frame for the suspended threads for each route. What I found the most helpful is the view that allow you to trace or even change the header and body in Camel message. The way to start the debugging is just like other Java application. In JBoss Developer Studio, click on "Run as Debug..". Other really cool improvement is the addition of commonly use component available on Camel canvas. The properties now provides the out of box built in configuration field that is going to help developer on what can be configure in that particular components rather then going back and forward to the fuse documentation. To improve development experience, one thing I notice from the tooling, when you drag n drop a component in the canvas, the dependency in the pom.xml file is automatically added.

There are also improvement on the camel components (version 2.15.1) and quite a few new connector added. We have improve the salesforce, Olingo component, added the connectors to Dropbox,  and Google Drive. To me, because I need to interact Database very often, now I can finally use Simple expressions as parameters in the SQL components. I have not play with all of them yet, but be sure to check them out. Another really useful feature in this release is the REST DSL, this allow developer to  establish the REST web endpoint with few lines of setting versus creating and configure in POJO then exposes as the old ways.

Another important new feature is the Role Base Access Control. Powered by JAAS implemented. Many enterprise needed this in real production environment, what this does, it authorized user's right on access the Fuse console, JMX, command line mode and the service allowed in OSGi.

Here are main update themes in JBoss Fuse 6.2 ,

 * Improved tooling & Usability
 * Foundation for creating and sharing API services (REST DSL, Swagger support)
 * Additional connectivity (Box, Dropbox, GoogleDrive, OData, SalesForce APEX API)
 * Enhanced IoT support (Camel-Kura, MQTT improvements)
 * Messaging enhancements..

You can find out more details in Jon's blog.


Arun C G said…
Thanks a lot Christina.

I am pretty new to JBOSS fuse. I have query - i have an input message in CSV format. The requirement is to process the CSV data for which i need to make an external webservice call for most of the rows (sometimes few rows will be grouped based on business logic) , and then finally update the CSV with the results from webservice. Can you please advice me the best option to do it in JBOSS fuse.
Christina Lin said…
If it's as simple as you said, and not considering the size of the file, and not sure what your logic on the grouping, I would have a File Endpoint reading the CSV file, process (and possibly group it), send the required into to a queue, and have another route handle the web service call via CXF Producer, get the response, send to another queue, and then pick up by another route that return and export the result to another CSV file.
kavala pradeep said…
i installed jbds 8.1.0 and jdk 1.8. When I run local came route in jbds its not coming up in local processes in jmx navigator. But I am able to connect to the local processes using user defined connection. Can you please advise why i am not able to see local processes automatically in jmx navigator.. i tried to replicate this issue in my personal laptop and everything is working fine, but in office system I am facing this issue, to my knowledge both systems has same versions... Is it something to do with permissions on the office system? Thanks for your help.

Popular posts from this blog

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…

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.) 這個參數是每一個應用程式都不一樣的。


Connection Pool 最少會存留的connection 數量


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


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

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

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 …