Skip to main content
1-Visitor
August 28, 2017
Question

How to make connection parameter of an extension thing configurable

  • August 28, 2017
  • 1 reply
  • 1768 views

HI,

I have a connection parameter which needs to be updated from a properties file on startup. Please advise the approaches for the same.




Thanks,

Dinesh

1 reply

13-Aquamarine
August 28, 2017

Hi Dinesh,

What is the extension that you are using? Could you please elaborate on the use case? I'm not sure if this what you are looking for , but generally you can use the configuration page of the extension thing to do so.

1-Visitor
August 29, 2017

Hi Janet,

We are using ActiveMQ extension. We are trying to set the Broker address reading from the configuration file. We are able to read it and set it using SetConfigurationTable. Please note that we have tried calling saveconfigurationtable, enablething and restartthing after SetConfigurationTable. Now when we hit SendMessage service (which sends message to Queue), it throws an error "Could not create Transport. Reason: java.io.IOException: Transport not scheme specified: [?connectionTimeout=2000]". This might be because that the configuration is not effectively saved.

Please let me know any for any pointers that can help in this case.

Regards,

Dinesh