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 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857402#3857402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857402 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
