You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/12 07:54:43 UTC

[GitHub] [camel-k] squakez commented on pull request #3166: Add Mount trait example

squakez commented on PR #3166:
URL: https://github.com/apache/camel-k/pull/3166#issuecomment-1096295110

   I think we still need something. Let me provide here a sort of script the user could run, and you will be able to provide the related Integrations:
   ```
   kamel run Producer.java --volume my-pv-claim:/tmp/log -p quarkus.log.file.path=/tmp/log/trace.log -p quarkus.log.file.enable=true
   
   kamel run Consumer.java --volume my-pv-claim:/tmp/log
   ```
   The Producer could be a timer to log Integration. You can provide some incremental counter, ie, simple language `${exchangeProperty.CamelTimerCounter}`. Ideally the consumer should process the file in order to do something (ie, filtering for some number), so you can have a basic example with a few useful things in it.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org