MQSeries Publish/Subscribe Applications

Book description

Publish and Subscribe is an effective way of disseminating information to multiple users. Publish/Subscribe applications can help to enormously simplify the task of getting business messages and transactions to a wide, dynamic and potentially large audience in a timely manner.
This IBM Redbooks publication positions the MQSeries Publish/Subscribe to MQSeries Integrator Publish/ Subscribe.
It will help you create, tailor and configure an application from publishing data through to subscribing via web pages.
The books provides a broad understanding of a building and running an entire publish/subscribe solution.
It will help give you a quick start to design and create a solution and then migrate it from MQSeries Publish/Subscribe to MQSeries Integrator Publish/Subscribe.

Table of contents

  1. Preface
    1. The team that wrote this redbook
    2. Special notice
    3. IBM trademarks
    4. Comments welcome
  2. Chapter 1: Introduction to publish/subscribe
    1. What is publish/subscribe?
    2. MQ products
      1. MQSeries
      2. MQSeries Integrator
    3. Features of MQ Publish/Subscribe systems
      1. Retained publications
      2. Message persistence
      3. Topic-based or content-based subscriptions
      4. Temporary subscriptions
      5. Expiration
    4. Languages and interfaces
      1. AMI
      2. JMS
      3. MQI
    5. Broker networks
      1. MQSeries Publish/Subscribe broker networks
      2. MQSeries Integrator and mixed broker networks
  3. Chapter 2: Technical overview
    1. Queues and message headers
      1. Queues
      2. Message formats
  4. Chapter 3: Example application
    1. The business case
    2. Application solution
      1. Simulated public transport system
    3. Publish/subscribe scenario 1
    4. Publish/subscribe scenario 2
    5. Publish/subscribe scenario 3
    6. Publish/subscribe scenario 4
    7. Publish/subscribe scenario 5
  5. Chapter 4: The publish/subscribe application
    1. Software components
    2. Environment setup
      1. MQSeries Publish/Subscribe installation
      2. JMS installation
      3. JMS overview
      4. JMS configuration, JNDI and JMSAdmin (1/3)
      5. JMS configuration, JNDI and JMSAdmin (2/3)
      6. JMS configuration, JNDI and JMSAdmin (3/3)
      7. Defining MQSeries required for the application
      8. AMI overview
      9. AMI installation
      10. AMI configuration (1/3)
      11. AMI configuration (2/3)
      12. AMI configuration (3/3)
    3. PubLauncher
      1. The properties file - pub.properties
      2. PubLauncher coding logic
      3. Starting the publication application
    4. PubThread
      1. PubThread coding logic
    5. The publication messages
    6. Publishing in C
      1. Vehicle C AMI program
      2. Vehicle C MQI program
    7. Publishing in Java
      1. Publishing in JMS
      2. Publishing in Java AMI
    8. Subscription
      1. Setup of the environment
      2. XMLParser setup
      3. VAJava setup
    9. AMI administration setup
    10. Sample subscriber application
      1. Control Program
      2. XML parser program
      3. GUI program
      4. Parsing JMS-based published message
    11. Comments and extensions
      1. Retained publications
      2. Streams
      3. Broker networks
  6. Chapter 5: Migration to MQSeries Integrator
    1. Step-by-step guide
      1. Step 1 - Creation of a publication queue
      2. Step 2 - Creation of a simple publish message flow
      3. Step 3 - Deployment to the target broker
      4. Step 4 - Executing example applications on MQSeries Integrator
      5. Step 5 - Trace analysis
    2. Comments and extensions
      1. Streams handling in MQSeries Integrator
      2. Subscription points
      3. MQSeries Integrator broker networks and collectives
      4. Topic-based security
      5. Example - migration of applications using streams
      6. Example - message translation using subscription points
      7. Example - MQSeries Integrator broker networks
      8. Example - confidential publish/subscribe environment (1/2)
      9. Example - confidential publish/subscribe environment (2/2)
    3. Other forms of interoperability
      1. Mixed broker networks
      2. Migrating an MQSeries broker to MQSeries Integrator
      3. Example - mixed broker networks
  7. Chapter 6: Web enablement
    1. A simple Web-based subscriber
      1. WebSphere Application Server configuration
      2. Servlet configuration
      3. AMI repository configuration
      4. Program invocation
      5. Discussion about the Web part of the application
    2. Comments and extensions
  8. Chapter 7: Advanced Web enablement
    1. Concept
      1. A new middle tier component
      2. Architectural considerations
    2. Forecast application
      1. ForecastThread: single-threaded behavior
      2. ForecastThread: multithreading behavior
      3. The forecast message
    3. JMS Web subscriber application
      1. Servlet configuration
      2. Program invocation
    4. Program flow of the application
      1. Using MQSeries Integrator to tweak publication content
      2. Comments and extensions
    5. AMI Web application and message filtering
      1. Content-based subscriptions
      2. Content-based Web subscriber application
      3. Servlet configuration
      4. AMI repository configuration
      5. Program invocation
      6. Discussion of the application
      7. Subscribe on request
    6. Example - a three-tier implementation
    7. Final content-based subscriptions considerations
      1. Applicability
      2. Content-based subscription simulation
      3. Performance implications
  9. Chapter 8: Conclusions
    1. The technology
      1. Web-based applications
      2. Pervasive applications
      3. Enterprise Application Integration
    2. IBM offerings
      1. MQSeries Publish/Subscribe
      2. MQSeries Integrator
      3. More Information
  10. Appendix A: Hardware and software environment
    1. Hardware
    2. Software
  11. Appendix B: MQSeries Publish/Subscribe administration commands
    1. strmqbrk
    2. dspmqbrk
    3. endmqbrk
  12. Appendix C: MQSeries Integrator administration commands
    1. MQSeries Integrator pub/sub admin commands
    2. Admin commands for mixed brokers
      1. mqsilistmqpubsub
      2. mqsijoinmqpubsub
      3. mqsiclearmqpubsub
  13. Appendix D: The GUI-based subscriber application
    1. AMI configuration
      1. Subscriber configuration
    2. Simple Web subscriber application
      1. AMI configuration
      2. Servlet configuration
      3. Additional WebSphere Application Server configuration
    3. Web subscriber Forecast application
      1. JMS configuration
      2. MQSeries Integrator configuration
      3. Servlet configuration
      4. Additional WebSphere Application Server configuration
      5. Advanced Web subscriber Forecast application
      6. AMI configuration
      7. Servlet configuration
      8. Additional WebSphere Application Server configuration
  14. Appendix E: Additional material
    1. Locating the Web material
    2. Using the Web material
      1. System requirements for downloading the Web material
      2. How to use the Web material
  15. Related publications
    1. IBM Redbooks
      1. Other resources
    2. Referenced Web sites
    3. How to get IBM Redbooks
      1. IBM Redbooks collections
  16. Special notices
  17. Abbreviations and acronyms
  18. Index (1/2)
  19. Index (2/2)
  20. Back cover

Product information

  • Title: MQSeries Publish/Subscribe Applications
  • Author(s): Mark Perry
  • Release date: September 2001
  • Publisher(s): IBM Redbooks
  • ISBN: 9780738423142