Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsAdmin_GetProducerStatistics
> Function
> Purpose
> Returns statistical information about producers that match the specified parameters.
> C Declaration
> tibems_status tibemsAdmin_GetProducerStatistics(
> tibemsAdmin admin,
> tibemsCollection* collection,
> tibems_long connectionID,
> const char* username,
> tibemsDestinationInfo destination);
> COBOL Call
> CALL "tibemsAdmin_GetProducerStatistics"
> USING BY VALUE admin,
> BY REFERENCE prodInfos,
> BY REFERENCE username,
> BY VALUE connectionID,
> BY VALUE destination,
> RETURNING tibems-status
> END-CALL.

> | prodInfos has usage pointer.

> Parameters

> Parameter | Description
> admin | Get the producer statistics using this administrative connection.
> collection | The function stores the returned producer data in the location specified here, as a collection of tibemsProducerInfo objects.
> connectionID | Must be set to zero. This parameter is reserved for future use.
> username | If specified, only producers for connections that use the specified user name will be returned. Specify NULL if all producers should be returned.
> destination | If specified, only producers on destinations of the same type and matching this destination name will be returned. destination can be:
> • | A tibemsQueueInfo or tibemsTopicInfo object.
> • | TIBEMS_INVALID_ADMIN_ID to return all producers.
> The destination name may include wildcards.

> Remarks
> Returns information about message producers, including the statistical information about producers with specified parameters.
> Status Codes

> Status Code | Description
> TIBEMS_TIMEOUT | The administrative query timed out while waiting for a server response.
> TIBEMS_NOT_FOUND | No producers found matching the specified parameters.

> See Also
> tibemsStatData on page 497
> tibemsDetailedDestStat on page 462

Copyright © TIBCO Software Inc. All Rights Reserved