Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2630

Unable to convert MessageHistory, MessageHeaders via bundled converters.

    XMLWordPrintable

    Details

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              dvb123 David Victor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.75d
                  0.75d