noelbensonuy
noelbensonuy

Reputation: 3

SpringBoot + DAPR + Solace (username, password) not working

#1 Solace PubSub Standard ran via Docker. SpringBoot app has a REST endpoint that calls DaprClient to publish event. Ran dapr run without any errors.

Invoked the REST endpoint. No errors. However, the messages were not published. The receive application of the Solace admin also not receiving any messages.

Also, tried shutting down the Solace. Invoked the REST endpoint. No errors. I would have expected an error here because Solace is not running.

#2 Also, what is the metadata to configure VPN name? used this as reference: https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-solace-amqp/

Tried using the same credentials using the Java publisher/subscriber worked - with/without VPN.

Please help. Thank you!

Messages should be published when Solace is running. Error should be thrown from DaprClient when Solace is not running.

Upvotes: 0

Views: 101

Answers (1)

TKTheTechie
TKTheTechie

Reputation: 103

The AMQP connection to Solace does not require a VPN name. Simply put in the host name and credentials and it should work. There should be an error on your DAPR server when there is a disconnect event.

Upvotes: 1

Related Questions