Hello All,
I have a unit test and I want to change a camel property.  I am only a
single version of the configuration file to test against so I would like to
change the property in code.  For example, I thought I could do something
like this:

context.getProperties().put("myProperty", "false");

However, that didn't do it.  

I see that I can resolve a property like this:

context.resolvePropertyPlaceholders("property");

However it doesn't look like I can change its value.  Is there a way to
dynamically change a property in a Camel Context unit test?

Thanks,
Yogesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/Change-property-in-unit-test-tp5758017.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to