RESOLVED - issue BATCH-367: When the samples run, all the execution attributes are of type STRING - this must be wrong.
http://jira.springframework.org/browse/BATCH-367 fixed StreamManager not to alter ExecutionContext values + added testcase
This commit is contained in:
@@ -102,7 +102,7 @@ public class SimpleStreamManager implements StreamManager {
|
||||
for (Iterator iterator = context.entrySet().iterator(); iterator.hasNext();) {
|
||||
Entry entry = (Entry) iterator.next();
|
||||
String contextKey = prefix + entry.getKey();
|
||||
result.putString(contextKey, entry.getValue().toString());
|
||||
result.put(contextKey, entry.getValue());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user