There is an example here https://github.com/apache/camel/blob/master/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnrichExpressionNoCacheTest.java
You can find many examples in the unit tests of camel. On Wed, Feb 10, 2016 at 6:05 PM, Juan Pablo Converso <jpcon...@gmail.com> wrote: > Hi > > I'm using Java DSL and I'd like to set the cacheSize but I was unable to > find a way to do it using DSL language... > Any help would greatly appreciated :) > > Regards > JP > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-set-the-cacheSize-in-pollEnrich-tp5777549.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2