-
Introducing the "copy-message" command
Exciting news, Solace developers and administrators! You can now copy messages between queues! PubSub+ Event Broker version 10.0.0 has a new management command, copy-message, that lets a broker administrator copy a message from the replay log to a queue, or from one queue to another (like from a DMQ to a client’s queue).…
-
SEMP java client INVALID PARAMETER
Hi, The Semp v2 java client built via swagger code gen doesn't appear to be able to handle a comma separated list of selects and where clauses. Using selects - queueName,msgs.count: ApiClient.buildUrl calls escapeString(value) which causes 'queueName,msgs' not a valid attribute. If i change the change to remove the…
-
Topic tracing
Hi Team, I have created 2 producer and 4 consumer using DMR and spring cloud. I want to trace my topic in solace portal like if I have produce topic from P1 and its consumed by C1 and C3 then where I can see the topic in Solace portal. I can see the Queue but What I want I want to see like topic consumerd by C1 with Topic…
-
Delete All the Messages on a Queue Using Legacy SEMP
For deleting all the messages on a queue you can use the following legacy SEMP command: admin message-spool message-vpn <vpn-name> delete-messages queue <queue-name>SEMP Request:<rpc semp-version="soltr/9_6VMR"> <admin> <message-spool> <vpn-name>vpn-name</vpn-name> <delete-messages> <queue-name>queue-name</queue-name>…
-
Pubsub+ Now Offers Configurable Replay Topics!
Hey Solace operations and developers! PubSub+ is taking the replay log to the next level of flexibility by allowing you to configure exactly which topic is mapped to your replay log. PubSub+ Event Broker 10.0.0 allows you to customize exactly which topics are sent to your replay log. Your broker administrator to configure…
-
Is there a way to get a Queue Created Date in Solace?
Hello All, I would like to know if there is a way to get the queue created date via SEMP API's or any other means in Solace? Have tried with SEMP Over Message Bus & Monitoring SEMP API but it does not speak about when the queue was created. Thanks Tejas Chowsalkar
-
House keeping for durable exclusive queues/DTEs having no consumer for a defined time
Hi, We want to implement a housekeeping mechanism for our Solace system so that durable exclusive queues/DTEs having no consumer for a defined time are deleted. We are thinking of the following approach. We implement a poller which looks at all the Queues/DTEs and finds out all the exclusive Queues/DTEs For each of them,…
-
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…
-
How to get the number of current consumers using SEMP V2
Hi, We're trying to find out how to retrieve the current number of queue consumers (TCP sessions) using the SEMP V2 API. The response of "GET SEMP/v2/monitor/msgVpns/{msgVpnName}/queues/{queueName}" does not contain this. Thank you :smile:
-
What s best way from java to delete a single Message in Queue
I use JSCMP queue. browser to loom up message inside a queue. Now i want to delete. some of this msssages and look for best way to do so. Is there a way via JSCMP? via SEMP i found that: https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/action/index.html#/queue I was surprised a PUT was used for…
-
Get all messages from a queue
Dear Team, I have a requirement to retrieve all the messages from a queue at a given point of time. I believe On-demand JMS or Consume operations can only read one message per request. Do we have any parameter to configure in JMS or Consume operation in Mulesoft Soalce connector. Can we achieve this via SEMP apis? I would…
-
cli to legacy semp for session-idle-timeout
Hello Solace-Community, new Solace user here :smile: We are currently developing our own terraform solace provider and are now at a point where we want to be able to configure some broker settings through terraform. For that we are using the semp v2 api whenever possible but have to fall back to the legacy semp from time…
-
SEMPv2 - Your Solace Broker comes with the OpenAPI docs!
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 - http://<host>:<port>/SEMP/v2/action/help * Monitor API -…
-
Delete all subscriptions from a queue in one shot
Hello, Is there anyway to delete all subscriptions in one shot from a queue using Legacy SEMP and SEMP V2? @nram @Aaron Thank you
-
Special characters (/, *,>,!) in SEMPv2
We have queue subscription topics that contain special characters like (/, asterick, !, >). We to want use SEMP V2 to delete particular subscriptions for a queue. I found the below SEMP v2 call to delete. /msgVpns/{msgVpnName}/queues/{queueName}/subscriptions/{subscriptionTopic} But, since my subcriptionTopic…
-
Api to unsubscribe to a topic and delete the queue
I have a queue and topic created like this. Now I want to unsubscribe to the topic and delete the created queue. Is there any api to do this? curl http://localhost:8080/SEMP/v2/config/msgVpns/aaron/queues-X POST \- u admin:admin \- H “Content-type-type:application/json” \- d ‘{…
-
Maximum number of Semp V2 calls at a time?
We have 3000+ queues in a appliance. We would like get all the queues information in JSON. We have a Python application Which makes SEMP V2 GET call to get all these queue information. Is it okay to issue concurrent SEMP v2 GET calls to the appliance ? I believe appliance will process the API call one after the other. We…
-
How to know total number of Endpoints are present in msgVpn via SEMP V2 ?
Is there any way to query(SEMP V2) to get: 1) Total number(count) of queues in a given msgVpn? 2) Total number of subscriptionTopics in a queue? 3) Total number of TopicEndpoints in a given msgVpn?
-
How to use where condition in SEMP V2 for subcripticTopics?
http://xx.x.xx.x/SEMP/v2/config/msgVpns/xxxxx-xxxx-xx/queues/xxx_xxx_xxx_Xxxx/subscriptions?where=subscriptionTopic==SLOG//* --> 400 error -->Cannot query an ancestor http://xx.x.xx.x/SEMP/v2/config/msgVpns/xxxxx-xxxx-xx/queues/xxx_xxx_xxx_Xxxx/subscriptions?where=subscriptionTopic==#SLOG// -->200 but empty response…
-
SEMP v2- get if any one of the condition (where parameter) is true
http://applianceIP/SEMP/v2/monitor/msgVpns?where=eventConnectionCountThreshold.clearPercent!=40,eventIngressMsgRateThreshold.clearValue==300,enabled==true&select=msgVpnName In the above example, i am getting the results if all conditions are true/satisfied. But is there any way to get if any one or more conditions are true?
-
How to host solace semp swagger ui on a linux machine?
I have downloaded the solace semp v2 spec file from www.solace.com. I would like to host the UI on my Linux server using this spec file. How can I achieve this? Please let me know what needs to be done and what I need to accomplish this?
-
SEMP : Can I get messages from a Queue or a topic with curl?
How do I get the actual messages from a Queue or a topic with the SEMP API? I used the SEMP (Action) documentation https://docs.solace.com/API-Developer-Online-Ref-Documentation/swagger-ui/action/index.html#/queue/getMsgVpnQueueMsgs and used this GET command to get messages from a queue. curl -X GET -u user:password…
-
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…
-
Configuring DMR using SEMPv2
In this dev.to blog I describe how to set up or join DMR clusters and establish links between brokers using the PubSub+ broker's REST based SEMPv2 API. Two postman collections illustrate how to create and tear down a DMR connection.
-
Solace SEMP command
I am using below SEMP command to query solace queue stats and details. But I see that the GET query is returning only some queues Information. I have 28 queues and I see only 10 queues in the output. https://mrred2imhn.messaging.solace.cloud:20718/SEMP/v2/monitor/msgVpns/msgvpn-red52825/queues
-
Provision your VPN with Infrastructure as Code manner
Hi Guys, I've built a tool for myself to easily backup and provision the VPN. The basic idea is to recursively GET all config from a VPN and write it down into a single JSON file, and you can do it reversely to provision the VPN (event after you modified the JSON file). Please access https://github.com/flyisland/sempv2 to…