Contents
Figures
Tables
About this book
Who this book is for
What you need to know to understand this book
How to use this book
Terms used in this book
Appearance of text in this book
Summary of changes
Changes for this edition (SC34-6606-00)
Introduction and system design
Introduction
What is publish/subscribe?
What are the components involved?
Example of a single broker configuration
Example of a multiple broker configuration
How does it work?
How WebSphere
(R)
MQ Publish/Subscribe relates to WebSphere MQ
How WebSphere MQ Publish/Subscribe relates to WebSphere Business Integration Message Broker and WebSphere Business Integration Event Broker
System design
Topics
Matching topic strings
Streams
Broker networks
Passing subscription information between brokers
Different types of publication
Local and global publications
State and event information
Retained publications
Sample application
Writing applications
Introduction to writing applications
Message flows
Simplified message flow
Message ordering
Ensuring that messages are retrieved in the correct order
Publisher and subscriber identity
Subscription name and identity
The message descriptor
Messages sent to the broker
Publications forwarded by the broker
Persistence and units of work
Limitations
Group messages
Segmented messages
Cluster queues
Data conversion of MQRFH structure
Using the Application Messaging Interface
AMI publish/subscribe functions
Writing publisher applications
Registering with the broker
Choosing not to register
Options you can specify when registering as a publisher
Broker restart
Changing an application's registration
Publishing information
Publication data
Retained publications
Publishing locally and globally
Deleting information
Deregistering with the broker
Writing subscriber applications
Registering as a subscriber
Subscriber queues
Options you can specify when registering as a subscriber
Broker restart
Changing an application's registration
Requesting information
Requesting information from the broker
Requesting information from a publisher
Deregistering as a subscriber
Format of command messages
MQRFH - Rules and formatting header
Fields
Structure definition in C
Publish/Subscribe name/value strings
Options using string constants
Options using integer constants
Sending a command message with the RFH structure
Publication data
Double-byte character sets
Publish/Subscribe command messages
Delete Publication
Required parameters
Optional parameters
Example
Error codes
Deregister Publisher
Required parameters
Optional parameters
Example
Error codes
Deregister Subscriber
Required parameters
Optional parameters
Example
Error codes
Publish
Required parameters
Optional parameters
Example
Error codes
Register Publisher
Required parameters
Optional parameters
Example
Error codes
Register Subscriber
Required parameters
Optional parameters
Example
Error codes
Request Update
Required parameters
Optional parameters
Example
Error codes
Error handling and response messages
Error handling by the broker
Response messages
Message descriptor for response messages
Types of error response
Broker responses
Standard parameters
Optional parameters
Examples
Error codes applicable to all commands
Problem determination
Sample programs
Sample application
Running the application
Possible extensions
Application Messaging Interface samples
Managing the broker
Setting up a broker
Broker queues
System queues
Other stream queues
Internal queues
Dead-letter queue
Other considerations
Access control
Backup
Broker configuration stanza
Broker configuration parameters
Controlling the broker
Starting a broker
Using triggering to start the broker
Stopping a broker
Displaying the status of a broker
Adding a stream
Creating a stream queue
Informing other brokers about the stream
Deleting a stream
Deleting a stream on an isolated broker
Deleting a stream on a broker that is part of a network
Adding a broker to a network
Deleting a broker from the network
Problems when deleting brokers
Deleting a broker that has a child broker
Sequence of commands for adding and deleting brokers
Control commands
clrmqbrk (Clear broker's memory of a neighboring target broker)
dltmqbrk (Delete broker)
dspmqbrk (Display broker status)
endmqbrk (End broker function)
migmqbrk (Migrate broker to WebSphere Business Integration Brokers)
strmqbrk (Start broker function)
Message broker exit
Publish/subscribe routing exit
Parameters
Usage notes
Publish/subscribe routing exit parameter structure
Writing a publish/subscribe routing exit program
Limitations on WebSphere MQ work done in the routing exit
Security considerations
Compiling a publish/subscribe routing exit program
Sample routing exit
System programming
Writing system management applications
Format of broker administration messages
Subscription deregistered message
Stream deleted message
Broker deleted message
Stream support messages
Children messages
Parent messages
MQCFH - PCF header
Reason codes returned from publish/subscribe messages
PCF Command Messages
Delete Publication
Deregister Publisher
Deregister Subscriber
Publish
Register Publisher
Register Subscriber
Request Update
Finding out about other publishers and subscribers
Metatopics
Subscribing to metatopics
Using wild cards
Example requests
Authorized metatopics
Finding out about brokers
Message format for metatopics
Parameters
Sample program for administration information
Operation
Example of metatopic information
Appendixes
Appendix A. Header files
Appendix B. Notices
Trademarks
Index
Notices
|
Downloads
|
Library
|
Support
|
Feedback
amqnar1002