gateway.stomp.conf.example 937 B

123456789101112131415161718192021222324252627282930
  1. ##--------------------------------------------------------------------
  2. ## Gateway STOMP
  3. ##
  4. ## Add STOMP CoAP gateway
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. gateway.stomp {
  9. ## When publishing or subscribing, prefix all topics with a mountpoint string.
  10. ## It's a way that you can use to implement isolation of message routing between different
  11. ## gateway protocols
  12. mountpoint = "stomp/"
  13. frame {
  14. ## The maximum number of Header
  15. max_headers = 10
  16. ## The maximum string length of the Header name and value.
  17. max_headers_length = 1024
  18. ## The Maximum number of bytes of Body allowed per Stomp packet.
  19. max_body_length = 65536
  20. }
  21. listeners.tcp.default {
  22. bind = "0.0.0.0:61613"
  23. }
  24. }