Channel.getQueueDepth()

Signature

int getQueueDepth(String destinationURI)

Domain

action,condition

Description

Get the queue depth for this local destination.

Parameters

NameTypeDescription
localDestinationURIStringThe localchannel's destionation URI whose queue depth is being asked.

Returns

TypeDescription
intA value >= 0 for local channel's destination, else -1 if any other type of destination is specified

See Also

suspendDestination