Spring Cloud Stream publishing messages

Hi @Mike13,

Hope you’re doing well! There is actually another option to publish messages to dynamic topics. Instead of StreamBridge you can specify a special header using BinderHeaders.TARGET_DESTINATION. This tells the binder (if the binder supports it - the Solace binder does) to override the output destination and send to this topic instead.

You can find more info here in section 6: Spring Cloud Stream - Beyond the Basics

Hope that helps!