[
https://issues.apache.org/jira/browse/CAMEL-17994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-17994.
---------------------------------
Fix Version/s: 3.17.0
Resolution: Fixed
> Camel-aws2-kinesis: Integration test does not work - KinesisComponentManualIT
> ------------------------------------------------------------------------------
>
> Key: CAMEL-17994
> URL: https://issues.apache.org/jira/browse/CAMEL-17994
> Project: Camel
> Issue Type: Test
> Components: camel-aws2, tests
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Priority: Major
> Fix For: 3.17.0
>
>
> There is a code in the test
> {quote}Record record = resultExchange.getIn().getBody(Record.class);
> assertEquals(data, new String(record.data().asByteArray()));
> {quote}
> Body of the exchange is already converted in to InputStream in
> Kinesis2Consumer class.
> Working code should be:
> {quote}assertEquals(data,resultExchange.getIn().getBody(String.class));
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)