[jboss-dev-forums] [Design of EJB 3.0] - Ejb3Deployment.resolveMessageDestination

emuckenhuber do-not-reply at jboss.com
Mon Aug 4 12:45:53 EDT 2008


Following up on the current failures of the ejb30/mdb/dest tests..

The cause for those failures is that the messageDestinationResolver in the ejb3 module does not resolve the correct names for message-destination-refs.

"scott.stark at jboss.org" wrote : 
  | We really should not be calling the Ejb3Deployment.resolveMessageDestination any longer as this should have already been resolved by the MappedDeploymentEndpointResolver. Improvement on resolving message-destination-refs was the change I made yesterday.
  | 

That said - overriding the resolveMessageDestination in Ejb3JBoss5Deployment and using the correct information from MappedReferenceDeployer makes those tests pass (*)

Basically there are only two places left where that is used:
* org.jboss.injection.ResourceHandler
* org.jboss.ejb3.Ejb3Deployment

Furthermore ClientENCInjectionContainer is still refering to the messageDestinationResolver, but not using it anymore.


(*) There are still two remaining failures due to this: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168503#4168503

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

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



More information about the jboss-dev-forums mailing list