@Async ne fonctionne pas pour moi

Je suis à l'aide de @Prévue et il travaille très bien, mais ne peut pas obtenir l' @Asynchrone de travail. Je l'ai testé plusieurs fois, et il semble que c'est faire ma méthode asynchrone. Est-il tout autre chose, la configuration, le paramètre ou je suis absent? J'ai une classe qui a deux méthodes, la méthode annotée avec @Planifiée, exécutée et appelle le second qui a été marqué avec @Async.

Voici ma config:

<!-- Scans within the base package of the application for @Components to configure as beans -->
<context:component-scan base-package="com.socialmeety" />
<context:annotation-config />
<tx:annotation-driven transaction-manager="transactionManager" />
<task:annotation-driven/>

<!-- Configures support for @Controllers -->
<mvc:annotation-driven />

<!-- Resolves view names to protected .jsp resources within the /WEB-INF/views directory -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="prefix" value="/WEB-INF/views/"/>
    <property name="suffix" value=".jsp"/>
</bean>

<dwr:configuration />
<dwr:annotation-config />
<dwr:url-mapping />
<dwr:controller id="dwrController" debug="true" />

<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />

Grâce.

source d'informationauteur