Sometimes there is a need to delete/kill certain connections on which there are slow consumers or consumers that won't acknowledge messages.
Add functionality to the router server side code that will allow users to delete connections based on the connection id. The connection id can be obtained from the output of--
This JIRA involves the following tasks
- Add two fields, adminStatus and operStatus to the connection entity in the router schema. Possible connection adminStatues are enabled and deleted. Possible operStatuses are up
- Modify the router's c-management agent to respond to a UPDATE management request. A connection id must be provided to update a connection (adminStatus=deleted). When a client deletes a connection object, the connection to the peer is terminated by the router. Client will not be allowed to terminate inter-router connections.
- Add policy control over who is permitted to write adminStatus (add a new flag at the policy group level called allowAdminStatusUpdate)