How to use/ enable oAuth2 in spring cloud stream to connect to Solace broker ?

Hi @chatumoh ,
Solace’s Spring Cloud Stream binder uses our Spring Boot JCSMP starter to connect to the broker so you can set any properties defined here: solace-spring-boot/solace-spring-boot-starters/solace-java-spring-boot-starter at master · SolaceProducts/solace-spring-boot · GitHub
In the case of OAUTH you’ll want to set JCSMPProperties.AUTHENTICATION_SCHEME to JCSMPProperties.AUTHENTICATION_SCHEME_OAUTH, JCSMPProperties.OAUTH2_ACCESS_TOKEN, and JCSMPProperties.OAUTH2_ISSUER_IDENTIFIER.  which can all be set under solace.java.apiProperties.

Hope that helps!