How to retrieve the contents of database polling?

I am polling a particular DB table for new changes using the JDBC Adapter.As soon as a new record is found, the adapter identifies the changes and publishes the same as a document.

How do I retrieve the contents of the document for further processing? As of now I am using savepipelinetofile service to see the contents.

Can anyone suggest the appropriate way to achieve the same? I am using wM6.0.1.

Thanks in Advance.

Regards,
Prasanna.

the notification is published as a document on the broker

just create a trigger for the document and use the document as input of the service you call with the trigger

it is as easy as this