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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!

Context issue when running route as ESB Microservice

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Context issue when running route as ESB Microservice

Last Update:

Feb 9, 2024 2:06:24 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:15:34 AM

Talend Version         6.3.1

Summary

Context values are null when built as Spring Boot.
Additional Versions 
Product 
ComponentStudio
Problem Description

Assume a route that uses a context variable called My_Var (set to some value).

It runs successfully from Studio.

But if this route is built as an ESB Microservice (Spring Boot), then the execution fails because the value of the context variable My_Var is null.

Problem root causeThere is a limitation from Spring Boot that a combination of underscores and upper-case in context variable names does not work as a property name.
Solution or Workaround

Rename the context variable name by removing the underscore (MyVar for example) or use only lower-case with underscores (my_var for example).

JIRA ticket number 
Version history
Last update:
‎2024-02-09 02:06 PM
Updated by: