Hello, i have written a service class which acts on DAO but before acting on DAO layer it is calling rule security.drl file. I want to capture the message from the rule file and according to some condition of failure of success i have to call DAO class. I am not knowing how to write  up a condition before calling DAO.

If not understood clearly i can provide the coding

Regards
Surya