we have an existing application which handles/process events those occur on the network.It is developed using webservice and jdbc(DAO).

The flow will  be as below.

   when an event occurs from the network the existing application does some proessing like parsing the incoming event/trap and sends the event to trouble ticket management.the operator will work on that particular ticket to resolve the issue.

 

  Now we would like to plugin some diagnostic framework which will diagnose the incoming event/trap before sending to trouble ticket management system.

 

   Please suggest some better patterns and technologies to design the diagnostic framework.