Created on 05-08-2018 10:15 AM - edited 08-18-2019 01:04 AM
I have defined a variable called "BrokerURI" in the scope of the main process group with the URI of a MQTT broker.
The idea is to use this variable to simplify the configuration of several ConsumeMQTT process, setting their Broker URI properties as "${BrokerURI}".
It is not working because there is an error.
I thought it was possible to use it as I have done. Maybe I doing something wrong.
Thanks in advance.
Created on 05-08-2018 10:53 AM - edited 08-18-2019 01:03 AM
The error is because of Broker URI property value doesn't accept expression language, so when you have use ${BrokerURI} it's an expression language, so the processor is complaining about not valid URI syntax.
Configure the processor with the broker value in it instead of using variable name and the processor will not complain about the syntax.
Created on 05-08-2018 10:53 AM - edited 08-18-2019 01:03 AM
The error is because of Broker URI property value doesn't accept expression language, so when you have use ${BrokerURI} it's an expression language, so the processor is complaining about not valid URI syntax.
Configure the processor with the broker value in it instead of using variable name and the processor will not complain about the syntax.
Created 05-08-2018 11:17 AM
Thank you @Shu! I already have the processor configured with the URI instead of the EL, but I supposed that I could use a variable to set the value of any property. Now, thank to you, I know for sure that I have to check if it support as value an EL.