pubsub

Please download to get full document.

View again

of 6
12 views
DOC
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Document Description
MQ Brief
Document Share
Documents Related
Document Tags
Document Transcript
  Authors: Sai Krishna,Prasanth,Santosh  Table of Contents 1.Introduction.......................................................................................................................................32.Target Audience.................................................................................................................................33.Requirements.....................................................................................................................................3Hardware Requirements:..................................................................................................................3.! er iew...........................................................................................................................................#.$ui%d it &ourse%'................................................................................................................................#(.Re'erences.........................................................................................................................................(  1. Introduction Pu)%ish*su)scri)e messaging a%%ows +ou to decou%e the ro ider o' in'ormation, 'rom the consumers o' that in'ormation. The sending a%ication and recei ing a%ication do not need to -now an+thing a)out each other 'or the in'ormation to )e sent and recei ed.$e'ore a ointtooint /e)Shere 0 a%ication can send a message to another a%ication, it needs to -now something a)out that a%ication. or eam%e, it needs to -now the name o' the queue to which to send the in'ormation, and might a%so seci'+ a queue manager name./e)Shere 0 u)%ish*su)scri)e remo es the need 'or +our a%ication to -now an+thing a)out the target a%ication. A%% the sending a%ication has to do, is ut a /e)Shere 0 message, containing the in'ormation that it wants, and assign it a toic, that denotes the su)4ect o' the in'ormation, and %et /e)Shere 0 hand%e the distri)ution o' that in'ormation. Simi%ar%+, the targeta%ication does not ha e to -now an+thing a)out the source o' the in'ormation it recei es.igure 1 shows the sim%est u)%ish5su)scri)e s+stem. There is one u)%isher, one queue manager, and one su)scri)er. A su)scrition is sent 'rom the su)scri)er to the queue manager, a u)%ication is sent 'rom the u)%isher to the queue manager, and the u)%ication is then 'orwarded )+ the queue  manager to the su)scri)er.  Figure 1. Simple publish/subscribe configuration A t+ica% u)%ish5su)scri)e s+stem has more than one u)%isher and more than one su)scri)er, and o'ten, more than one queue manager. An a%ication can )e )oth a u)%isher and a su)scri)er. 2. Target Audience S+stem Administrators 3. Requirements Hardware Requirements:For Windows:x86 and x866! 6a%so -nown as (7 techno%og+comati)%e P8 hardware, caa)%e o' running the required %e e% o' a comati)%e oerating s+stem with enough storage to meet the com)ined requirements o' the rogramming rerequisites, /e)Shere 0, the access methods and the a%ication rograms. 99ote that Itanium ()it is not suorted. inux #or $%stem x &32'it(x86  comati)%e P8 hardware, inc%uding ;(( rocessors, caa)%e o' running the required %e e% o' a comati)%e oerating s+stem with enough storage to meet the com)ined requirements o' the rogramming rerequisites, /e)Shere 0, the access methods and the a%ication rograms. inux #or $%stem x &6!'it( A0<(, =0T(, and comati)%e rocessors  an+ hardware that is e%icit%+ comati)%e and 'u%%+ caa)%e o' running the seci'ied oerating s+stem, a%% the corresonding suorting so'tware shown )e%ow, and an+ associated a%ications unmodi'ied. !. )*er*iew The Pu)5Su) design attern is )ased on a scenario where c%ients 6u)%ishers7 >u)%ish? messages to toics. Then one or more c%ients 6su)scri)ers7 that are interested in that toic can >su)scri)e? to thattoic. Pu)%ishers and Su)scri)ers are %oose%+ cou%ed and are not aware o' each other. This is di''erent than the ointtooint im%ementation where sender and recei ers are tight%+ cou%ed at minimum 'rom a connecti it+ standoint.o%%owing is a er+ high%e e% i%%ustration o' Pu)5Su):    +om,onents o# ,u'-is/su'scri'e Pu)%isher  This comonent generates messages 6u)%ications7 under a certain su)4ect 6toic7 and sends the u)%ications to a /0 queue manager. A u)%isher -nows nothing a)out the reciient6s7 o' the in'ormation.Su)scri)er This comonent registers interest in a certain toic6s7 with a /0 queue manager. It a%so seci'ies its su)scrition queue name@ that is, the queue where it wants to recei e the messages re%ated to this toic. The su)scri)er -nows nothing a)out the in'ormation u)%ishers6s7.Pu)%ications Router  This comonent asses messages 'rom u)%ishers to toic su)scri)ers. enera%%+ this is a ueue 0anager. Toic  A toic is a character string that descri)es the su)4ect o' the in'ormation that is  u)%ished in a u)%ish5su)scri)e message. 0. ui-d it %ourse-#  i( +reating and starting te queue manager A
Similar documents
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks