Channel

Description

Functions to operate on Channels and Destination

Functions

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