How to make a job exported via "OSGI Bundle for ESB" use context vars?
I developed and tested a job successfully in Open Studio for ESB. It uses some context variables. Now I want to use it from Runtime_ESBSE. But exporting it as a OSGI bundle doesn't give me the option to include context. When it runs from the runtime, all values are seen as "null". What's the best way to replicate my development context and have the runtime use it?
Re: How to make a job exported via "OSGI Bundle for ESB" use context vars?
Hi, Could you please check the related topic Forum 32445. Best regards Sabrina
After looking at that topic, I have some questions. If my job is deployed at <TalendRuntimeInstallationPath>\container\deploy\MyService-0.1.jar My cfg file has to be <TalendRuntimeInstallationPath>\container\etc\MyService.xml Correct? Or is it MyService.cfg? Also, the layout. Should it be like this? <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="MyPassword">xyz123</entry> <entry key="MyHost">192.168.0.215</entry> <entry key="MyFolder">/home/something</entry> </properties>