Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All standard JBI components that are shipped with ServiceMix should convert to a re-readable Source type automatically whenever it is necessary. If you encounter this exception using standard JBI components, please send the complete stacktrace to the user mailing list so we can look into the problem. As a temporary workaround, changing the logging level to DEBUG will make all MessageExchanges re-readable when printing them to the console.

If you encounter this issue in your own code (e.g. in a servicemix-bean POJO), you can use the org.apache.servicemix.jbi.helper.MessageUtil class' enableContentRereadability() method to convert the NormalizedMessage content into a rereadable format before you start processing it.