Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Complete
-
2.1 GA
Description
Since updating to 2.1 and Spring 3.1 our router and one of our message transformer classes in our application now fails with a IllegalArgumentException in the Spring Core CollectionFactory
For MessageHistory we get "Could not instantiate Collection type" and for MessageHeaders _"Could not instantiate Map type". This appears to be due to the target type not having a zero arg constructor so the calls to <class>.newInstance() fail.
Logging this as would have thought this should work out of the box.