-
Solace Queue Browser Using Python
Was wondering if anyone has had any luck with building a queue browser using Python & the Solace Python API? I have seen some queue browsing options using SDKPerf & Java (including the Chrome Browser) but I was hoping to do something similar but with Python. It's also worth noting while the Chrome Browser tool is great,…
-
Weird chars at start of text payload!?
TL/DR: it's not a mistake or error… it's just a structured Text Message. Hi all! I'm making a definitive post about this because it's been asked countless times, and I still can't find a good "one-page" reference response. The issue: sometimes you'll see weird characters at the beginning of your text payload. For example,…
-
How Solace makes an OAuth Token Call to APIGW
Recently, there was a concern from APIGW team that Solace is making more OAuth token calls than expected, which is impacting their license cost directly. Upon checking in details, it was found that the token expiry value was set to 900 by default at Solace. However, the token lifetime was set to 3600 from APIGW end.…
-
Solace Java apps, shutdown hooks and deadlocks
I build a lot of JCSMP apps, and in my latest project (my PrettyDump console pretty-print message listener), I ran into an issue I thought was pretty interesting and thought I'd share here. It's a terminal app, and I wanted to use a shutdown hook so that it would capture Ctrl+C on the command line to initiate a graceful…
-
Binary to ASCII
Hi @marc @Aaron How do I convert the data received from queue(lvq) to ASCII or human readable format?
-
C API error as --'solclient/solClient.h' file not found #include "solclient/solClient.h"
When I am trying to run a file in C, I am getting this error. Can someone please help me with this. I am new to PubSub+. Trying to learn as much as I can.
-
Now Available: PubSub+ Messaging API for .NET & JavaRTO with Mac M-series Support
I am pleased to announce that as of the latest release of both our .NET (v. 10.23.0) and JavaRTO (v. 10.6.0) APIs, they now support Mac M-series processor so developers can now use these APIs when developing applications on the latest Mac hardware. They can be downloaded through all the regular channels such as: Solace…
-
JavaScript API > Error: Operation is invalid for Message Consumer in disconnected
I am new to the Solace Javascript API and trying to read messages from a queue in the PubSub+ Broker Manager. I kept running into the following error when calling solace.QueueBrowser. Uncaught OperationError: Operation is invalid for Message Consumer in disconnected state The funny thing is, when I run the script for a…
-
Javascript API > Return a specific range of messages from a queue without consuming them.
I have a use case where I'd like to browse a specific subset of messages from a queue. Example: 100 messages on a queue. We'd like to browse messages 20 to 30 without returning all 100 messages. I don't want to consume these messages so I think a QueueBrowser would suit, however, I can't see support for this in the…
-
How to return 'show current-config all' using SEMP API
Trying to construct an API request for the 'show current-config all' CLI command but not sure if this is possible for the SEMP API. Does anyone know if this is possible? Here is what I have tried with python. ``` requestBody = "<rpc><show><current-config><all/></current-config></show></rpc>" requestResponseObject =…
-
Query Solace PubSub+ Cloud using SQL with Steampipe
Introducing Steampipe Steampipe is an open-source tool that has redefined the way developers interact with cloud infrastructure. Breaking the barriers of traditional approaches, Steampipe empowers you to query Cloud REST APIs using the timeless language of SQL. With Steampipe, you can now leverage the familiarity and…
-
golang solance API for certificate based authentication
Hi, I followed https://docs.solace.com/Cloud/ght_client_certs.htm and set up the solace system to allow and accept certificate based authentication. But so far I wasn't able to get it running with golang. Could someone indicate how to change the code from…
-
Missing Typescript declaration file from latest version
Hi, when installing the latest solclientjs package (10.12.0) via npm/yarn, there is no index.d.ts file in the package root. This results in Typescript complaining about a missing declaration. I have had to downgrade to 10.11.0.
-
Introducing new, shiny home for PubSub+ Cloud REST v2 APIs
The PubSub+ Cloud REST APIs provide a mechanism for you to programmatically work with PubSub+ Cloud. Granular role-based access control: Manage who has access to application domains and their resources, what they can do with them, and which users can access which environments. Version control and lifecycle states: Apps,…
-
JavaRTO solclientj-native-common runtime dependencies (version 10.2.0)
Hi team, Please can I ask for some guidance with respect to handling runtime dependencies of the solclientj-native-common.jar present in version 10.2.0 of the API in the context of gradle builds - I am fairly new to gradle. For example: <dependencies> <dependency> <groupId>com.solacesystems</groupId>…
-
Feature Summary for the PubSub+ Messaging APIs
Hi All, If you have not checked out this page in the solace docs - I would highly recommend that. A matrix of API capabilities across languages in one place. Link to docs here - https://docs.solace.com/API/Messaging-APIs/Solace-APIs-Overview.htm