Skip to Content
Jul 18, 2019 at 05:30 PM

dynamic http header in receiver rest adapter


Hi gurus,I have a problem when I try to put the dynamic http header. If I put a static value, the interface works fine, but if I change that value to a variable, the interface throws an error. If the dynamic configuration is checked, the value of the variable is correct. Please, any suggestions?

The code in the UDF:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); 
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("","HeaderAuthorization");
conf.put(key1, token); 
return token;


imagen-1.png (45.4 kB)
imagen-2.png (32.6 kB)
imagen-3.png (33.7 kB)
imagen-4.png (63.1 kB)
imagen-3.png (33.7 kB)