- TIBCO BusinessEvents®
- Standard
- Channel

# Channel.getQueueCapacity()

## Signature

`int getQueueCapacity(String destinationURI)`

## Domain

ACTION, CONDITION

## Description

Return the remaining queue capacity for this local destination

## Parameters

Name | Type | Description
--- | --- | ---
`destinationURI` | `String` | The local channel's destination URI whose queue capacity is being requested.

## Returns

Type | Description
--- | ---
`int` | A 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