adityaanikam opened a new pull request, #1796:
URL: https://github.com/apache/camel-kafka-connector/pull/1796
Closes #1795.
The ckcUnMarshal route template called .marshal("{{unmarshal}}") instead of
.unmarshal("{{unmarshal}}"), so the configured unmarshal dataformat never
actually converted the incoming body, it stayed as the raw stream. This affects
any connector using camel.source.unmarshal, syslog is what surfaced it in the
original report, but the same problem applies to every dataformat routed
through this template.
Added a regression test that sends a real syslog line through the route and
asserts the body actually comes out as a SyslogMessage. Confirmed it fails with
the right error against the old code (body stayed an InputStreamCache instead
of getting converted) before restoring the fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]