I am trying to configure a file route with the idempotentRepository option using route builder. Seems you cannot reference spring beans using # notation as you would in spring dsl. Is there a simple way to achieve this in java dsl?
v2.8.1 from("file://c:/temp?idempotentRepository=#repo").to("file://c:/out") where repo is a spring bean implementing IdempotentRepository I thought of creating an endpoint first using the uri casting that to GenericFileEndpoint and then setting the idempotentRepository, but not sure if this is right. ((GenericFileEndpoint)getCamelContext().getComponent("file").createEndpoint("file://c:/temp")).setIdempotentRepository(repo); -- View this message in context: http://camel.465427.n5.nabble.com/Using-notation-in-java-dsl-tp5731032.html Sent from the Camel - Users mailing list archive at Nabble.com.