On Jan 4, 2007, at 10:57 PM, Manu George wrote:
On 1/4/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
In EJB3 is there an annotation for Timeout?
Yes javax.ejb.Timeout. The timeout functionality is not yet wired in
though. I don't have much of a clue on how to do this and so am hoping
someone else will do it :-).Should a JIRA be opened for that or is
there an existing JIRA?
Ah, there is a JIRA for this OPENEJB-245.
We should add this check to the verifier. Also it would be helpful
to explicitly say in the exception message that only NotSupported and
Required are allowed.
Ok but I am a bit hazy about how validation takes place. A pointer on
where to look or how validation is done will be nice :). Also it would
be nice if we have a framework for exception handling where we can
give error codes in the exceptions and the messages will be picked up
from a property file or something like that. That way error message
changes won't need code changes
I don't really understand how valication works either. Hopefully,
David can fill us all in on this. We need to write new validation
logic for MDB and CMP2 in addition to updating all of the other ones
for the EJB3 specification.
BTW, have you tried sending a message through the container yet?
Yes I have tried a basic case where the onMessage gets called and also
the transaction related interceptor methods.
And it worked?
Not yet tried testing
Transaction rollback etc. It will be helpful if we can have the
embedded AMQ service for the Tests as well so that we can start
writing Test cases for the MDB container.
I agree. I'm not going to be able to look at it until I get the
Geronimo integration working, so maybe someone else can take a crack
at getting it working.
-dain