[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-2151) Global interceptor in ejb-jar.xml ignores @Asynchronous

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Mon Aug 16 11:01:12 EDT 2010


    [ https://jira.jboss.org/browse/EJBTHREE-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12545158#action_12545158 ] 

Juergen Zimmermann commented on EJBTHREE-2151:
----------------------------------------------

I'm adding the annotation to a public method of a bean class:
@Stateless
public class Kundenverwaltung implements Serializable {
...
	@Asynchronous
	@TransactionAttribute(SUPPORTS)
	public Future<Boolean> sendEmail(AbstractKunde kunde) {...}
}

> Global interceptor in ejb-jar.xml ignores @Asynchronous
> -------------------------------------------------------
>
>                 Key: EJBTHREE-2151
>                 URL: https://jira.jboss.org/browse/EJBTHREE-2151
>             Project: EJB 3.0
>          Issue Type: Bug
>         Environment: JBossAS 6.0.0.M4
>            Reporter: Juergen Zimmermann
>
> In ejb-jar.xml I'm having a global interceptor (it's for logging all public methods of an EJB during the development phase).
> However, when I annotate a method using @Asynchronous, the annotated public method is just ignored. There is no stacktrace or anything else in the log file.
> Declaration in ejb-jar.xml:
> <ejb-jar ...version="3.1">
> 	...
> 	<assembly-descriptor>
> 		<interceptor-binding>
> 			<ejb-name>*</ejb-name>
> 			<interceptor-class>
> 				de.hska.util.LoggingInterceptor
> 			</interceptor-class>
> 		</interceptor-binding>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list