Saturday, 30 January 2010

OpenJMSAdapter 0.1 Beta : Ready for download

I have uploaded the first version of OpenJMSAdapter today.

A very basic version of help and getting started is up at allamraju.com/openjmsadapter

Have a look, and let me know what you think.

Thursday, 28 January 2010

Getting ready to release OpenJMSAdapter 0.1

I managed to resolve my issues with running tests in Netbeans - partly a corrupted project and partly my stupidity. But finally everything is green.

I did some basic perf tests and with all my code between the send() call to the point where the message ends up on the JMS server, I am able to publish 110 message per second on my laptop and receive at more or less the same rate.

As of now, you can
  • Configure the adapter to send or receive messages on a queue or topic using Yaml configuration or a database table.
  • Send or receive BytesMessage, TextMessage or ObjectMessage.
  • Ready clients are available for ActiveMQ and OpenMQ servers. I know this will not be sufficient, so you can write your own client and plugin to the adapter and the low level code will do the rest for you as if you had a ready built client. Writing this client is trivial :).

The next steps for me are basically to write some examples and a getting started guide. I am not really planning to but might add the javadocs and comments to the code as well.

Hopefully by this time next week, the first file will be up for download on sourceforge.

Wednesday, 27 January 2010

OpenJmsAdapter - Roadblocks

Something has gone wrong with my Netbeans. Over the Republic Day holiday, I could not run any test on OpenJmsAdapter! The reason strangely is that it cannot find the test hibernate config files that it could find so easily in the past. The files are not getting copied to the test folder under build!!!

This needs some head breaking this weekend. Hopefully, a fresh checkout should do the trick - in the past I have corrupted a couple of projects in my local copy and a fresh check out solved it.

Sunday, 17 January 2010

OpenJmsAdapter - Draft version ready

The first working draft of OpenJmsAdapter is ready. I spent the new year weekend coding the basics of the thing with a few tests and by last week managed to get all the layers of code ready. I started with ActiveMQ and built a client code that can send BytesMessage, TextMessage and ObjectMessage on destinations configured through a YAML file and maintain the sent/received sequence numbers. Then I managed to refactor out the common code and write a client for OpenMQ server with minimal effort.

The code had to be tweaked around a bit and the tests made my life easy. Basic performance tests on my kind of overloaded laptop showed about 120 messages published and received ( not simultaneously) with ActiveMQ.

There is still more work to be done before I put a release out. I need to put a SQL configuration apart from the YAML configuration. And make sure I have more tests and comments etc.

Will keep updating here.