0

#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.

1
  • The default message vpn name is "default" if you just started up a local broker. I'm not familiar enough with the use of dapr to answer the rest of your question but will ping someone else. Did you configure it to publish to a Solace topic? Something like client.pubsub.publish(PUBSUB_NAME, “topic:retail/orders”, {“orderId”: 123}); from this blog: solace.com/blog/dapr-pubsub-event-broker Commented Feb 26, 2024 at 18:49

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

3 Comments

thank you for your response. however, when the strategy requires us to use VPN, does the DAPR Solace pubsub has any configuration for VPN?
Since the DAPR Solace PubSub+ Plugin works over the AMQP protocol, a VPN configuration will never be needed. If you are using multiple message VPNs, each VPN would have a separate AMQP port.
And if youre interested to learn more about Solace + Dapr we have a live event coming up that will host Alice from Diagrid - check it out here solace.com/event/community-lightning-talks-jan-2025

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.