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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to access environment/contextStr inside Spring xml?

Hi, 

 

How can I access the context name that route is running under ( contextStr) inside Spring xml, if I am running the route in Talend studio? 

 

The requirement I have is, I want to use property place holders in spring xml for a database connection. I have different values for different environments. Now, I want to load the ${env}.properties based on the context/env we are running the route under. question is how I can get ${env} replaced with contextStr name?

 

Thanks,

Sowjanya

 

Thanks,

Sowjanya. 

 

Labels (4)
1 Reply
n999
Contributor II
Contributor II

Hi

Wondering if you managed to work out how to do this? I'm also interested in passing the ${env}.properties based on the context/env contextStr

Cheers

n