codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] lburgazzoli commented on issue #300: add resources to an integration


lburgazzoli commented on issue #300: add resources to an integration
URL: https://github.com/apache/camel-k/pull/300#issuecomment-448221098
 
 
   @nicolaferraro 
   
   ok, so I've added support for looking up resources using env vars. using camel dsl it should look like:
   
   ```java
   from('timer:resources')
       .routeId('resources')
       .setBody()
           .simple("resource:platform:resources-data.txt")
       .log('file content is: ${body}')
   ```
   do you mind having a look ?
   

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


With regards,
Apache Git Services