How to stop Default solace queue name getting created

durgesh_patkari
durgesh_patkari Member Posts: 3
edited January 17 in Connectors & Integrations #1
Java 17, Spring boot - 3.0.13 and spring-cloud-starter-stream-solace:4.0.0

Our bindings are like below:

#Cloud stream channels configuration
spring:
cloud:
function:
routing: enabled
routing-expression: headers['type']
definition:
routerFunc1;routerFunc2
stream:
default-binder: solace-broker
bindings:
routerFunc1-in-0:
destination: QUEUE_NAME1
group: QUEUE_GROUP
provisionDurableQueue: false
consumer:
concurrency: 3
routerFunc2-in-0:
destination: QUEUE_NAME2
group: QUEUE_GROUP
provisionDurableQueue: false
consumer:
concurrency: 3

#Topic subscriptions
solace:
bindings:
routerFunc1-in-0:
consumer:
provisionSubscriptionsToDurableQueue: false
provisionDurableQueue: false
queueAdditionalSubscriptions: TOPIC_NAME1
auto-bind-dlq: true
routerFunc2-in-0:
consumer:
provisionSubscriptionsToDurableQueue: false
provisionDurableQueue: false
queueAdditionalSubscriptions: TOPIC_NAME2
auto-bind-dlq: true
binders:
solace-broker:
type: solace
environment:
solace:
java:
host: solace_host.com
msgVpn: msg_vpn
clientUsername: admin
clientPassword: password
connectRetries: -1

We are seeing after deployment of service

dynamic queue and its subcription getting created, which we are not expecting as below
scst/wk/QUEUE_GROUP/plain/QUEUE_NAME1
scst/wk/QUEUE_GROUP/plain/QUEUE_NAME2

Our solace migration is creating queue names as below in solace
QUEUE_NAME1.QUEUE_GROUP (inside subscription topic)
QUEUE_NAME2.QUEUE_GROUP (inside subscription topic)

Can you help us property or function which are helpful stopping these dynamic queues

@marc

Comments