Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Dave Syer, 2 years ago
expected a 'org.springframework.integration.message.Message', but received 'class org.springframework.batch.integration.chunk.ChunkRequest'
via Spring JIRA by Dave Syer, 1 year ago
expected a 'org.springframework.integration.message.Message', but received 'class org.springframework.batch.integration.chunk.ChunkRequest'
via Spring JIRA by Tuomas Kiviaho, 2 years ago
expected a 'org.springframework.integration.message.Message', but received 'class foo.bar.Payload''
via Spring JIRA by Tuomas Kiviaho, 1 year ago
expected a 'org.springframework.integration.message.Message', but received 'class foo.bar.Payload''
org.springframework.integration.message.MessagingException: expected a 'org.springframework.integration.message.Message', but received 'class org.springframework.batch.integration.chunk.ChunkRequest' at org.springframework.integration.adapter.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:62) at org.springframework.integration.adapter.jms.HeaderMappingMessageConverter.toMessage(HeaderMappingMessageConverter.java:66)