Part 3. Programming with WebSphere MQ JMS

Partial Table-of-Contents

  • Chapter 10. Writing WebSphere MQ JMS programs
  • The JMS model
  • Building a connection
  • Retrieving the factory from JNDI
  • Using the factory to create a connection
  • Creating factories at runtime
  • Starting the connection
  • Choosing client or bindings transport
  • Obtaining a session
  • Sending a message
  • Setting properties with the 'set' method
  • Message types
  • Receiving a message
  • Message selectors
  • Asynchronous delivery
  • Closing down
  • Java Virtual Machine hangs at shutdown
  • Handling errors
  • Exception listener
  • User Exits
  • Using Secure Sockets Layer (SSL)
  • SSL administrative properties
  • SSLCIPHERSUITE object property
  • SSLPEERNAME object property
  • SSLCERTSTORES object property
  • SSLSocketFactory
  • Chapter 11. Programming publish/subscribe applications
  • Introduction
  • Getting started with WebSphere MQ JMS and publish/subscribe
  • Choosing a broker
  • Setting up the broker to run the WebSphere MQ JMS
  • Connecting to your broker via WebSphere MQ
  • Connecting to your broker directly
  • Writing a simple publish/subscribe application connecting through WebSphere MQ
  • Import required packages
  • Obtain or create JMS objects
  • Publish messages
  • Receive subscriptions
  • Close down unwanted resources
  • TopicConnectionFactory administered objects
  • Topic administered objects
  • Using topics
  • Topic names
  • Creating topics at runtime
  • Subscriber options
  • Creating non-durable subscribers
  • Creating durable subscribers
  • Using message selectors
  • Suppressing local publications
  • Combining the subscriber options
  • Configuring the base subscriber queue
  • Default configuration
  • Configuring non-durable subscribers
  • Configuring durable subscribers
  • Subscription stores
  • Migration and coexistence considerations
  • Solving publish/subscribe problems
  • Incomplete publish/subscribe close down
  • Subscriber cleanup utility
  • Manual cleanup
  • Cleanup from within a program
  • Handling broker reports
  • Chapter 12. JMS messages
  • Message selectors
  • Mapping JMS messages onto WebSphere MQ messages
  • The MQRFH2 header
  • JMS fields and properties with corresponding MQMD fields
  • Mapping JMS fields onto WebSphere MQ fields (outgoing messages)
  • Mapping JMS header fields at send() or publish()
  • Mapping JMS property fields
  • Mapping JMS provider-specific fields
  • Mapping WebSphere MQ fields onto JMS fields (incoming messages)
  • Mapping JMS to a native WebSphere MQ application
  • Message body
  • Chapter 13. WebSphere MQ JMS Application Server Facilities
  • ASF classes and functions
  • ConnectionConsumer
  • Planning an application
  • General principles for point-to-point messaging
  • General principles for publish/subscribe messaging
  • Handling poison messages
  • Removing messages from the queue
  • Error handling
  • Recovering from error conditions
  • Reason and feedback codes
  • Application server sample code
  • MyServerSession.java
  • MyServerSessionPool.java
  • MessageListenerFactory.java
  • Examples of ASF use
  • Load1.java
  • CountingMessageListenerFactory.java
  • ASFClient1.java
  • Load2.java
  • LoggingMessageListenerFactory.java
  • ASFClient2.java
  • TopicLoad.java
  • ASFClient3.java
  • ASFClient4.java
  • ASFClient5.java
  • Chapter 14. JMS interfaces and classes
  • Sun Java Message Service classes and interfaces
  • WebSphere MQ JMS classes
  • BytesMessage
  • Methods
  • Cleanup *
  • WebSphere MQ constructor
  • Methods
  • Connection
  • Methods
  • ConnectionConsumer
  • Methods
  • ConnectionFactory
  • WebSphere MQ constructor
  • Methods
  • ConnectionMetaData
  • WebSphere MQ constructor
  • Methods
  • DeliveryMode
  • Fields
  • Destination
  • WebSphere MQ constructors
  • Methods
  • ExceptionListener
  • Methods
  • MapMessage
  • Methods
  • Message
  • Fields
  • Methods
  • MessageConsumer
  • Methods
  • MessageListener
  • Methods
  • MessageProducer
  • WebSphere MQ constructors
  • Methods
  • MQQueueEnumeration *
  • Methods
  • ObjectMessage
  • Methods
  • Queue
  • WebSphere MQ constructors
  • Methods
  • QueueBrowser
  • Methods
  • QueueConnection
  • Methods
  • QueueConnectionFactory
  • WebSphere MQ constructor
  • Methods
  • QueueReceiver
  • Methods
  • QueueRequestor
  • Constructors
  • Methods
  • QueueSender
  • Methods
  • QueueSession
  • Methods
  • Session
  • Fields
  • Methods
  • StreamMessage
  • Methods
  • TemporaryQueue
  • Methods
  • TemporaryTopic
  • WebSphere MQ constructor
  • Methods
  • TextMessage
  • Methods
  • Topic
  • WebSphere MQ constructor
  • Methods
  • TopicConnection
  • Methods
  • TopicConnectionFactory
  • WebSphere MQ constructor
  • Methods
  • TopicPublisher
  • Methods
  • TopicRequestor
  • Constructors
  • Methods
  • TopicSession
  • WebSphere MQ constructor
  • Methods
  • TopicSubscriber
  • Methods
  • XAConnection
  • XAConnectionFactory
  • XAQueueConnection
  • Methods
  • XAQueueConnectionFactory
  • Methods
  • XAQueueSession
  • Methods
  • XASession
  • Methods
  • XATopicConnection
  • Methods
  • XATopicConnectionFactory
  • Methods
  • XATopicSession
  • Methods


  • © IBM Corporation 1997, 2002. All Rights Reserved