- TIBCO BusinessEvents®
- Standard
- Channel

# Channel

## Description

Functions to operate on Channels and Destination

## Functions

Name | Signature and Synopsis
--- | ---
`getActiveDestinations` | `String[] getActiveDestinations()` Returns an array of active destination uri's that are bound to this RuleSession
`getAllDestinations` | `String[] getAllDestinations()` Returns an array of all active and suspended destination URI's that are bound to this rule session
`getQueueCapacity` | `int getQueueCapacity(String destinationURI)` Return the remaining queue capacity for this local destination.
`getQueueDepth` | `int getQueueDepth(String destinationURI)` Get the queue depth for this local destination.
`getSuspendedDestinations` | `String[] getSuspendedDestinations()` Returns an array of suspended destination uri's that are bound to this rule session
`resumeDestination` | `void resumeDestination(String destinationURI) throws Exception` Resume a pre-existing destination.
`startChannel` | `boolean startChannel(String channelURI)` Starts a channel based on the specified URI only if the channel is in stopped state.
`stopChannel` | `boolean stopChannel(String channelURI)` Stops an active channel based on the specified URI only if the channel is in started state.
`suspendDestination` | `void suspendDestination(String destinationURI) throws Exception` Suspend a pre-existing destination.