-
Solace Try-Me CLI (stm): A sleek command-line tool for messaging Solace PubSub+ Broker
Thrilled to introduce a new command-line tool Solace Try-Me CLI, simply called stm that brings the robust messaging capabilities of the Solace PubSub+ broker right to your fingertips! stm designed specifically for interacting with Solace Broker! This standalone tool is perfect for anyone looking to dive into messaging…
-
TestContainers for Solace PubSub+
I am excited to share an update on Testcontainers for Solace PubSub+ module. For those who have not worked with Testcontainers, let me help you with the introduction Testcontainers is an open source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or just about anything…
-
subscribe to multiple topics inside same session?
TopicSubscriber.java (https://github.com/SolaceSamples/solace-samples-jms/blob/master/src/main/java/com/solace/samples/TopicSubscriber.java) gives a good intro to subscribing to a single topic. What if we want to subscribe to multiple topics ideally with a listener attached to each of those subscriptions. Do we have…
-
Azure HA failover load balancer service issue
Greerings, I have an azure deployment where all 3 pods are up, redundancy, config-sync etc..., pod0, pod1 and pod2. We are using an azure load balancer service for clients to connect to smf ssl port. This works fine until pod0 goes down and pod1 is in charge. It looks like all the requests keep going to pod0 since it's pod…
-
MessagePublishReceiptListener is not getting the acknowledgement python API
class SolaceMessagePublishReceiptListener(MessagePublishReceiptListener): def __init__(self): self._publish_count = 0 @property def get_publish_count(self): return self._publish_count def on_publish_receipt(self, publish_receipt: 'PublishReceipt'): with lock: self._publish_count += 1 print(f"\tSOLACE -- \n", f"\tMessage:…
-
Can we use Solace connection pool for node.js application using solaceclient library
Hi Team, we are building an Azure Function using node.js. This azure function is connecting to Solace using SolaceClient library and publishing a message into Solace topic. Currently, we are open and close the connection for a request. We want use the Connection Pooling concept in Solace Connectivity. so that, same…
-
cluster external links
Greetings i have 2 deployments in azure configured, clustered together where the external links were working fine but recently show up as "internal link missing between solace1 and solace2". The external links show as "Down" in Operational State but the channels show as "Up" in Operational State Suggestions please ?
-
python qpid-proton cannot access solace broker after rename Message VPN
Hi everyone, I have some problems with connecting to solace with qpid-proton python. I connected to Solace that isn’t running on my local machine but other server, and I could send the message into the queue with the subscription topic and also receive the message from the queue successfully for a while. All I specified…
-
C# - Solace Queue Message not reading and missing sometime
I have referred sample code provided by the Solace team for implemented Pub/Sub Queue message (https://github.com/SolaceSamples/solace-samples-dotnet) Sample code is implemented part of Microsoft .Net 6 Worker service and scheduled to run every 30 mins. I am facing new issue and i really don't know what went wrong in my…
-
handle Throw error in Pub/Sub Pattern in Javascript
Hello, I am trying to get my head around how error with a publisher in javascript. When I invoke a failed connection via false credentials the following code snippet is executed in the Publisher code: publisher.session.on(solace.SessionEventCode.CONNECT_FAILED_ERROR, function (sessionEvent) { publisher.log('Connection…
-
Content resolution example with Spring Cloud Stream
The Spring documentation mentions one of the core features of the framework: It tries to automatically convert incoming message payloads to type Person with the following code: @Bean public Consumer<Person> log() { return person -> { System.out.println("Received: " + person); }; } My attempts to have the incoming message…
-
Unable to start the Solace pubsub in podman
I am trying to start the pusub in podman, but when I run the below command the container is in running state and I am unable to access the console in browser. Command: podman run -u 1000:1000 --ulimit nofile=524288:524288 -p 1943:1943 -p 55555:55555 --shm-size=1g --env username_admin_globalaccesslevel=admin --env…
-
Golang Parallel For One Consumer?
How can I increase the number of connections for a consumer using pubsubplus-go-client? We pass a callback to ReceiveAsync for a consumer via PersistentMessageReceiver, but only one message is processed at a time.
-
Pods are not running and failing very often
Hello Team, I have deployed the pubsub+ HA using helm chart in the GDCE environment (Google Distributed Cloud Edge) which is GKE cluster. There are 3 nodes, hence 3 pods are suppose to run. but 2 pods are failing very often. and one pod is about to start, but not starting. One of the Pod log says: "ERROR:…
-
How to send JSON in Javascript
Hello, in the example files for Javscript, perticular the TopicPublisher, there is a line of code that defines a message text. var messageText = 'Sample Message' var message = solace.SolclientFactory.createMessage() message.setDestination(solace.SolclientFactory.createTopicDestination(publisher.topicName))…
-
Message Spool Ingress Discard
May i know what is the cause for message spool ingress discards? How to prevent it? How to troubleshoot the issue?
-
SMF AD ack response error [condition = amqp:resource-limit-exceeded]
I have seen this error in logs. Can someone explains me when this error occurs and how to prevent it in future? I checked the event log of the solace software broker and found out there are warning messages — VPN_AD_MSG_SPOOL_QUOTA_EXCEED: test - Message VPN(1) test message spool quota (102400 KB) exceeded, messages…
-
Parsing characters from Binary data
Hi @marc @Aaron @all I am deserialising some stream of binary data using the payload format as — typedef struct { char messageType; // 'N' or 'G' ('N' – New Normal Order, 'G' – New Spread Order) long timestamp; // Numeric Time in nanoseconds from 01-Jan-1980 00:00:00 double orderID; // Numeric Day Unique Order Reference…
-
Binary to ASCII
Hi @marc @Aaron How do I convert the data received from queue(lvq) to ASCII or human readable format?
-
DeliveryMode setting with Pure Java API
I am creating a rewrite of previously JMS specific spring implementation of an eventing library to pure java. But I could not find where to set DeliveryMode in the message properties, and then found that there pretty much is no place to set that per-message like I used to with JCSMP / JMS. I have to decide when I create…
-
Unsupported message amqp-value type: map
Does solace message broker support amqp-value type - map ? I using Apache Camel to send message to the broker. However, i faced an exception when sending the following message to Solace message broker. {message=up, uptime=1000.200} Log Message : ```` Caused by: org.apache.qpid.jms.provider.ProviderException: unsupported…
-
Opentelemetry support New Java API
Hi Team, I am building an application with new Java API. And I have a use case to integrate with open telemetry for distributed tracing. I guess 1.4.0 version is not supporting open telemetry. When can we expect the support? or is there any way that we can achieve this ?
-
Any tricks to speed up Commit() using an ITransactedSession in C#?
This question follows on from this discussion : The objective here is to… publish guaranteed messages, and be certain that the broker receives them in the order in which they were generated so that re-ordering does not have to be done on the subscriber side (for reasons summarised in the linked thread), and Avoid…
-
Can we have more than one static bridge between two VPNs?
We want this so we can separate the subscriptions in remote VPN queue (can have more queue) for better management and fail-safe
-
Sequence Convoy Pattern with Solace
Hi Team, In my landscape, 20+ applications are generating events that are consumed by about 50 applications. Each consumer needs to receive all the messages from the 20+ in the same order they are generated per customerID. Meaning, for customer/123 all events from 20+ should be convoyed in sequence for all consumers. Each…
-
Queue with random order?
We aim to have a queue without order. The motivation behind this is that younger events update older events, and the updating process is relatively 'expensive'. However, if younger events arrive first, older events are simply discarded. How can we enable this?
-
Release note / Change Logs for version 10.0.1.XX
May i know where to find changes log for version 10.0.1.XX ? I want to know whether there is any vulnerability patch happen in 10.0.1.XX
-
Connection pool size for outbound messages
What would connection pool mean in solace mean ?Would it mean pooling the session,that is multiple sessions treated as one or something else? And is Connection pool size configurable in solace-cloud?
-
Intermittent "Assured message delivery is not enabled on this channel" errors
Hi there, We've had this publisher app that sends events to topics other client apps in the firm are subscribed to using queues of their own, for years. Lately, though, we've started to notice these exceptions intermittently that we've encountered previously. The client profile has "Allow Guaranteed message send" enabled…
-
Event Mesh using DMR
Hi All, Currently I’m setting up event mesh using DMR for 3 solace brokers. I have 3 cluster. Cluster A, B and C. A is connected to B using external link. C is connected to B using external link. As of now, when A publish a message, my cluster B is able to receive the message, however I face the below issue. If A publish a…