Sorry, I didn't understand your requirements. Could you explain it in more detail? See my comments inline.
Sent from a mobile device Am 01.02.2013 11:38 schrieb "BAnanth" <bhavani.ana...@wipro.com>: > > Hi, > > We have a requirement wherein we need to insert/update DB record after the > last route in the context is executed. Explain what you mean. > > The solution has to be generic in the sense the last route detail (id) would > have to be read from the properties file and then insert/update stmt has to > be executed. Please explain. > > We are planning to use OnCompletion. But we are not sure how to implement > the same in a generic way. The user would be only giving the route id and we > need to write a jav class that would read the file and based on the route > id, trigger the oncompletion functionality. > > Thanks in advance for your help. > > Regards, > Bhavani > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Regarding-OnCompletion-functionality-tp5726726.html > Sent from the Camel - Users mailing list archive at Nabble.com.