Skip to content

Thead safety of Transformer [SWS-9] #170

@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions