RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565161244 I get the same/similar error simply trying to hard code the values: @org.apache.camel.PropertyInject("test-jms") private String component; **Am I misinterpreting this:** https://camel.apache.org/manual/latest/using-propertyplaceholder.html It seems like this: > public class MyRouteBuilder extends RouteBuilder { > > @PropertyInject("hello") > private String greeting; > > @Override > public void configure() throws Exception { > from("direct:start") > .transform().constant(greeting) > .to("{{result}}"); > } > } puts "hello" in as the greeting. While: > @PropertyInject("Hello {{name}} how are you?") > private String greeting; will let me have name be a dynamic value...
---------------------------------------------------------------- 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