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

Log-sink kamelet doesn't show body of message by default

XMLWordPrintable

    • False
    • False
    • 0
    • 0% 0%
    • Todo

      The log-sink kamelet doesn't show body of message by default: the property "showStreams" is false by default.
      I would suggest to set it to true.

      Example from documentation with coffee-source kamelet to log-sink:

      [1] 2021-11-29 17:50:35,695 INFO  [info] (Camel (camel-1) thread #0 - timer://tick) Exchange[ExchangePattern: InOnly, BodyType: org.apache.camel.converter.stream.CachedOutputStream.WrappedInputStream, Body: [Body is instance of java.io.InputStream]]    
      

      With showStreams=true:

      [1] 2021-11-29 17:53:07,787 INFO  [info] (Camel (camel-1) thread #0 - timer://tick) Exchange[ExchangePattern: InOnly, BodyType: org.apache.camel.converter.stream.CachedOutputStream.WrappedInputStream, Body: {"id":2302,"uid":"3b4810f5-41a3-4c9b-868f-96be87ada615","blend_name":"Pumpkin-spice Cowboy","origin":"Cauca, Colombia","variety":"Dilla","notes":"quick, round, nougat, black-tea, golden raisin","intensifier":"faint"}]
      

              acosenti Andrea Cosentino
              lfabriko@redhat.com Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: