[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBAS-3321 - TransactionTimeout from EJB container
adrian@jboss.org
do-not-reply at jboss.com
Fri Feb 9 10:00:26 EST 2007
"weston.price at jboss.com" wrote :
| Why?
|
Because your solution is not generic. It only works for the JBoss/JMS resource adapter.
And it only works for JMS because there is only one delivery method
| javax.jms.MessageListener.onMessage(Message)
|
Put another way, your solution does not work in the following cases:
1) ActiveMQ's inbound resource adapter
2) Something that is not JMS
3) Something that has more than one delivery method in the listener interface.
To be generic, it must cater for the case where most inbound transactions
are started, this is in the MessageEndpoint, or more accurately in the
MessageEndpointInterceptor, the later being an implementation of JBoss.
It must also cater for inflow rars that have more than one listener method
or interfaces. That is why there is "java.lang.reflect.Method" on
the isDeliveryTransacted() callback.
The same should be true for the getTransactionTimeout() callback into the container.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013657#4013657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013657
More information about the jboss-dev-forums
mailing list