🎄 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.
Solace shared subscription - Router does not support #share and #noexport subscriptions
Hi everyone
Im experimenting with the shared subscriptions feature. However, when I startup my consumer app, I get the following error:
——————————————————————-
Warning - SessionImpl: 15:29:47|Failed to Subscribe to topic #noexport/ottawa/weathersensor/yow/temperature ReturnCode is: SOLCLIENT_FAIL|null
Unhandled exception. Operation Error: ReturnCode = SOLCLIENT_FAIL Error Info: (Subcode=SharedSubscriptionsNotSupported, Error string=Router does not support #share and #noexport subscriptions on topic '#noexport/ottawa/weathersensor/yow/temperature' in solClient_session_topicSubscribeExt for session '(c0,s1)_default', Response code= 0 )
——————————————————————-
My consumer application is written in dotnet, using the latest client (10.26.0).
…
session.Subscribe(ContextFactory.Instance.CreateTopic("#noexport/ottawa/weathersensor/yow/temperature"), true);
…
I have the latest solace running locally in a container.
I have also enable "allow-shared-subscriptions" on the client profile.
Any ideas?
Thanks
Shaun
Answers
-
Hi
I believe I found the issue.
My consumers where connecting using ws://. Then I changed it to tcp:// it worked.
Regards
Shaun0