2 Replies Latest reply on Aug 29, 2017 8:48 AM by dsenthil RSS
    ds-2 Apprentice

    How to make connection parameter of an extension thing configurable

    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

      • Re: How to make connection parameter of an extension thing configurable
        jdass Apprentice

        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.

          • Re: How to make connection parameter of an extension thing configurable
            dsenthil Newbie

            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