Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic Datasource alias on tOracleOutput

I have REST service designed which captures a json message and publishes into Oracle database. All Datasources are defined in datasource-oracle.xml and this file is deployed into /runtime/deploy/ . On tOracleOutput component I've defined datasource alias as a context variable rather than directly specifying the actual value defined in "datasource-oracle.xml". When I deploy the service the bundle of my REST service job stays in Graceperiod and says it is trying to resolve the osgi.jndi.service.name  for datasource context.jdbc_value.

 

the bundle stays in same status for sometime and then goes into failure. But if I specifically input the actual value into datasource alias everything works. Is there any way to dynamically pass the datasource alias and make it still work..??

 

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

Could you please take a look at this component tContextLoad which is used to load a context from a flow.

Here is online component reference:TalendHelpCenter:tContextLoad and related scenario:TalendHelpCenter: Scenario: Reading data from different MySQL databases using dynamically loaded con...

Best regards

Sabrina