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.

0 comments: