On Wed, Sep 12, 2012 at 8:52 AM, Tim Dudgeon <tdudgeon...@gmail.com> wrote: > Great. That works. Thanks. > BTW, the example in the Camel in Action book (p 322) seems wrong then as it > describes it the way I originally had it. >
The book is not wrong. The block parameter is on the *producer* side, so you should have it in the "to". > Tim > > > > On 12/09/2012 03:34, Willem jiang wrote: >> >> You need set the seda endpoint parameter on the first one endpoint, >> because Camel will pickup the created queue in the next endpoint. >> >> Please change the first route like this >> … >>> >>> .log('direct ${body}') >>> .to('seda:insert?blockWhenFull=true&size=5') > > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen