deadLetterChannel with enrich

2011-06-03 Thread Greg McFall
Hi, I have the following configuration: errorHandler( deadLetterChannel("direct:deadChannel") .disableRedelivery() ); from("direct:inbox") .enrich("direct:enri

Custom error handler around one endpoint

2011-06-02 Thread Greg McFall
Hi, As best I can tell, there is just one error handler for the entire context. Is there a way to create a custom error handler that can be applied around a single endpoint? ~ Greg McFall

Re: Loop usage

2011-05-27 Thread Greg McFall
I just tried it. Sadly, the inOnly() trick does not work. On Fri, May 27, 2011 at 5:50 PM, Donald Whytock wrote: > Have you tried using inOnly()? As in > > from(start).loop(3).inOnly().to(endpoint); > > On Fri, May 27, 2011 at 5:34 PM, Greg McFall > wrote: > > Don,

Re: Loop usage

2011-05-27 Thread Greg McFall
;d want to modify the > same exchange over and over. So the functionality of the loop is > entirely dependent on the functionality of the processor you attach to > it. > > On Fri, May 27, 2011 at 4:48 PM, Greg McFall > wrote: > > Don, > > > > Yes, that mig

Re: Loop usage

2011-05-27 Thread Greg McFall
ange.copy()); } > > } > > Then use it in your loop: > > from(endpoint) >.process(new LoopProcessor(new CopyProcessor(processor))); > > On Fri, May 27, 2011 at 1:24 PM, Greg McFall > wrote: > > Don, > > > > I don't understand what you are p

Re: Loop usage

2011-05-27 Thread Greg McFall
doesn't get > changed? > > Don > > On Fri, May 27, 2011 at 12:36 PM, Greg McFall > wrote: > > Hi, > > > > The Camel documentation contains the following statement about the Loop > > pattern: > > > > The Loop allows to process a messag

Loop usage

2011-05-27 Thread Greg McFall
iteration? Cheers, Greg McFall

Re: Problem using dead message channel

2011-05-25 Thread Greg McFall
gt; > return body + "." + count; > > } > > } > > > > @Override > > protected RouteBuilder createRouteBuilder() { > > return new RouteBuilder() { > > > > @Override > > public void configure() throws Exception { > > err

Problem using dead message channel

2011-05-25 Thread Greg McFall
eliveries(3) .redeliveryDelay(500) ); MyService bean = new MyService(); from("direct:inbox") .bean(bean, "enrich") .to("mock:sink"); } }; } } Thanks, ~ Greg McFall