rabbitmq / rabbitmq-stomp

RabbitMQ STOMP plugin
https://www.rabbitmq.com/stomp.html
Other
49 stars 28 forks source link

Cannot use hide_server_info via rabbitmq.conf #140

Closed Aohzan closed 4 years ago

Aohzan commented 4 years ago

Hello, I can't set the _hide_serverinfo option in config file since it uses the new config format. If I set stomp.hide_server_info = true in the rabbitmq.conf, I have this error : [error] You've tried to set stomp.hide_server_info, but there is no setting with that name. Maybe the option needs to be in priv/schema/rabbitmq_stomp.schema ? Thank for your help

Reference to this option : https://github.com/rabbitmq/rabbitmq-stomp/blob/000226a067e9397a7dedcc871c15572f37bf8562/src/rabbit_stomp_processor.erl#L609

michaelklishin commented 4 years ago

You are correct, it's missing from the schema. You have to use the advanced.config file for now.

Aohzan commented 4 years ago

Ok thank you :+1: