SpringSource/spring-integration — pull request #710 by garyrussell (2013-01-18 20:08:44+00:00)
Title: INT-2889 Fix Concurrency Problem in Type Converter

In the BeanFactoryTypeConverter, when falling
back to a PropertyEditor (when the source is non-
String and the target is String), the setValue() and getAsText()
methods are used.

This is not thread-safe and one thread might get another's
converted value.

Synchronize the use of the PropertyEditor.

Add test, that reliably reproduces the problem, to verify the
fix.