Nov 30th, 2012, 06:24 AM
Light-weight message bus with EJB 3.1 like functionality for Spring
I recently published a very efficient (intra-JVM) message bus similar to Google Guava but more powerful and feature rich and a lot faster. I developed this neat component for a project that was migrating from EJB3.1 to Spring 3 as an alternative to the EJB event functionalities. It is quite stable and provides a lot of useful features like message filtering, weak references to the subscribed listeners, listener ordering by priority etc.
I recently added a spring integration component that uses transaction synchronizations to enable conditional message dispatch based on the outcome of the transaction (e.g. rollback, commit). When working with EJB, I experienced this to be quite a powerful feature and I really missed it, when moving to Spring. If you are looking for EJB like eventing mechanism then it is definitely worth a shot. Currently the transactional integration has not been throughly tested in real life applications but works in the integration tests that I wrote. Anybody who is interested, please try and use it and provide me with feedback. I will dedicate a reasonable amount of time to make this component production ready.