when an exception happens, I want to shut down the routes..

2013-05-08 Thread Gvvenkat
If an exception occurs while processing, I would like to invoke the process of shutting down the routes in the context. Can you please tell me, if this can be achieved in camel. If so, an example will be great help for me. Thanks gvvenkat -- View this message in context: http://camel.465427

SSH using dynamic slip

2013-06-03 Thread Gvvenkat
DSL. Thanks a lot GVvenkat -- View this message in context: http://camel.465427.n5.nabble.com/SSH-using-dynamic-slip-tp5733752.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: SSH using dynamic slip

2013-06-04 Thread Gvvenkat
I found a work around for this... Thanks, if anyone had spent any time on it. -- View this message in context: http://camel.465427.n5.nabble.com/SSH-using-dynamic-slip-tp5733752p5733822.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: SSH using dynamic slip

2013-06-06 Thread Gvvenkat
No I did not have to go that far :) ... I introduced a bean that sets up the command to be executed on the exchange body ( exchnage.getIn() and on exchange.getOut). Luckily in my case, I did not have to chnage the to uri. But I am sure, you can achieve a "dynamic SSH to uri" using bean's get method

Re: Transforming large mainframe file

2013-02-05 Thread Gvvenkat
Thanks a lot. It helped lot. I found a help on how to improve the speed also. http://www.catify.com/2012/07/09/parsing-large-files-with-apache-camel/ But, I am unable to convert this into Spring DSL. Any help will be greatly appricated.. Here is my equivalent JAVA DSL from("file:F:/EbcConv

Re: Java DSL vs Spring Dsl with Splitter and Aggregator

2013-02-09 Thread Gvvenkat
Thanks for your continuing elp on this matter. I made the change of removing mock point but made no difference.. I think, the problem could be the way it is being loaded...so I am sending you my Main method for your kind reference... Please let me know, if you think the root issue could be somew

Completion size question dynamic

2013-02-27 Thread Gvvenkat
I am using splitter with aggregator for processing a large file. So it is hard for me to know no of splits the splitter produces feeding to the aggregator. Since completion size one of key attribute for aggregator, how can I work around this issue. Please advise Thanks in advance. -- Vi

AggregationStrategy not writing to end result

2013-02-28 Thread Gvvenkat
Hi, I am using an aggregator to add ";" inbetween the message that is tokenized by "\n". But the end result does not show ';' at the end every line.. what am I doing wrong.. Here is route config...