Sun ONE Message Queue, Version 3.0.1 Developer's Guide |
ContentsAudience for This Guide
Organization of This Guide
Conventions
Text Conventions
Other Documentation Resources
Directory Variable Conventions
The MQ Documentation Set
JavaDoc
Example Client Applications
The Java Message Service (JMS) Specification
The Java XML Messaging (JAXM) Specification
Books on JMS Programming
Chapter 1 OverviewWhat Is Sun ONE Message Queue?
Product Editions
Platform Edition
MQ Messaging System Architecture
Enterprise Edition
The JMS Programming Model
JMS Programming Interface
JMS Client Design Issues
Message
Administered Objects
Destination
ConnectionFactory
Connection
Session
Message Producer
Message Consumer
Message Listener
JMS Client Setup Operations
Programming Domains
JMS/J2EE Programming: Message-driven Beans
JMS Provider Independence
Client Identifiers
Reliable Messaging
Acknowledgements/Transactions
Performance Trade-offs
Persistent Storage
Message Consumption: Synchronous and Asynchronous
Message Selection
Message Order and Priority
Message-driven Beans
Application Server Support
Chapter 2 Quick Start TutorialSetting Up Your Environment
Setting the JAVA_HOME Variable
Starting and Testing the MQ Message Server
Setting the CLASSPATH Variable
Developing a Simple Client Application
Compiling and Running a Client Application
Example Application Code
JMS Examples
JAXM Examples
Chapter 3 Using Administered ObjectsJNDI Lookup of Administered Objects
Looking Up ConnectionFactory Objects
Instantiating Administered Objects
Looking Up Destination Objects
Instantiating ConnectionFactory Objects
Starting Client Applications With Overrides
Instantiating Destination Objects
Chapter 4 Optimizing ClientsMessage Production and Consumption
Message Production
MQ Client Runtime Configurable Properties
Message Consumption
Performance Issues
Connection Specification
Auto-reconnect Behavior
Client Identification
Message Header Overrides
Reliability And Flow Control
Queue Browser Behavior
Application Server Support
JMS-defined Properties Support
Managing Flow Control
Factors Affecting Performance
Managing Threads
Impact of Flow Control Settings
Chapter 5 Working With SOAP MessagesWhat is SOAP
SOAP and the JAVA for XML Messaging API
SOAP Messaging in JAVA
The Transport Layer
The SOAP Message
The SOAP Layer
The Provider Layer
The Profiles Layer
SOAP Packaging Models
The SOAP Message Object
Using JAXM Administered Objects
Inherited Methods
Destination, Message Factory, and Connection Objects
Namespaces
Endpoint
Message Factory
Connection
SOAP Messaging Models and Examples
SOAP Messaging Programming Models
Integrating SOAP and MQ
Point-to-Point Connections
Working with Attachments
Provider Connections
Exception and Fault Handling
Writing a SOAP Client
Writing a SOAP Service
Disassembling Messages
Handling Attachments
Replying to Messages
Handling SOAP Faults
Example 1: Deferring SOAP Processing
Example 2: Publishing SOAP Messages
Code Samples
Appendix A Administered Object AttributesConnectionFactory Administered Object
Destination Administered Objects
Endpoint Administered Objects