Hi @as63010,
It looks like you are trying to set the scst_targetDestination
header directly to the value of the solace_replyTo
header. The solace_replyTo
header is actually of type Destination
and not String
so you have two options:
- Cast
solace_replyTo
to aDestination
type when reading it and use thegetName()
method to get the actual String representation of the name OR - If you’re using all Spring Cloud Stream apps you could use a different (custom) header to capture the topic the requestor wants the replier to respond on and just keep it as a
String
the whole time.
Hope that helps!