-
Error: While enabling VPN replication settings
Hi All, While enabling VPN replication settings error observed as "Problem with Replication enabled or replication enabling behavior: Replication can not be enabled unless replication mate enabled" Kindly suggest way forward to resolve this. [Note: When checked on mate server , same name VPN is configured but that mate VPN…
-
Log4j2 Vulnerability CVE-2021-44228 at MITRE
Hey Everyone - I know this is a hot topic so I wanted to share the related Solace Issue Notification in the community.
-
How to connect to solace API continuedly
Hi I want to know How to connect to solace API continuedly, because after about 5 min if we don't send and receive any message we should login again and set our Try-me parameter again..
-
Why should the private key be used in solace client authentication?
I see that we provide a path to a .key file which is the private key for client authentication using client certificates . I really want to understand why this is done? a) where is the private key being used? b) is it a secure practice to pass private keys? especially if the server is sitting in a vendor infrastructure…
-
What is the best way to get the actual queue message count ?
I am using currently Jcsmp and sure i can use queue browser to fetch all data and check collection size but there should be an easier way to check queue size without fetching all data. So i find this one: https://solace.community/discussion/398/how-to-check-the-size-of-a-message-queue But when i run towards my docker image…
-
how to start using kx kdbsolace c++ library with Solace C API Client
Hi all I have integrated Kx Developer + KDb+ + kdbsolace dll on windows with visual studio 14 2015 x64 over VS2017 IDE. Now I try to send message and lean what happen on the kdb database. the q kx developer is running C:\workKXdb\kdb\w64>q KDB+ 4.0 2021.07.12 Copyright (C) 1993-2021 Kx Systems w64/ 16(16)core 16160MB ....…
-
How do I configure autentication properly for locally hosted docker container
I've downloaded the docker container and have it running locally, with Postman I managed to send messages to localhost:9000 just fine as well. But now, through Access Control I enabled basic authentication with the internal database, created a user in User Mgmt, gave that user a password, but with that user I can't POST…
-
Using NodeJS to "eavesdrop" on Microgateway messages
Hi there, I have a Microgateway set-up and I'm trying to eavesdrop/ audit messages using NodeJS but I'm encountering some apparent limitations with the API. How is it possible for me to access HTTP Content-Type, Content-Encoding, Accept-Encoding headers using NodeJS? It's common for REST payload to be encoded using gzip,…
-
Group name exclusive getting appended to queue name
Hello, my group name is getting appended to end of my queue while connecting, here is my .yml, Any suggestions why this is occurring ? Do I need a compatible version for this change? bindings: #The bindings section is used to define your input and output channels. read-in-0: destination: Sakshi_Test group: exclusive #The…
-
Solace HA Active/Standby Failover Test
Initial test, by referring to https://docs.solace.com/Configuring-and-Managing/Validating-Failover.htm#managing_router_redundancy_2753819523_330776. Manage to failover and able to see its messages flow. When 2nd attempt to test above scenario, from Primary Event Broker to Secondary Event Broker, it seem like the session…
-
Solace Developer Spotlight: Carlos Rodriguez Iturria
Hometown: Melbourne, Victoria, Australia Years of being a developer: 20+ Primary programming language(s): Java, JavaScript, Python, Golang, Shell, Scala, Dataweave, etc. How did you start as a developer? Everything started when I was a kid and wanted to understand how Gorilla BAS worked. So, I got into QBasic at that time.…
-
Consuming messages from custom dead message queue is not working since version 9.10.0.21
We have a queue that has our own defined dead message queue. We use to able to consume messages from that dead message queue after upgrading to version 9.10.0.21 its no more possible to consume. Same code can consume message from regular queue. Using sol-jms 10.12.1 for client.
-
Will there be support for OAuth2 JWTs signed with EC256?
Hello, we evaluating Solace as a Pub-Sub-Broker for our infrastructure. We want to use our authorization server with the OAuth2 Client Credential Grant for client authentication and scopes for authorisation. The server issued JWTs signed with the EC256 algorithm. I understand that the OAuth provider is only available with…
-
Steps to upgrade solace to latest version
Dear All, Please help to provide steps to upgrade the solace to latest version. PFB current version in detail: show version Process Release Build date CLI 8.2.0.8 DataplaneMgr 8.2.0.8 Jun 27 2017 14:51:56 IST Controlplane 8.2.0.8 Jun 27 2017 14:51:56 IST Managementplane 8.2.0.8 Jun 27 2017 14:51:56 IST Current load is:…
-
Remote addr: solaceuat.bos.group.intranet:55443) - Error Response (400) - Already Exists
Want to consume solace message from que using multiple consumers and multiple threads public Connection connection() { Connection connection = null; javax.jms.Session session; try { logger.info(">>>>>>>>>>>>>>>>connectionFactory.setHost:" + solConnectionFactory().getHost());…
-
Complete this short survey to help us know the community better. You may also win a $100 voucher!
We’re constantly thinking about how we can make this community a better place for you to discuss Solace PubSub+ and engage with other developers. In order to do that, we have prepared a short survey so that we better understand your needs. Please fill in the survey. It takes only 4 minutes. You will be entered for a chance…
-
Spring Cloud Stream - Solace JMS Client Passwords configuration
Hi All, Let me share steps we use for us, 1. We have autoconfiguration for queues and topics, (using solace binders(Sink, Source, StreamBinders)) 2. We have solace auto configurations 3. Solace clients( random generated clients) connects to queues 4. I have to decrypt the password and inject the same password in runtime by…
-
Request/Reply with dynamic topics after authenticating with Oauth2
Hye guys, I' ve set up a request/reply in using the message gateway. Everything runs fine. Now I want my user first to authenticate on my keycloak server and then make the request/reply just for his user. But there are 2 things not completely clear to me. Do I have to do this with a dynamic queue or topic that includes for…
-
JCSMP send timeout?
With the JCSMP api, the XMLMessageProducer.send(...) method blocks while the client is reconnecting to the broker. In a situation where the broker is unavailable for a while and the client is continually reconnecting, is there any way (or common practice) to implement a timeout on the send? I'd like to be able to fail or…
-
Default vs Compressed Connection
Hello everyone! While using the solace pubsub+ broker on docker as a localhost, I noticed a very strange observation. The default connection performs better than the compressed connection: Whereas, while using the cloud broker, the observation is opposite: Since the compressed connection compresses messages before sending,…
-
Is it allowed to include C libs in a public Git repository?
Hi, I'm creating a tool that reads messages from Solace and saves them to a database. I'm using Solace C SDK from Rust. I manually downloaded Solace libraries from https://solace.com/downloads/?fwp_downloads=solace-apis Now I would like to publish my tool to a public Git repository. But since it won't compile without the…
-
Best Practices Gems here folks
I'm not sure if this has been shared before, but I don't see any harm of popping this up to the surface for all of us. This is where we put a compilation of best practices for different areas around designing an event driven architecture with Solace. Enjoy! https://docs.solace.com/best-practices.htm
-
synchronizing onComplete event for a solcache subscribe request
Happy new year all, I want to find a way to synchronize the onComplete callback for a solcache sub request. cacheSession.sendCacheRequest(reqId, solaceTopic, true, CacheLiveDataAction.FLOW_THRU, new CacheRequestListener() { @Override public void onException(Long arg0, Topic arg1, JCSMPException arg2) { LOG.error("Consumer…
-
SDK Warning while using Solace C API
Hello everyone, I am new to using Solace. I am trying to execute the sample HelloWorldPub and HelloWorldSub applications as downloaded from the Solace C API. When I try to run them, I get the following output: HelloWorldPub: HelloWorldPub initializing... SDK WARNING Fri Jan 29 16:47:17.960 2021 solClientSSL.c:2264…
-
Solace Developer Spotlight: Dunith Dhanushka
Hometown: Galle, Sri Lanka (2 hours of driving from Colombo, the capital.) Years of being a developer: 12 Primary programming language(s): Java and Python How did you start as a developer? I started my programming career back in 2005 with Visual Basic 6. I was playing around with the GUI-based applications first. Then I…
-
How to check the publisher of a TOPIC?
Hi All, Can you please share a command or SEMP query to get the publisher client details for a particular topic? We can view the sender of a queue using ingress flow on the client but I don't see any option for a topic publisher in soladmin/pubsub+ manager.
-
Selecting queues from SEMP monitor api where message count > 0 ?
Is there any way to query queues from SEMP and filter based on the message count? If I try to add a where clause to the URL with msgs.count I get the following error: "where query error: Collection 'msgs' not allowed". If not, I'll just load all queues and filter in my application. Thanks, Pete
-
[New blog post for developers] New Java Messaging API Now Available
Last month Solace released version 1.0 of a new messaging API for Java. Why is it version 1.0 when we already have a Java API, you might ask? This blog post breaks that down first, then introduces the new one and explain why it’s such a big deal. This blog post covers the following: * A Tale of Two Java APIs * Why a Second…
-
Detect which services are alive
Hi, we have several services which use Solace to communicate. We also want to notify users if some service is not running. To do that every service publishes a heartbeat to a topic service-name/heartbeat and when the heartbeat stops we assume that the service is not running. This is working, but I'm wondering if there is a…
-
downgrade of software brokers?
Hi Experts, I have a quick quesiton. Is it possible to "downgrade" software brokers? I found procedures for "appliance" but not "software". Many thanks in advance, Kia