-
[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
-
spring cloud stream
compile("com.solace.spring.cloud:spring-cloud-starter-stream-solace:3.1.0") when i add this dependency to my project using spring boot 2.3.12. Its downloading 2.4.3 jar also ( when removed it doesn't ) where as i tried 2 other project its not the case over there they still use 2.3.12 and does not download 2.4.3 and use it…
-
Publish / Subscribe - REST Way
I have been following article https://tutorials.solace.dev/rest-messaging/publish-subscribe/ for long time but not really able to get it 100% working. Below are some of the issue I am confused with 1. Operational state of my RDP, Rest Consumer and Q is down but they are enabled. 2. Node Server is up and running and below…
-
Spring Cloud Stream publishing messages
I have heard that SCS should no longer be used together with flux (flux destroys that: retry handling, error handling, transmission confirmation). With StreamBridge messages can be published. But in my opinion the StreamBridge is not quite consistent with the other declarative and functional handling of SCS. Are there…
-
Pull message from a queue on an adhoc basis
Hi, I have a requirement to use spring cloud stream binder for solace to connect and pull messages from a queue. The application should not listen to that queue continuously instead it should try to pull the message based on a scheduled time interval. Could you pls help me how to achieve this with minimal java code? Thanks
-
Use LVQ to run in Master/Slave mode
Hi, I wanted to run my service in 2 regions in master/slave mode. Is it possible to use an LVQ to achieve this? What I am thinking is that whenever the service starts it will try to connect to an LVQ and as per my understanding only one can have access to it. (Is it correct assumption?) If so, that process will act as a…
-
Trying to understand Consumer Ack Window
I think that I have totally misunderstood the consumer flow ack window, and am trying to figure this out. Does the consumer ack window dictate the max number of messages unacked by the JCSMP API, or by the application? I have client acknowledgement enabled, and want to throttle the application so that the broker does not…
-
upgrade procedure of monitoring node
Hi experts, I have a redundancy env including two msg-routing nodes and one monitoring node as Active/Standby, and want to confirm upgrade procedure(s) of the monitoring node, which is not mentioned in the doc below. https://docs.solace.com/Solace-Appliance-Upgrade/Upgrade-Redundant-Appliances.htm#With Could anyone help me…
-
Do I need to close my JCSMP consumer/session on application shutdown?
I generally like to close resources gracefully when shutting down an application, and ran into a scenario where my queue consumer still had an outstanding message that it tried to ack() after the consumer had been closed, so I got the message "Attempted an operation on a closed message consumer." If upon shutdown I instead…
-
Unable to create a Polling Consumer
I want to create a polling consumer which is written in myFunction the queue is : Test and topic is abc/test **I have also autowired PollableMessageSource source and used this polling source in my function however, it is not fetching values from topic, is my configuration incorrect? *** spring: cloud: function: definition:…
-
Spring cloud stream with solace
Couple of question i have for solace binder, 1. I tried an example for DLQ functionality where i could throw exception from the listener and it was published to error queue, does solace has any mechanism to reprocess them, except that we add a listener and reprocess manually/code. Even same for DMQ.
-
@StreamListener(target = Sink.INPUT, condition = "headers['eventType']=='EmployeeTransferredEvent'"
I am using latest version of solace streaming and want to filter messages based on header but I see @StreamListener is deprecated and how to achieve this with properties file i have seen queueAdditionalSubscriptions but its filtering based on topic and not on header properties. solace: #The solace bindings section allows…
-
Open APIs - streaming : which to use??
Hi all, Looking for some opinions here!! When exposing a request/reply style interface, REST-over-HTTP is the defacto standard for applications, especially web and cloud apps. GraphQL and gRPC are gaining ground. But if you wanted to expose an asynchronous / streaming service (e.g. to publish temperature updates, bus…
-
SEMPv2 - Your Solace Broker comes with the OpenAPI docs!
Beyond getting the SEMPv2 OpenAPI specs from our downloads page, did you know the Solace PubSub+ Event Broker allows you to access the openapi spec for the SEMPv2 API directly from it? You can access human readable docs at: * Config API - http://<HOST:PORT>/SEMP/v2/config/help * Action API -…
-
When we create new consumer then it is creating queue in fomart scst/wk/exclusive/plain/*
How to avoid creating this queue because it creates extra queue. I want to listen on queue which is already created and just map to it
-
[New Podcast for Developers] Microservices For Everyone w/Tom Fanara: Ep 03: Real World Tech
In this episode Tom interviews Jesse Menning, CTO Software Architect at Solace. Jesse discusses Event Driven Architecture (EDA) for microservices. EDA is a best practices way of separating the communication between microservices with an event broker! Thus creating layers of knowledge on really what's happening in your…
-
[Weekly Quizzicle] Which subscriber provides no delivery guarantee?
-
springcloudstream processor app listening wrong queue with appended scst/wk/
i have created springcloudstream processor appliation which need to listen to queue "TEMPS.Q" and publish to topic "sensor/temperature/celsius/topic" But when i start running the application instead of listening to queue "TEMPS.Q" its creating new queue "scst/wk/PROCESSOR/plain/TEMPS.Q", so its not able to pull messages as…
-
Discard indications and topic dispatch
Hi, how does discard indication (in .NET) work together with topic dispatch? According to the documentation if my egress queue contains * message A to topic T (top of the queue) * message B to topic T2 * message C to topic T and gets full then message A will be discarded and discard indication will be set on message B? But…
-
[Weekly Quizzicles] message.acknowledge() only acknowledges message has been received and consumed
-
Solace Developer Spotlight: Shradha Bhatia
Hometown: Kanpur, Uttar Pradesh, India Years of being a developer: 3.2 years as a professional developer Technical competencies: MuleSoft, Solace PubSub+, TIBCO, Azure How did you start as a developer? I started as an IT professional and it was a roller coaster ride for me. I was completing my graduation specialization in…
-
SPRING CLOUD STREAM
SolaceExtendedBindingProperties does not provide the implementation of getBindings() , I would request you to please provide some method to get bindings details at run time.
-
Spring cloud stream Message Type Conversion Issue
Hi Team, We get the type casting issue when spring cloud stream reply the message to non spring cloud stream service. com.solacesystems.jcsmp.impl.BytesMessageImpl cannot be cast to com.solacesystems.jcsmp.TextMessage" Code: Below is the code used in the non spring cloud stream service which is type casting to text message…
-
Solace .net libraries possibly using no-longer-supported binaryformatter (also, .net5)
In a question thread created late last year, forum user @Anton was asking about a binary formatter exception in relation to his attempt to use .net5. I have just run into a similar issue. But interestingly, at around the same time that previous thread was resolved, microsoft issued a notice: BinaryFormatter serialization…
-
When i read message from solace queue using a consumer i get some issues while casting it
java.lang.ClassCastException: class com.solacesystems.jcsmp.impl.BytesMessageImpl cannot be cast to class com.solacesystems.jcsmp.TextMessage (com.solacesystems.jcsmp.impl.BytesMessageImpl and com.solacesystems.jcsmp.TextMessage are in unnamed module of loader 'app') What i get it is SolaceBytesMessage, cant not case to…
-
Limitation on UserPropertyMap of Solace Message Format
Is there any limitation for UserPropertyMap of a solace message (SMF) ?? ==> Size ?? number of bytes ?? Or as long as the whole message <64Mb (Direct) / <32Mb (Gurantee), it is still okay ??
-
Python TLS/ClientCertificateAuthentication error
Hi All, I am trying to use Python to connect to solace and failing to connect with “unable to get local issuer certificate” error. I have setup TLS with_certificate_validation and authentication strategy with ClientCertificateAuthentication.of. I have tried various combinations to use with or without TLS, while creating…
-
"Guaranteed Message Publish Window Size" with (Solace) JMS
Hi there In one of our applications we use the com.solacesystems.sol-jms (version 10.6.4). I want to configure publishing as described in https://solace.com/blog/understanding-guaranteed-message-publish-window-sizes-and-acknowledgement/ I found this:…