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

Concurrency Problem in BeanFactoryTypeConverter [INT-2889] #6867

Closed
spring-operator opened this issue Jan 18, 2013 · 1 comment
Closed

Concurrency Problem in BeanFactoryTypeConverter [INT-2889] #6867

spring-operator opened this issue Jan 18, 2013 · 1 comment

Comments

@spring-operator
Copy link
Contributor

spring-operator commented Jan 18, 2013

Gary Russell opened INT-2889 and commented

Consider a transformer:

public String transform(String payload, @Header("id") String uuid) {
...
}

The 'id' header is converted from UUID to String; however, the BeanFactoryTypeConverter is not thread-safe...

editor.setValue(value);
String text = editor.getAsText();

So, concurrent messages can get the value of some-other conversion.


Affects: 2.1.4, 2.2. GA

Reference URL: http://forum.springsource.org/showthread.php?134101-Is-Message-header-id-unique

Issue Links:

Backported to: 2.1.5

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