Hi @chatumoh ,
Any reason you’re using @StreamListener ? That way of defining a listener was deprecated quite a while ago now. I’m not sure, but that could be causing the issue with the queueNameExpression property not working.
If you can, I would suggest moving to use Spring Cloud Function to define your message handlers. Here is an example that @giri made which shows a custom queue using them: solace-samples-spring/cloud-stream-custom-queue-names at master · SolaceSamples/solace-samples-spring · GitHub .
Note for lowercase-in-0 all he had to do we define the properties here: solace-samples-spring/cloud-stream-custom-queue-names/src/main/resources/application.yaml at master · SolaceSamples/solace-samples-spring · GitHub