Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17994

Camel-aws2-kinesis: Integration test does not work - KinesisComponentManualIT

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.17.0
    • camel-aws2, tests
    • 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

          Activity

            People

              jondruse Jiri Ondrusek
              jondruse Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: