Skip to content

Commit 9229846

Browse files
committed
Fixed configuration of AnnotationAsyncExecutionAspect (was incorrectly under the same name as that for transaction management aspect)
1 parent bfd54f4 commit 9229846

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org.springframework.context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
*
3535
* @author Mark Fisher
3636
* @author Juergen Hoeller
37+
* @author Ramnivas Laddad
3738
* @since 3.0
3839
*/
3940
public class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -48,7 +49,7 @@ public class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParse
4849
* The bean name of the internally managed transaction aspect (mode="aspectj").
4950
*/
5051
public static final String ASYNC_EXECUTION_ASPECT_BEAN_NAME =
51-
"org.springframework.transaction.config.internalTransactionAspect";
52+
"org.springframework.scheduling.config.internalAsyncExecutionAspect";
5253

5354
private static final String ASYNC_EXECUTION_ASPECT_CLASS_NAME =
5455
"org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect";

0 commit comments

Comments
 (0)