31 lines
937 B
Plaintext
31 lines
937 B
Plaintext
##--------------------------------------------------------------------
|
|
## Gateway STOMP
|
|
##
|
|
## Add STOMP CoAP gateway
|
|
##--------------------------------------------------------------------
|
|
## Note: This is an example of how to configure this feature
|
|
## you should copy and paste the below data into the emqx.conf for working
|
|
|
|
gateway.stomp {
|
|
|
|
## When publishing or subscribing, prefix all topics with a mountpoint string.
|
|
## It's a way that you can use to implement isolation of message routing between different
|
|
## gateway protocols
|
|
mountpoint = "stomp/"
|
|
|
|
frame {
|
|
## The maximum number of Header
|
|
max_headers = 10
|
|
|
|
## The maximum string length of the Header name and value.
|
|
max_headers_length = 1024
|
|
|
|
## The Maximum number of bytes of Body allowed per Stomp packet.
|
|
max_body_length = 65536
|
|
}
|
|
|
|
listeners.tcp.default {
|
|
bind = "0.0.0.0:61613"
|
|
}
|
|
}
|