You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Jencks <da...@yahoo.com> on 2010/09/26 09:18:36 UTC
mdbs maybe missing the setMessageDrivenContext getting called?
I have some slight evidence that setMessageDrivenContext isn't getting called on an mdb. I think I recall some refactoring around such methods so they get treated like regular injections. Is it possible that this method got left out of that refactoring?
thanks
david jencks
Re: mdbs maybe missing the setMessageDrivenContext getting called?
Posted by David Jencks <da...@yahoo.com>.
On Sep 26, 2010, at 8:36 PM, David Blevins wrote:
>
> On Sep 26, 2010, at 12:18 AM, David Jencks wrote:
>
>> I have some slight evidence that setMessageDrivenContext isn't getting called on an mdb. I think I recall some refactoring around such methods so they get treated like regular injections. Is it possible that this method got left out of that refactoring?
>
> Looks like the code is there to add that injection point, but I'm not sure if we cover it in our tests. Check out container/openejb-core/src/main/java/org/apache/openejb/config/LegacyProcessor.java
Geronimo wasn't installing the LegacyProcessor in its ConfigurationFactory.chain. Not sure how we got any session beans to work :-\ I think Openejb is fine...
thanks for the hint where to look :-)
david jencks
>
> -David
>
Re: mdbs maybe missing the setMessageDrivenContext getting called?
Posted by David Blevins <da...@visi.com>.
On Sep 26, 2010, at 12:18 AM, David Jencks wrote:
> I have some slight evidence that setMessageDrivenContext isn't getting called on an mdb. I think I recall some refactoring around such methods so they get treated like regular injections. Is it possible that this method got left out of that refactoring?
Looks like the code is there to add that injection point, but I'm not sure if we cover it in our tests. Check out container/openejb-core/src/main/java/org/apache/openejb/config/LegacyProcessor.java
-David