Qus: can u explain abt Pub-Sub Architecture,where do u implemented this?
2) Point-to-Multiple Architecture
Publisher publishes a document broker then the subscriber receive the document from broker.you should make document as publishable at publisher side.
Subscriber should subscribe to that particular document by creating a trigger. The trigger monitors that document. If a subscribed document got published then trigger invokes a service which associates with trigger to handle the document.