Hi Marc, thank you very much. Your sample leads me on the correct way.
To reproduce you need to add to your application.yaml
spring:
cloud:
function:
configuration:
streamBridge:
output-header-mapping-expression:
solace_timeToLive: 23000L
solace_senderId: @project.artifactId@${HOSTNAME}
The configuration for “streamBridge” was in spring 2.7 necessary to add custom header configuration based to outbound header.
But with spring 3. I can not get this feature working at all.
I tried:
spring:
cloud:
function:
configuration:
emitTemperatureSensorDynamic:
output-header-mapping-expression:
solace_timeToLive: 23000L
solace_senderId: @project.artifactId@${HOSTNAME}
Than my application stops crashing but i am unable to put those additional outbound header to the message. Because “emitTemperatureSensorDynamic” is not in function registry.
But “streamBridge” is still in function registry.
Do you remember the original issue for this feature. I want to link it when creating a bug report for oleg.