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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to