This content has been marked as final.
Show 1 reply
-
1. Re: Runtime Exception during ejbCreate
genman Dec 3, 2004 6:59 PM (in response to dtauzell)
If ejbCreate() fails, the message gets rolled back automatically.
setMessageDrivenContext is only called after ejbCreate, so there's no way you can setRollbackOnly there.
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/ejb/MessageDrivenBean.html