Skip to content
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

Thead safety of Transformer [SWS-9] #170

Closed
gregturn opened this issue Feb 16, 2006 · 1 comment
Closed

Thead safety of Transformer [SWS-9] #170

gregturn opened this issue Feb 16, 2006 · 1 comment
Assignees
Milestone

Comments

@gregturn
Copy link
Contributor

Arjen Poutsma opened SWS-9 and commented

javax.xml.transform.Transformer is not thread safe: hence for each request, a separate instance must be created.

Throughout spring-ws-core, a number of Transformers are created (mostly in afterPropertiesSet()), and used. Instead, we must create a TransformerFactory, and a new Transformer per request.


Affects: 0.9

@gregturn
Copy link
Contributor Author

Arjen Poutsma commented

Fixed in CVS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants