You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/07/26 10:58:10 UTC

[GitHub] [camel-k-runtime] nicolaferraro opened a new issue #118: Knative component filters out all headers

nicolaferraro opened a new issue #118: Knative component filters out all headers
URL: https://github.com/apache/camel-k-runtime/issues/118
 
 
   Consider the following integration sending data to a channel:
   
   ```
   from('timer:clock?period=3s')
   	.setBody().constant("Hello World from Camel K")
   	.setHeader('CamelCippaLippa').constant('42')
   	.to('log:info?showHeaders=true')
   	.to('knative:channel/messages')
   	.to('log:info?showHeaders=true')
   	.log('sent message to messages channel')
   ```
   
   This is the output log:
   
   ```
   2019-07-26 10:57:00.318 INFO  [Camel (camel-k) thread #2 - timer://clock] info - Exchange[ExchangePattern: InOnly, Headers: {CamelCippaLippa=42, firedTime=Fri Jul 26 10:57:00 UTC 2019}, BodyType: String, Body: Hello World from Camel K]
   2019-07-26 10:57:00.323 INFO  [Camel Thread #3 - NettyClientTCPWorker] info - Exchange[ExchangePattern: InOnly, Headers: {CamelHttpResponseCode=202, CamelHttpResponseText=Accepted, Content-Length=0, Date=Fri, 26 Jul 2019 10:57:00 GMT}, BodyType: byte[], Body: ]
   2019-07-26 10:57:00.323 INFO  [Camel Thread #3 - NettyClientTCPWorker] route1 - sent message to messages channel
   ```
   
   The `CamelCippaLippa` header is deleted after passing from the knative endpoint.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services