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
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...
BeanFactoryTypeConverter
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:
Concurrent Calls to SimpleTypeConverter.getDefaultEditor() in BeanFactoryTypeConverter are Not Safe [INT-2922] #6895 Concurrent Calls to SimpleTypeConverter.getDefaultEditor() in BeanFactoryTypeConverter are Not Safe
Concurrency Issue in BeanFactoryTypeConverter [INT-3316] #7246 Concurrency Issue in BeanFactoryTypeConverter
Backported to: 2.1.5
The text was updated successfully, but these errors were encountered:
Gary Russell commented
PR: #710
Cherry-pick to 2.1.x
Sorry, something went wrong.
garyrussell
No branches or pull requests
Gary Russell opened INT-2889 and commented
Consider a transformer:
The 'id' header is converted from UUID to String; however, the
BeanFactoryTypeConverter
is not thread-safe...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:
Concurrent Calls to SimpleTypeConverter.getDefaultEditor() in BeanFactoryTypeConverter are Not Safe [INT-2922] #6895 Concurrent Calls to SimpleTypeConverter.getDefaultEditor() in BeanFactoryTypeConverter are Not Safe
Concurrency Issue in BeanFactoryTypeConverter [INT-3316] #7246 Concurrency Issue in BeanFactoryTypeConverter
Backported to: 2.1.5
The text was updated successfully, but these errors were encountered: