Try PubSub+
If you haven't already, check out our new Developer Portal! You'll find useful information about Solace PubSub+ as well as handy resources to get you started.

Spring Cloud Stream and Solace Bindings

ardaarda Member Posts: 4
edited November 15 in Integrations with Solace

I am trying to use Spring Cloud Stream bindings with spring-cloud-starter-stream-solace but encountering issues with the set up / configuration.

I have created a durable queue Q.MYQUEUE which is mapped to a Topic /mytopic/topic1. It seems that the SolaceQueueProvisioner tries to create a new queue and gets a "Router does not support durable endpoint management." Durable queues are administered/set up by a central team. Are there any ways to use existing queues/topic subscriptions for this set up?

spring.cloud:
stream:
bindings:
input:
destination: Q.MYQUEUE
group: APP1
solace:
bindings:
input:
consumer:
queueAdditionalSubscriptions: /mytopic/topic1

org.springframework.cloud.stream.binding.BindingService: Failed to create consumer binding; retrying in 30 seconds
org.springframework.cloud.stream.provisioning.ProvisioningException: Failed to provision durable queue Q.MYQUEUE.APP1; nested exception is com.solacesystems.jcsmp.InvalidOperationException: Capability Mismatch: Router does not support durable endpoint management.
    at com.solace.spring.cloud.stream.binder.provisioning.SolaceQueueProvisioner.provisionQueue(SolaceQueueProvisioner.java:128)
    at com.solace.spring.cloud.stream.binder.provisioning.SolaceQueueProvisioner.provisionConsumerDestination(SolaceQueueProvisioner.java:105)
    at com.solace.spring.cloud.stream.binder.provisioning.SolaceQueueProvisioner.provisionConsumerDestination(SolaceQueueProvisioner.java:30)

Answers

Sign In or Register to comment.