mattermost-plugin-bridge-xmpp/server
Felipe Martin 9d2dd5619b
feat: implement graceful message bus shutdown with drainage
- Add atomic.Bool draining flag to prevent new messages during shutdown
- Modify Publish() to silently ignore messages when draining
- Update Stop() method to set draining flag and naturally drain channel
- Channel closes and routing goroutine processes all remaining messages
- Zero message loss during normal plugin shutdown/restart
- No complex drainage logic - leverages Go channel semantics

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 13:28:47 +02:00
..
bridge feat: implement graceful message bus shutdown with drainage 2025-08-11 13:28:47 +02:00
command chore: fix lint issues 2025-08-06 18:25:25 +02:00
config feat: restore XMPP bridge to use direct client connection instead of bridge user 2025-08-04 18:04:10 +02:00
logger feat: restore XMPP bridge to use direct client connection instead of bridge user 2025-08-04 18:04:10 +02:00
model chore: fix lint issues 2025-08-06 18:25:25 +02:00
store/kvstore chore: fix lint issues 2025-08-06 18:25:25 +02:00
xmpp feat: implement XEP-0077 In-Band Registration support 2025-08-06 19:16:37 +02:00
.gitignore Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
api.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
configuration.go chore: fix lint issues 2025-08-06 18:25:25 +02:00
hooks_sharedchannels.go chore: fix lint issues 2025-08-06 18:25:25 +02:00
job.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
main.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
plugin.go chore: fix lint issues 2025-08-06 18:25:25 +02:00
plugin_test.go chore: fix lint issues 2025-08-06 18:25:25 +02:00