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 2019/12/12 17:00:14 UTC

[GitHub] [camel-k] nicolaferraro commented on issue #1079: Example Request: CamelJmsToFileExample.java

nicolaferraro commented on issue #1079: Example Request: CamelJmsToFileExample.java
URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565093650
 
 
   Native support will come with properties when we switch to Camel 3.0.1 (next version is expected to support Camel 3.0.0).
   
   For the time being a possible solution is to use env variables:
   
   ```
   ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(System.getenv("MY_URI"));
   ```
   
   And:
   
   ```
   kamel run --env MY_URI=xxx TheIntegration.java
   ```
   
   It's more a workaround waiting for property-based configuration, but it should work.

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