close
2007年12月9日 星期日
 

.
. IBM WebSphere MQ v6.0
. Chapter 3.3 - IBM WebSphere Publish / Subscribe
.

====== MQ Publish / Subscribe (Topic) ======
※ MQ Messages are the vehicle (傳播媒介) used to transport the information between publishers and subscribers. The subject of that information is called a topic.

※ There is a requirement for a middleman to handle the proper routing of information. This is handled by a broker.

Topics that are related can be grouped into streams; allowing for fewer total items that the broker needs to manage. It also makes access control simpler. If topic does not belong to a particular stream, the broker has a default stream.

Broker configuration can become very complex with many brokers in a network. However - only one broker is allowed per Queue Manager.


====== Setting Up the Broker ======
※ Queues for each broker automatically defined when broker starts if they do not exist :
 - SYSTEM.BROKER.CONTROL.QUEUE
 - SYSTEM.BROKER.DEFAULT.STREAM
 - SYSTEM.BROKER.ADMIN.STREAM
 - SYSTEM.BROKER.MODEL.STREAM
 - SYSTEM.BROKER... (Created by the broker for internal use.)

※ Authorize applications to use these Queues.

※ Update configuration information in qm.ini or broker page of Queue Manager properties in MQ Explorer.


====== Controlling the Broker ======
1. To start a Broker : # strmqbrk (Can be Triggered)
2. To stop a Broker : # endmqbrk
3. To display a Broker : # dspmqbrk
4. To delete a Broker : # dltmqbrk (Broker must be stopped an MQ must active)
5. To clear a Broker : # clrmqbrk
6. To migrate a Broker : # migmqbrk


====== Message Broker Exits ======
※ Allow customization of publications at broker.
 - Can ALTER publication and MQMD

※ Configured in qm.ini or broker page of Queue Manager properties in MQ Explorer.

※ Sample exit provided
 - Changes destination Queue or Queue Manager.

arrow
arrow
    全站熱搜

    amzshar 發表在 痞客邦 留言(0) 人氣()