-
Connecting with MQTT without WebSockets
Hello everyone, I'm getting started with Solace, and I am trying to write a simple Python program that publishes a message to a broker topic using the MQTT protocol. I have issues establishing a connection with the broker service without using Web Sockets. My program does not seem to get any connack message. I was…
-
Are there any specific advantages/disadvantages of using Machine Image while setting up the Broker
Are there any specific advantages/disadvantages of using Machine Image while setting up the Broker over container images. Does any of the option has an inherent disadvantage in terms of any HA or other configuration? Or it depends on one's preference of using VMI over containers?
-
Python Paho MQTT IoT Examples
Hi, I just wanted to share a github repo that was created in support of a hackathon earlier this year. It shows how to quickly get started using Python and MQTT on an IoT device such as Raspberry PI. If you don't have a device it also includes a script that simulates a sensor here. 👉 Bonus points for anyone that re-writes…
-
Cost of JCSMPSession
Hi, I'm creating an app which reads messages from multiple Solace topics. Different parts of my app need to read from different topics. And I wonder (1) if I should create only one JCSMPSession subscribe to all topics and then dispatch messages to different parts of my application (2) or create JCSMPSession in each part of…
-
Dispose ITopic?
Hi, when using Solace from C# / F# I found out that ITopic is IDisposable. But in the tutorials (eg. https://solace.com/samples/solace-samples-dotnet/publish-subscribe/) the topics are not disposed. So should I dispose them or it's not necessary and not disposing won't create resource / memory leak? Thanks
-
New badge for Community contributors!
As part of the growth of our community, I’m excited to announce the addition of our new Community Contributor badge. This badge is for members who take the next step in contributing to the Community. We all know it's easy to come to a community and read through the discussions or ask a question about something you're…
-
Solace Confirm Delivery pattern is always executes responseReceivedEx() method in every case in Mule
Solace Confirm Delivery pattern is always executing responseReceivedEx() method in every case, i am implementing JCSMPStreamingPublishCorrelatingEventHandler in my custom Connector in Mulesoft. weather the queue name is wrong or correct but it always goes in responseReceivedEx() method? Why?
-
JMSToolbox - An Open Source Queue Browser
Hi all! I've had a few requests lately for developers looking for a queue browser that works with Solace Event Brokers. While we don't currently have a Solace proprietary queue browser, you can actually use JMSToolBox, which is a free and open source option (it's released under the GNU license) You can find more info with…
-
Queue Provisioning issue
Hi I am having difficulty provisioning a queue from a C# client application. The Solace Broker is running within a Docker container and the client application is running on the Docker host machine. This error is always thrown: "Endpoint provisioning not allowed or not supported on session" My understanding is that this…
-
Solace Spring cloud stream and opentracing
Hi there I am trying to introduce tracing in my project, for that I defined the following dependency: io.opentracing.contrib opentracing-spring-jaeger-cloud-starter 3.1.2 There are starters for kafka, rabbitmq... But unfortunately none for Solace. Now I want to implement it on my own. What would be the best hook for a…
-
Reactive approach micro-services for API integration (direct using WebClient), without MessageBroker
I am implementing microservices however not planning to have any message broker. services will talk to each other with WebClient/web flux. Is there any risk of going production like this? what are the drawbacks like failover/replay?
-
C Api to get the queue size and other details.
There is a new requirement for me to create solace queue monitoring project. Where I need to find the queue details on certain time interval and create a alert system. The requirement is to get the queue size and check with the defined size of the queue, if its close to the defined size create a alert. So I am trying to…
-
Solace JMS issue
We are facing session issue when publishing first message to topic after re-connect and it works fine from 2nd message onwards. PFB the steps we followed step 1. When application starts, Publish a message to topic , success and received message ID. step 2. Bring down solace server for 5-10 sec step 3. Application…
-
Generated the client certificate 'Not trusted' error.
I am working on C/C++ application on Linux for use with a Solace messaging appliance. I received the Client Certificate signed by our CA . When I run the secureSession.c example from C CSMP API Documentation I have the following error: “The peer certificate is not trusted, rc='self signed certificate in certificate chain'”…
-
How to downgrade from a corrupted SolOS upgrading
I was doing a standalone standard Solace appliance SolOS version upgrade from 8.1.0.22 to version 8.2.0.8, and now my appliance cannot startup. Soladmin cannot communicate with the appliance, "admin" account cannot login. can anyone help to advise how i can bring the appliance back to operation or downgrade to the previous…
-
Search error in the forum
Seeing error message when searching for some keywords unknown local index 'vf_solace_BPE7O_Group' in search request https://solace.community/search?Search=subscription+lost
-
TLS certs expired https://sg.solace.com/bus/
When I was checking the "bus" demo in a video I saw this :smile:
-
What's the difference of JCSMPSession.createFlow() and getMessageConsumer()
Both methods are used to receive messages from the VPN what are the differences between them? https://docs.solace.com/API-Developer-Online-Ref-Documentation/java/com/solacesystems/jcsmp/JCSMPSession.html
-
Falling with Solace PubSub+ for Docker
Hi, I am trying to setup solace running in a docker container, when I started with the below commands. it is falling to start? Any help would be appreciated, please. sudo docker run -d -p 8080:8080 -p 55555:55555 --shm-size=2g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --name=solace…
-
Direct vs guaranteed messages
Hi, we are considering options for streaming a sequence of messages from one consumer to another. Our main requirement for this stream is to guarantee that we do NOT LOSE messages in the middle of the stream. Reading through Solace doc's its not really clear enough to me how could we accomplish this with as small…
-
Combining GoLang, NodeJS and Java JMS clients
Hi, We have Solace Appliances at our shop and for a particular VPN, we have a lot of JMS clients publishing to topics and consuming from persistent queues. Messages are also published with persistence. All topics only have Solace Queues as subscribers in order to secure this persistence and allow for consumer downtime. We…
-
IoT and Connected Devices projects
What projects are you all doing around IoT and connected devices? Whether its for work or side hobbyist projects I'm curious to know some projects we can share here on this thread! I've been getting more and more interested in cool projects that can be done on a Raspberry Pi using sensors and different triggers. One quick…
-
High Availability client configuration properties to load balance from the client end
Hi All, I have a question. What are configuration properties are required to achieve High Availablity like load balancing from the client SDK's sides? For examples: .NET ,Node js, Javascript, python, c etc... the configuration, I mean reconnection strategies and auto-switch between servers. can any one describe proper…
-
Topic which gives whole state followed by updates
Hi, I'm trying to create an app where each client initially gets whole state and then listens to state updates. I would like to use Solace topic to distribute state updates to clients. But I also need to distribute whole state to each client immediately after it subscribes - how is this done in Solace? Is there some proven…
-
Can Solace over MQTT Protocol, send or receive messages from Queue?
I am integrating Solace with Mulesoft and trying to Communicate with Queue over MQTT Protocol? is it possible to send or receive messages from Queue using MQTT Protocol?
-
Does Solace supports plain HTTP, over MQTT Protocol?
I want to know Does Solace supports plain HTTP, using MQTT Protocol?
-
SolaceSystems.Solclient.Messaging.OperationErrorException
In my application I am creating a solace message "CreateMessage()". After that i am converting message to stream using "SolaceSystems.Solclient.Messaging.SDT.SDTUtils.CreateStream(solaceMessage, 10240)". While writing in stream in a loop I am getting below exception after some iteration in the loop.…
-
Exponential retry for messages
1) We have a microservice consuming message and post the data to another microservice via http 2) Lets say if either the database or microservice is down, we like to push the message back to the queue (this we can do with JMSListener by throwing the exception). And we like to consume the message with exponential backoff...…
-
Lightning Talks? You heard it! We want to hear from YOU.
Got a cool EDA or real-time project you've been working on? Want to talk about a cool tech or framework you used in your application that enhanced your development process for your event-driven application? What about Johny-Five for you IoT project or X-State for state management solutions? Cool tips & tricks for using…
-
How to check the size of a message-queue
Hi, I have a specific requirement. When we start/restart the pub, we need to check the size of the last value queue. It should be zero in the start of the day, and it should be 1 during the day ( at least one message went through). When the LVQ size is zero, we will consider it the start of the day ( no message went…