[jboss-user] [JBoss Seam] - Re: Email Listening MDB Accessing Seam Components

petemuir do-not-reply at jboss.com
Sun Mar 4 14:10:52 EST 2007


There is a bug in Jboss's ejb3 which means that interceptors aren't applied to non-jmx MDBs.  This is fixed in AS 4.2.  For now, you can get around it by putting a Lifecycle.beginCall and Lifecycle.endCall at the beginning and end of your onMessage method, and using Component.getInstance to access Seam components.

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

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



More information about the jboss-user mailing list