18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Producer<br />

Topic<br />

t<br />

Middleware Technologies 223<br />

Subscribes<br />

Delivers<br />

Msgl<br />

Delivers<br />

Subscribes<br />

Figure 8.2. — Publish/subscribe messaging system<br />

Subscriber 1<br />

Subscriber 2<br />

'subscribe' <strong>to</strong> events of interest and consume events (see Figure 8.2).<br />

Producers associate messages with a specific <strong>to</strong>pic and the messaging<br />

system routes messages <strong>to</strong> consumers based on <strong>to</strong>pics the consumers<br />

register interest in.<br />

Publish/subscribe allows each application in the system <strong>to</strong> decide<br />

which events it wants <strong>to</strong> be notified about. Publishers do not know<br />

which applications are subscribing, nor do they care. The messaging<br />

middleware is responsible for ensuring that each subscriber receives the<br />

message once it receives it from the publisher. TIBCO's TIB/Rendezvous<br />

popularized the publish/subscribe model, where it found a large following<br />

in the financial industry.<br />

Point-<strong>to</strong>-point<br />

In point-<strong>to</strong>-point messaging systems, messages are routed <strong>to</strong> an individual<br />

consumer which maintains a queue of 'incoming' messages. Messaging<br />

applications send messages <strong>to</strong> a specified queue and clients retrieve<br />

messages from a queue.<br />

As Figure 8.3 illustrates, the traditional point-<strong>to</strong>-point MOM architecture<br />

can create a maintenance nightmare. Each application's messaging<br />

service must know about the messaging services of all other applications<br />

in order <strong>to</strong> communicate. As new applications are added <strong>to</strong> the enterprise,<br />

their messaging services must be systematically updated <strong>to</strong> communicate<br />

with each application.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!