-
How to get the number of current consumers of a durable queue ?
Hi, is there any native API (Java, NodeJS, GoLang) by which we can get the number of current consumers of a durable queue ? one way is to use SEMP API ("GET /msgVpns/{msgVpnName}/queues/{queueName}/txFlows"). We are looking if there way way to do the similar task using some native API.
-
Library to Unsubscribe Topic from Queue
Hi Community, I am exploring Solace and its Use Cases. Using Solace Java API Library we can create a Queue and subscribe a Topic to the Queue. Using SEMP Java Client Library we can Create and Delete a Queue. Using SEMP REST API we can create and delete Queue , subscribe a Topic to Queue and can also unsubscribe a Topic…
-
Persistent receiver with subscription-specific listeners
Hi, Is it possible to have multiple topic-specific receivers and handlers to consume messages from a queue? Like: var receiver1 = messagingService.createPersistentMessageReceiverBuilder() .withMessageAutoAcknowledgement() .withSubscriptions(topicSet1) .build(queue) .start(); receiver1.receiveAsync((message) -> { //...…
-
How can we send bulk messages using nodejs?
I am sending around 100 messages with confirmed delivery. But Acknowledgement is delayed because of which I get OperationError: Guaranteed Message Window Closed after sending 50 messages. Is there a way to send more number of messages with guaranteed delivery? Code:…
-
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…
-
Purge or Delete Queue message via C#.net
We have few application services currently using Message Queue and currently transitioning to use Solace Messaging. In .Net Message Queue, it has a feature the Purge all the Messages. These application services require to Purge all messages when it is starting. I do aware Solace Application do have this in Queues -> Queue…
-
TTL - Message Expiry check on the queue..
If TTL on a message is set to 180secs (say), wondering when the expiry is checked and removal of expired events occur? Just curious how the following scenarios are handled: a) If DMQ is enabled, the dequeue from current queue and enqueue on the DMQ has to occur at the exact time when the message expired, right? b) If no…
-
Prevent Queue subscribing application to receive another message until ACK is sent
Hi there, I have a consuming application using the solace .NET client API which binds to an exclusive queue. May aim is to process messages in order without any loss. Suppose I have the following messages on the Queue: msg1, msg2, and msg3. Let's say I have received msg1 and am processing it on the FlowMessageHandler in my…
-
In Spring cloud , i would like to print logs which will tell to which queue application is connected
Hi, I am working on spring-cloud-solace. In application i need logger to track which queue application is connected to. Could you pls help
-
Queue to Topic Mapping List For Solace VPN
We use Solace queue to topic subscription mapping extensively in our Solace Ecosystem and most of time Application is not aware about underling queue and whenever application face any issue they provide VPN name and topic to administration team to check ! Now from here main pain point begin, because we have multiple…
-
measure size of queued messages - how identify how many messages >10k shipped ?
measure size of queued messages. How identify how many messages >10k shipped ? i only see the queue but not the size of message. show queue ...
-
Levels for naming topic/queue names
Is it always required to provide pattern of all 4 levels when we create a solace topic?
-
Queue: It's a Noun... It's a Verb... It's Both (2 of 2)
Queue as a noun, represents a list of objects, commands, etc., stored in a retrievable, definite order in the order of insertion. Queue as a verb, represents an operation to (re)arrange items from the set of operations such as dequeue, browse, replicate, empty, etc available on a queue. Solace Queues are created and…
-
Queue: It's a Noun... It's a Verb... It's Both (1 of 2)
Queue as a noun, represents a list of objects, commands, etc., stored in a retrievable, definite order in the order of insertion. Queue as a verb, represents an operation to (re)arrange items from the set of operations such as dequeue, browse, replicate, empty, etc available on a queue. Solace Queues are created and…
-
get only first message
Hi, I want to receive only the first message with property in a Queue. How to get this? Will this utility will help ? ./sdkperf_jms.sh Or any other choice ? Saw this article..Any hint - on how to re-write to receive only first message? https://tutorials.solace.dev/jcsmp/topic-to-queue-mapping/ These messages are now on…
-
How to publish and consume an attachment(.txt) file along with each message in queue?
Is there a way to publish a message and an attachment(.txt) file to a queue? Can this message and the attached file be consumed using java interface?
-
Browse Message Payloads in Queues
Dear Team, Could anyone please share the best possible approach to view the content of the messages queued in solace queues/topics. 1) Do we have any solace apis available to view the message payload? 2) Is it possible via CLI? Please suggest any better approaches. Thanks, Vempati
-
Last Value Queues
Does a Last Value Queue store only a single message, or a single message per unique topic? What are some common use cases for them?
-
503: Transaction Failure: The number of messages in the transaction exceeds the limit [Subcode:63]))
Hi, We're a Boomi implementation partner. We want to empty a queue with 20000 messages which we don't want to process. * We tried to empty the queue with JMSToolbox. However, JMSToolbox gives the error (See screenshot below). * We also tried to delete messages from the Solace Cloud management console but there's a…
-
Exceeding max queue spool blocks publishers?
If a client creates a queue with a topic subscription and then does not consume the queue for whatever reason, it will eventually reach its max spool usage. At this point anyone attempting to publish guaranteed messages to that topic will fail. Is there any way to prevent this publishers from being impacted in this…
-
Configuring Max Message TTL with the JCSMP Client?
When provisioning a queue with the JCSMP client, the EndpointProperties object contains the setRespectsMsgTTL(), but there doesn't seem to be a way to configure the max message TTL. Am I missing how to do this?
-
JCSMP: Disconnect flow consumer from Queue to make possible other to connect
Hi. I need to unbind flow consumer from queue to make possible to run other app for connecting to the same queue.
-
Round robin Active-Active (non exclusive queue) for bridges
Hi everyone, I´ve been trying out Solace and its great use of topics. I´ve been wondering however if there is a way to achieve some kind of round robin between remote brokers. The idea would be to have a "region" which produces the messages and then have 2 other active regions that receive these messages on a round robin…
-
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?
-
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…
-
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…
-
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?
-
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…
-
Development Best Practices
What are the best practices in solace development except naming queues/topics? And what are the restrictions, recommendations to be followed? How failover takes place. could you please some information related to this?
-
How to identify wich Appliance is active, any SEMP Query avalable ????
Hi All, We have 4 Appliance (Prod and DR), so when I fire SEMP query (it will come blind count and current message in the queue) will get all queue start, And that SEMP query is automated. And last week my Appliance failover from primary to secondary and I didn't get any data from that SEMP query, so is their any SEMP…