Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
There is a code in the test
Record record = resultExchange.getIn().getBody(Record.class); assertEquals(data, new String(record.data().asByteArray()));
Body of the exchange is already converted in to InputStream in Kinesis2Consumer class.
Working code should be:
assertEquals(data,resultExchange.getIn().getBody(String.class));
Attachments
Issue Links
- links to