Skip to content

Attribute mode removed from annotation-driven definition in spring-task.xsd [SPR-10177] #14810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jan 15, 2013 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Tom Cassimon opened SPR-10177 and commented

Since the relese of Spring 3.1.x an attribute mode was removed from the annotation-driven element definition in the spring-task.xsd

We use compile time weaving for processing our @Async annotations, but due to the removal of the attribute we are unable to enable the 'aspecj' mode. We looked into the source and the logic to determine 'aspectj' or 'proxy' is still there but it defaults to 'proxy'.

Is there maybe any reason the attribute is removed, or should we configure it in another way?


Affects: 3.1.1, 3.1.2, 3.1.3, 3.2 GA

Referenced from: commits 450dbb2, aa388bc

Backported to: 3.1.4

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

That seems to be an accidental omission, so I've reintroduced the "mode" and "proxy-target-class" attributes in the spring-task-3.1/3.2 xsds.

For the time being, you could simply keep declaring spring-task-3.0.xsd where those attributes where always present.

Juergen

@spring-projects-issues spring-projects-issues added type: bug A general bug status: backported An issue that has been backported to maintenance branches in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.2.1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants