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
Publish command
Register Subscriber command
Deregister Subscriber command
Receive a publication
Writing publisher applications
Registering with the broker
Choosing not to register
Options you can specify when registering as a publisher
Queue name
Selecting a stream
Publisher identity
Registration scope
Registration expiry
Broker restart
Changing an application's registration
Publishing information
Publication data
Including data in the message
Referring to data in the message
Retained publications
Expiry of 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
Queue name
Selecting a stream
Subscriber identity
Subscription scope
Subscription expiry
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
OK response
Warning response
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
Notices
|
Downloads
|
Library
|
Support
|
Feedback
part2