Hi,

We have a requirement wherein we need to insert/update DB record after the
last route in the context is executed.

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.

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.

Reply via email to