-
Topic Naming Validation via Regex
Hi Solace Community, I wonder if anyone else before had the need to validate topic names (including wildcards), for example in CI/CD pipelines. Because I couldn't find anything, I've tried myself to assemble a regex that validates the general structure of topic names. By no means I feel like it's perfect, however at least…
-
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…
-
Pub-sub with multiple consumers having offline capabilities
Hi, We have an application running with multiple instances and consuming from a solace queue. We want all the instances to receive messages. Currently, only one of them receives messages. The instances can be scaled up and down dynamically and if one of them is offline, they should be able to receive messages after coming…
-
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) -> { //...…
-
Consume messages from queue thru topic subscriptions
We have a publisher publishing messages to topics which are then spooled in a durable queue [endpoint] for guaranteed delivery, with several topic subscriptions for various subscribers. In our tests, the subscriber application acknowledgements do not seem to have any effect on the messages persisted in the queue; only a…
-
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:…
-
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.
-
Consume from Durable Topic Endpoint using JCSMP
I want to subscribe to a Durable Topic endpoint. I am able to subscribe to the direct topic. But my program is not working to when I try to subscribe from DTE. Program: final JCSMPProperties properties = new JCSMPProperties(); properties.setProperty(JCSMPProperties.HOST, host); // host:port…
-
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…
-
Subscription concurrency to speed up data consumption
Hi, In solace I pre-configured a Non-exclusive queue and now trying to consume data in spring cloud steam app , by providing spring.cloud.stream.bindings.fn-name.consumer.concurrency=4 , In logs i can see it's trying to start four subscriber but all four are getting timed out. If we make this number as 1 or remove this…
-
Solace Topic Endpoint - Non exclusive, Guaranteed delivery
Hi , I want to create a topic endpoint which will allow message persistence in the topic endpoint , allow multiple consumers and assures guaranteed delivery of messages. Topic endpoint will be subscribed only to one topic I am planning to create durable topic endpoint for the same. Is this the right approach? As per the…
-
Levels for naming topic/queue names
Is it always required to provide pattern of all 4 levels when we create a solace topic?
-
Dynamic Queues
Hi All, How to disable dynamic Queue creation feature in Solace
-
Extract Topic Name from Java Beam pipeline
I am using java beam pipeline and want to extract topic name from solace. But I am not getting any such function or anything to do the same.
-
Magic hidden Solace topic subscription wildcards
Hi everyone! Hopefully you know all about Solace's different subscription wildcards that consumer/subscriber applications can use to match multiple topics: * The * wildcard is a single-level wildcard, and can be used with a prefix: e.g. hello/wo* * The > wildcard is a multi-level wildcard, must occur at the very end of a…
-
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
-
Microservices - approaches to multiple container instance -> single event consumption
Hi all, I would like to ask your opinion on a microservice use-case, and what would be the best approach to tackle it. The Context Let's say you have 10 microservices, each one implementing a given bounded-context, as per DDD. Each microservice is constantly publishing its own events so that the others who subscribe to…
-
How to setup the ack timer for guarantee messaging
Hi All, I am trying to implement the Solace exchange pattern called Topic to Queue Mapping (https://solace.com/samples/solace-samples-dotnet/topic-to-queue-mapping/), the architecture is 1 producer, 1 queue with 2 consumer (access type is non-exclusive). Considering the loading issue, I assume the consumer will not ack…
-
solace JNDI Connection error
Hi, Im trying to fetch a feed of data via a VPN connection. The VPN connection is successful , however the jumpstart kit based on solace when runs throws an error ( screenshot attached). Hence we are not able to receive the data feed.
-
What causes messages to go to Incoming Message Discards and how to prevent it
I have a producer calling send after invoking newTopicProducer. Send looks successful, but not seeing it arrive at the queue that is set up for that topic. Looking at the stats on the Solace UI, I just see the messages being discarded. Are there tools to see why the messages are being discarded?
-
REST Messaging
Hi Folks, Can we push messages from queue/topic to REST Endpoint? I'm pushing my application logs to Topic and now want to publish those logs to another log management system over REST endpoint.
-
Sample c example solClient_msg_getCorrelationTag
Hi, Can any one send the sample example for the correct usage of the correlation tag pointer API. solClient_msg_getCorrelationTag
-
What is Solace topic sequence ? Any use case example ?
What is Solace topic sequence ? Any use case example ? Why someone should use it !
-
Clarity needed on some core concepts
Q1) when i publish to a topic created at run time in code (using jms ) where does the message go since topic is part of message payload. The message arrives at NAB (first point of entry) , moves to TRB (topic routing blade), is it stored at some temporary storage to see if there is consumer who matches its destination?What…
-
Has anyone implemented wildcards with topic to queue mapping feature
I have one publisher and multiple consumers and using topic to queu mapping feature my topic name is JNDI/solacemule/countrycode (using jindi for mule-solace connection) I have created 2 queue(Q1 and Q2) which has topic subscription for /solacemule/countrycode and /solacemule/UK respectively. As I need filtering on base of…
-
Durable topic subscription
Hi, In JMS world, we can have a topic and while connecting to the topic we can mention from the subscriber end to be a "durable" or "nondurable" subscriber. However, on solace side, when I created a topic from CLI by default it provisions a "durable" topic it seems. How can I control subscription type from client side…
-
Solace-JMS Dynamic Subscriptions.
What would be the best option to subscribe & unsubscribe to Topics/Queues dynamically with solace-jms with out using @JMSListener? I could see a couple of options as listed below: I) Initiating JmsListenerContainerFactory for individual endpoints. ii) Making use of Connection instance to create JMS Session and having the…
-
Unable to Map Topic to Queue using C# Client API
I need to dynamically map Topic to queue through C# client API. I have followed every step that is written in https://solace.com/samples/solace-samples-dotnet/topic-to-queue-mapping/ and Github sample https://github.com/SolaceSamples/solace-samples-dotnet/blob/master/src/TopicToQueueMapping/TopicToQueueMapping.cs. However…