JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server Message Queue 4.5 Developer's Guide for C Clients
search filter icon
search icon

Document Information

Preface

1.  Introduction

Message Queue for the C Developer

Building and Running C Clients

Building C Clients

Header Files and Shared Libraries

Pre-Processor Definitions

C++ Runtime Library Support

Providing Runtime Support

Working With the Sample C-Client Programs

Basic C-Client Programs

Building the Basic C-Client Sample Programs

To Compile and Link on Solaris OS

To Compile and Link on Linux

To Compile and Link on AIX

To Compile and Link on Windows

Running the Basic C-Client Sample Programs

Distributed Transaction Sample Programs

To Set Up Tuxedo as a Distributed Transaction Manager

To Build the Distributed Transaction Sample Programs

To Run the Distributed Transaction Sample Programs

Client Application Deployment Considerations

2.  Using the C API

3.  Client Design Issues

4.  Reference

A.  Message Queue C API Error Codes

Index

Message Queue for the C Developer

The Message Queue product is an enterprise messaging system that implements the Java Message Specification (JMS) standard as a JMS provider. Message Queue developers can use two programming interfaces to establish a connection to the broker, and send or receive messages:

Message Queue provides a C API to its messaging services to enable legacy C applications and C++ applications to participate in JMS-based messaging. It is important to understand however that the Java Message Service specification is a standard for Java clients only; thus the C API described in this book is specific to the Message Queue provider and cannot be used with other JMS providers. A messaging application that includes a C client cannot be handled by another JMS provider.

The C interface, compared to the Java interface, does not support the following features:

Like the Java interface, the C interface does support the following:

The JMS programming model is the foundation for the design of a Message Queue C client. Chapter 2, Using the C API explains how this model is implemented by the C data types and functions used by a Message Queue C client for delivery of messages.

The next section provides a quick introduction to building and running Message Queue clients.