Context issue when running route as ESB Microservice

Talend Version          6.3.1

Summary

Context values are null when built as Spring Boot.
Additional Versions  
Product  
Component Studio
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 cause There 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
Revision #:
2 of 2
Last update:
‎08-01-2017 06:34 PM
Updated by:
 
Labels (2)
Contributors
Tags (1)