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 2021/02/02 09:46:19 UTC

[GitHub] [camel-k] lancerdima commented on issue #1984: Options to share state between routes

lancerdima commented on issue #1984:
URL: https://github.com/apache/camel-k/issues/1984#issuecomment-771508723


   >     - from:
   >         uri: "salesforce:event/PlatformEvent__e"
   >         steps:
   >           - {some useful stuff}
   >           - {some more useful stuff}
   >           - set-property:   # capture the shared state here
   >               name: commit_replay_id
   >               simple: "${headers.CamelSalesforceReplayId}"
   >     - from:
   >         uri: "timer:offsetHandler?fixedRate=true&period=10000&delay=10000"
   >         steps:
   >           - log: "${exchangeProperty.CamelSalesforceReplayId}"    # use the shared state here
   
   This is the yaml config I have tried.
   


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