Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-20659

Regression from 1.8 - body type changed to StreamCache from byte[] for field action kamelets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • camel-k-1.10
    • camel-k-1.10
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Very Likely

      On OCP 4.11, with Camel K 1.10.0CK5, the running integration created from kameletbindingĀ timer-to-log-replace-field-action produces message with body type org.apache.camel.StreamCache instead of byte[]:

      CK 1.8.2:

      2022-12-07 16:38:47,850 INFO [info] (Camel (camel-1) thread #1 - timer://tick) Exchange[ExchangePattern: InOnly, Headers: {CamelMessageTimestamp=1670431127787, Content-Type=application/json, firedTime=Wed Dec 07 16:38:47 GMT 2022}, BodyType: byte[], Body: "John"] 
      

      vs

      CK 1.10.0CK5:

      2023-01-05 12:47:42,217 INFO [info] (Camel (camel-1) thread #1 - timer://tick) Exchange[ExchangePattern: InOnly, Headers: {CamelMessageTimestamp=1672922862214, Content-Type=application/json, firedTime=Thu Jan 05 12:47:42 GMT 2023}, BodyType: org.apache.camel.converter.stream.InputStreamCache, Body: [Body is instance of org.apache.camel.StreamCache]]
      

      I observe the issue for action kamelets:

      • extract-, hoist-, insert-, mask-, replace-field
      • predicate-filter-action

              lfabriko@redhat.com Lucie Krejcirova
              lfabriko@redhat.com Lucie Krejcirova
              Lucie Krejcirova Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: