English
Fx.mq
About 212 wordsLess than 1 minute
2026-01-09
Summary
The overview of this document is as follows: This document introduces the API definitions of Fx.mq, usage methods, and related notes.
1. pub sends messages and performs message routing matching through event listeners
Fx.mq.pub(<String channel>, <Map body>)
Request parameters
Request Body
| Parameter Name | Type | Description | Required |
|---|---|---|---|
| channel | String | Message channel, analogous to message topic. Different services use different channels; corresponds to the message channel value for event listening | Y |
| body | Map | Message content | Y |
Code examples
Map body = ["key": "value", "xxxKey": "xxxValue"]
Fx.mq.pub("xxx_channel", body)Changelog
| Version | Date | Changes | Author |
|---|---|---|---|
| v1.0 | 2026-05-20 | Initial version |
Background
This document provides detailed information about the Fx.mq API functionality and usage, helping developers integrate relevant capabilities.
Applicable Scenarios
Specific applicable scenarios are determined by actual business needs. Developers can select the appropriate API for integration as required.
Prerequisites
- Access to Fxiaoke Open Platform
- Application authorization and configuration completed
- Basic knowledge of relevant business domain
Steps
Please refer to the detailed instructions for each API.
Notes
- Ensure prerequisites are met before calling APIs
- Pay attention to API call frequency limits
- Refer to error code documentation for exception handling
Compatibility note: This version currently has no deprecated or compatibility notes.
