spring cloud stream, queue provisioning
HI Mark
I am setting so many properties repeatedly can you please help me how can i set most of them default
testQueue:
producer:
provisionDurableQueue: false
queueNamePrefix: null
useFamiliarityInQueueName: false
useDestinationEncodingInQueueName: false
autoBindErrorQueue: true
consumer:
provisionErrorQueue: false
provisionDurableQueue: false
autoBindErrorQueue: true
durableSubscription: true
useFamiliarityInQueueName: false
useDestinationEncodingInQueueName: false
useGroupNameInQueueName: false
useGroupNameInErrorQueueName: false
queueNamePrefix: null
errorQueueNameOverride: testQueue.dlq
Comments
-
Hi @akg17,
Looking at the framework's docs here it looks like you can set a default for the binder with this format:
spring.cloud.stream.<binder-type>.default.<producer|consumer>.<property>=<value>
So if your binder name is
solace
try this:spring.cloud.stream.solace.default.<producer|consumer>.<property>=<value>
and appreciate it if you'd let me know if it works. I believe I tried that like 6 months ago but don't have a chance to try it right nowHope that helps!
0