Channel.getQueueCapacity()

Signature

int getQueueCapacity(String destinationURI)

Domain

ACTION, CONDITION

Description

Return the remaining queue capacity for this local destination

Parameters

NameTypeDescription
destinationURIStringThe local channel's destination URI whose queue capacity is being requested.

Returns

TypeDescription
intA value greater than or equal to zero (0) for local channel's destination; else -1 if any other type of destination is specified

See Also

suspendDestination