Writing Broker client

I have a broker configured. A document is published to the broker from an adapter service. Now I want to write a client which can retrieve from the Broker. How to write the client for this.

Dear Srinivas,

sorry for the expression, but please RT*M. It’s called BrokerClientJavaAPIProgrammersGuide.pdf and it’s located in <wm_install_dir>/Broker/doc.