Common Operations
You can perform the following common operations for channels such as UI, web services, JMS, or HTTP:
- Stop - Execute only if channel is running. It stops accepting inputs.
- Start - Execute only if it was previously stopped. It restarts the channel with the configuration specified in the ConfigValues.xml file. For example, start accepting the login requests.
- Suspend - Execute only if channel is running. It stops accepting input and saves the previous configuration. For JMS destinations, Stop and Suspend operations work the same way. For UI and webservices, the maximum modified count is saved.
- Resume - Execute only if channel is suspended. It starts accepting input and restores the saved configuration, if any. For JMS destinations, it is same as the Start operation. For UI and web services, previously stored maximum count is restored.
Executing any of the earlier operations on the Messaging > Summary MBean executes the methods on each of the destinations. For each destination, the method maps to corresponding methods on senders and receivers. If any of the senders or receivers are not in consistent status, it will be ignored. For example, if the Start operation is executed when any of the destination is already running, it will be ignored.
These services are provided at various levels, that is, receiver and destination. Each level applies the operation recursively to lower levels.
Copyright © Cloud Software Group, Inc. All rights reserved.