can you make PropertyPlaceholder resolution aware of its CamelContext?

2013-04-23 Thread codemonkey73
I'm trying to make properties that are used in PropertyPlaceholders configurable, so they can be updated and stored in a database, and then the database property values will be checked first. It looks like Spring 3.1's PropertySources might help with that. I just learned about those, but up until n

how to specify which method when calling a direct route?

2012-03-07 Thread codemonkey73
We've built a small directory of services (POJOs) for which we have built direct to bean routes. They've worked so far when using a ProducerTemplate to call the direct route. To specify the method when using ProducerTemplate, we use requestBodyAndHeader("direct:myService", [methodparameterOrNull]