
Originally Posted by
jstrachan
FWIW I'll be hopefully hacking together a simple alternative to MDB soon which will be using Spring.
My current thoughts are I'll probably try reuse the JCA code in Geronimo and just add a nice simple dependency-injection based POJO API on top if thats easy to do (just so we reuse the XA and JCA processing code). But if thats too hard I might just write a simple replacement of that code.
I"ll ping this forum when there's anything to look at
Question for James on this:
I was able to incorporate the code in Activemq's source distribution (org.codehaus.activemq.tool.ConsumerTool) as a bean in a Spring application hosted in Tomcat and get a similar behavior as an MDB. I still have to start the Broker separately, but I'm planning to automate that too (when Tomcat is started).
So why won't this solution be sufficient?
Why do we need JCA code from Geronimo?
BTW, I'm asking for education, not as a challenge
