camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Straube <>
Subject Re: Route Question
Date Thu, 07 Apr 2011 07:44:44 GMT
I can't see the code. Perhaps this is the mailinglist issue Claus posted 
some days ago. But anyway - on one side it is a discussion about coding 
style. I think it's cleaner / easier to read to have two three line 
routes where each of the route has its own and clear task to do, than a 
all in one solution with a if clause in the end. But as I said this is a 
question of taste. On the other side I don't have a quick tip for a all 
in one solution...

On 06.04.2011 19:29, jpalmer1026 wrote:
> Nothing is wrong with the proposed solution per se. It would just be cleaner
> if at the end of the route I could just put some sort of otherwise clause
> since I know at this point that the file isn't one contained in the list
> that is getting passed in. Note sure why you couldn't read my snippet (I
> didn't see any  tags to surround it with) but here it is again:
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message