spring - Camel context properties from DB -
right now, bootstrap camel using spring. using spring, can point camel contexts respective properties files injected @ boot time. issues want move properties file database, yet still able use property placeholders before. what's best way go doing this?
i've noticed there's propertiesresolver
interface implement, wouldn't know how tell camel implementation. camel's documentation lacking in area.
i wouldn't opposed having spring properties database me, although don't see happening.
the propertiesresolver designed camel locate properties files osgi bundle or normal class path.
if want setup owner propertiesresolver, can try use org.apache.camel.spring.spi.bridgepropertyplaceholderconfigurer.
you can inject customer implementation of propertiesresolver there.
Comments
Post a Comment