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

2.  Using the C API

3.  Client Design Issues

4.  Reference

Data Types

Connection Properties

To Set Connection Properties

Acknowledge Modes

Callback Type for Asynchronous Message Consumption

Parameters

Callback Type for Asynchronous Message Consumption in Distributed Transactions

Parameters

Callback Type for Connection Exception Handling

Parameters

Function Reference

MQAcknowledgeMessages

Return Value

Parameters

Common Errors

MQCloseConnection

Return Value

Parameters

Common Errors

MQCloseMessageConsumer

Return Value

Parameters

Common Errors

MQCloseMessageProducer

Return Value

Parameters

Common Errors

MQCloseSession

Return Value

Parameters

Common Errors

MQCommitSession

Return Value

Parameters

Common Errors

MQCreateAsyncDurableMessageConsumer

Return Value

Parameters

Common Errors

MQCreateAsyncMessageConsumer

Return Value

Parameters

Common Errors

MQCreateBytesMessage

Return Value

Parameters

MQCreateConnection

Return Value

Parameters

Setting a Client Identifier

Handling Connection Exceptions

Common Errors

MQCreateDestination

Return Value

Parameters

Common Errors

MQCreateDurableMessageConsumer

Return Value

Parameters

Common Errors

MQCreateMessage

Return Value

Parameters

MQCreateMessageConsumer

Return Value

Parameters

Common Errors

MQCreateMessageProducer

Return Value

Parameters

Common Errors

MQCreateMessageProducerForDestination

Return Value

Parameters

Common Errors

MQCreateProperties

Return Value

Parameters

MQCreateSession

Return Value

Parameters

MQCreateTemporaryDestination

Return Value

Parameters

Common Errors

MQCreateTextMessage

Return Value

Parameters

MQCreateXASession

Return Value

Parameters

Common Errors

MQFreeConnection

Return Value

Parameters

Common Errors

MQFreeDestination

Return Value

Parameters

MQFreeMessage

Return Value

Parameters

MQFreeProperties

Return Value

Parameters

MQFreeString

Return Value

Parameters

MQGetAcknowledgeMode

Return Value

Parameters

MQGetBoolProperty

Return Value

Parameters

Common Errors

MQGetBytesMessageBytes

Return Value

Parameters

MQGetConnectionProperties

Return Value

Parameters

MQGetDestinationName

Return Value

Parameters

MQGetDestinationType

Return Value

Parameters

MQGetErrorTrace

MQGetFloat32Property

Return Value

Parameters

Common Errors

MQGetFloat64Property

Return Value

Parameters

Common Errors

MQGetInt16Property

Return Value

Parameters

Common Errors

MQGetInt32Property

Return Value

Parameters

Common Errors

MQGetInt64Property

Return Value

Parameters

Common Errors

MQGetInt8Property

Return Value

Parameters

Common Errors

MQGetMessageHeaders

Return Value

Parameters

MQGetMessageProperties

Return Value

Parameters

Common Errors

MQGetMessageReplyTo

Return Value

Parameters

Common Errors

MQGetMessageType

Return Value

Parameters

MQGetMetaData

Return Value

Parameters

MQGetPropertyType

Return Value

Parameters

Common Errors

MQGetStatusCode

Parameters

MQGetStatusString

Parameters

MQGetStringProperty

Return Value

Parameters

MQGetTextMessageText

Return Value

Parameters

MQGetXAConnection

Return Value

Parameters

Common Errors

MQInitializeSSL

Return Value

Parameters

Common Errors

MQPropertiesKeyIterationGetNext

Return Value

Parameters

MQPropertiesKeyIterationHasNext

Return Value

Parameters

MQPropertiesKeyIterationStart

Return Value

Parameters

MQReceiveMessageNoWait

Return Value

Parameters

Common Errors

MQReceiveMessageWait

Return Value

Parameters

Common Errors

MQReceiveMessageWithTimeout

Return Value

Parameters

Common Errors

MQRecoverSession

Return Value

Parameters

Common Errors

MQRollBackSession

Return Value

Parameters

Common Errors

MQSendMessage

Return Value

Parameters

Common Errors

MQSendMessageExt

Return Value

Parameters

Common Errors

MQSendMessageToDestination

Return Value

Parameters

Common Errors

MQSendMessageToDestinationExt

Return Value

Parameters

Common Errors

MQSetBoolProperty

Return Value

Parameters

Common Errors

MQSetBytesMessageBytes

Return Value

Parameters

MQSetFloat32Property

Return Value

Parameters

Common Errors

MQSetFloat64Property

Return Value

Parameters

Common Errors

MQSetInt16Property

Return Value

Parameters

Common Errors

MQSetInt32Property

Return Value

Parameters

Common Errors

MQSetInt64Property

Return Value

Parameters

Common Errors

MQSetInt8Property

Return Value

Parameters

Common Errors

MQSetMessageHeaders

Return Value

Parameters

Common Errors

MQSetMessageProperties

Return Value

Parameters

MQSetMessageReplyTo

Return Value

Parameters

MQSetStringProperty

Return Value

Parameters

MQSetTextMessageText

Return Value

Parameters

MQStartConnection

Return Value

Parameters

Common Errors

MQStatusIsError

Parameters

MQStopConnection

Return Value

Parameters

Common Errors

MQUnsubscribeDurableMessageConsumer

Return Value

Parameters

Common Errors

Header Files

A.  Message Queue C API Error Codes

Index

Header Files

The Message Queue C-API is defined in the header files listed in Table 4-7. The files are listed in alphabetical order. The file mqcrt.h includes all the Message Queue C-API header files.

Table 4-7 Message Queue C-API Header Files

File Name
Contents
mqbasictypes.h
Defines the types MQBool, MQInt8, MQInt16, MQInt32, MQInt64, MQFloat32, MQFloat64.
mqbytes-message.h
Function prototypes for creating, getting, setting bytes message.
mqcallback-types.h
Asynchronous receive and connection exception handling callback types.
mqconnection.h
Function prototypes for creating, managing, and closing connections. Function prototype for creating session.
mqconnection-props.h
Connection property constants
mqconsumer.h
Function prototypes for synchronous receives and closing the consumer.
mqcrt.h
All Message Queue C-API public header files.
mqdestination.h
Function prototypes to free destinations and get information about destinations.
mqerrors.h
Error codes
mqheader-props.h
Message header property constants
mqmessage.h
Function prototypes for getting and setting parts of message, freeing message, and acknowledging message.
mqproducer.h
Function prototypes for sending messages and closing the message producer.
mqproperties.h
Function prototypes for creating, setting, and getting properties
mqsession.h
Function prototypes for managing and closing sessions; for creating destinations, message producers and message consumers.
mqssl.h
Function declaration for initializing the SSL library.
mqstatus.h
Function prototypes for getting error information.
mqtext-message.h
Function prototypes for creating, getting, setting text message.
mqtypes.h
Enumeration of types that can be stored in a properties object, of types of message that can be received, of acknowledgement modes, of delivery modes, of destination types, of session receiving modes, and of handle types.
mqversion.h
Version information constant definitions.