Monday, April 8, 2013

UUID in Mule ESB

Most of the times in enterprise applications its required to trace the exection of a transaction so each transaction is given a unique identifier of its own. This unique identifier can be java.util.UUID. I have used this unique identifier in Mule ESB in the following way. I assign it to local variable and then use it as an identifier for the transaction and log it at every point with the normal logger output. This helps me trace the transaction.


Wednesday, January 2, 2013

NoSQL Database MongoDB

I have been spending quite sometime with the NoSQL database-MongoDB, should say it offers quite a punch. Shifting my tthinking from the relational model of the database to the document model was quite tough at first but as i progressed with the DB patterns it was easier to understand the document model and had a much less learning curve compared to RDBMS. With all the buzz going around on NoSQL Vs RDBMS, the coming days will be interesting to watch in the integration space and how these NoSQL database get supported in vendor COTS products. The story of how the map-reduce algorithm came from the Roman period was amazing. I didnt like using the command line tool hence i started using the UMongo database client in my windows machine. Im in the process of trying to use the MongoDB component in apache camel.


Tuesday, December 18, 2012

Schema Validation in Mule ESB

The following sample shows how to perform a schema validation in mule ESB



I have used an XSD validation in this example here.

Set Payload in Mule ESB

Using the setPayload transformer one can modify the payload of the incoming message.



Testing Restful Webservice using Apache Jmeter


There are a lot of blogs around building restful webservice using jax-rs. Here are the steps to test restful webservice using Apache Jmeter. 

Create HTTP Request defaults with the location where the service is running. In my case its localhost:10021


 Create HTTP Header manager with the type of content used in the service call. In my case its xml


Create the HTTP request. In my case its a simple get request.


Once its over, adjust the test thread according to your needs and run the test.

Create Bootable Linux USB

As i dont have a CD/DVD Drive anymore, i had to use this unetbootin software to create a bootable Linux USB. Works like a charm!!.



KDE Training and Tutorials

Being a recent convert to KDE(I dont hate Gnome but i figured its not for me anymore :() i was searching for a nice youtube playlist that could educate me on the latest KDE features. Luckily i found this series and it was really helpful.