mqseries_get

PECL mqseries >= 0.10.0
mqseries_get - MQSeries MQGET
Manual
Code Examples

mqseries_get(
     resource$hConn,
     resource$hObj,
     arraymd,
     arraygmo,
     intbufferLength,
     stringmsg,
     intdata_length,
     resourcecompCode,
     resourcereason
): void

The mqseries_get (MQGET) call retrieves a message from a local queue that has been opened using the mqseries_open (MQOPEN) call

Parameters

hConn

Connection handle.

This handle represents the connection to the queue manager.

hObj

Object handle.

This handle represents the object to be used.

md

Message descriptor (MQMD).

gmo

Get message options (MQGMO).

bufferLength

Expected length of the result buffer

msg

Buffer holding the message that was retrieved from the object.

data_length

Actual buffer length

compCode

Completion code.

reason

Reason code qualifying the compCode.

Return Values

No value is returned.

Related Functions

Example of mqseries_get

Show all examples for mqseries_get

PHP Version:


Function mqseries_get:

mqseries Functions

Most used PHP functions