[jboss-dev-forums] [Design of JCA on JBoss] - Re: JCA antipattern? Or not?

weston.price@jboss.com do-not-reply at jboss.com
Tue Feb 20 18:31:02 EST 2007


anonymous wrote : 
  | BTW is there much doco about using jca jms resource adapter to do this from an MBean? They are not using mdbs. 
  | 

The JMS RA is targeted towards message endpoint deployments. Today, it requires MDB's to function correctly. Basically the JMS/JCA RA takes the place of the JMSContainerInvoker in JBoss 3.x and early version of JBoss 4.x.

I would be willing to bet the lionshare of the problem with the Spring example is the use of non ASF facilities in application server environment to 'simulate' MDB type semantics using a 'poll' type mechanism for delivery (ie cons.receive()) rather than the ASF ConnectionConsumer wherein the provider is responsible for 'pushing' messages. There is nothing to prevent them from using ASF in their own code, but I would be willing to bet the Spring stuff does not which is causing problems.

Since what they want is non standard and outside the purview of both the JCA and JMS/ASF spec they would have to develop a custom RA to do this. 




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019606#4019606

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019606



More information about the jboss-dev-forums mailing list