Project: springxd
Issue XD-1842: LocalMessageBus Does Not Destroy Channels
When a {{LocalMessageBus}} bridges producer and consumers, it creates an internal channel and registers it with the application context. This can be a {{DirectChannel}}, a {{QueueChannel}} (for named {{queue:*}} channels) or a {{PublishSubscribeChannel}} (for named {{topic:*}} channels). These channels remain in the context when both the producer and consumer are undeployed. It's rather benign in that the channels will be reused if the modules are redeployed, but it is a leak and should be addressed at some point. A {{QueueChannel}} should remain in the context if its queue is not empty.
Story points: 2