cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to make connection parameter of an extension thing configurable

ds-21
7-Bedrock

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

2 REPLIES 2
jdass
13-Aquamarine
(To:ds-21)

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.

dsenthil
2-Explorer
(To:jdass)

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

Announcements


Top Tags