|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| include | 0a62d6c556 refactor(gw): rename all gateway application name | %!s(int64=2) %!d(string=hai) anos |
| src | 423b586c56 fix(dialyzer): fix some dialyzer issues found on otp 26 | %!s(int64=2) %!d(string=hai) anos |
| test | fbd27eda6a fix(Stomp): content type returned | %!s(int64=2) %!d(string=hai) anos |
| .gitignore | 0a62d6c556 refactor(gw): rename all gateway application name | %!s(int64=2) %!d(string=hai) anos |
| README.md | 0a62d6c556 refactor(gw): rename all gateway application name | %!s(int64=2) %!d(string=hai) anos |
| rebar.config | caade4a7e5 chore: emacs mode entry comment for non-erl files | %!s(int64=2) %!d(string=hai) anos |
The Stomp Gateway is based on the Stomp v1.2 and is compatible with the Stomp v1.0 and v1.1 specification.
In EMQX 5.0, Stomp gateway can be configured and enabled through the Dashboard.
It can also be enabled via the HTTP API or emqx.conf, e.g. In emqx.conf:
gateway.stomp {
mountpoint = "stomp/"
listeners.tcp.default {
bind = 61613
acceptors = 16
max_connections = 1024000
max_conn_rate = 1000
}
}
Note: Configuring the gateway via emqx.conf requires changes on a per-node basis, but configuring it via Dashboard or the HTTP API will take effect across the cluster.
More documentations: Stomp Gateway