🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

spring cloud stream, queue provisioning

akg17
akg17 Member Posts: 76
edited July 2021 in General Discussions #1

@marc

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

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 admin

    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 now :)

    Hope that helps!