-
Mechanics of guaranteed publish callbacks when using batched send
Suppose I am publishing guaranteed messages. I build a buffer of 50 messages and use the Send(IMessage[]...) method to send all of them at once. I have a few questions about message acknowledgement: 1. Will I receive 50 acknowledgement events, or just one? 2. If I receive 50, are they guaranteed to come back in the same…
-
.NET best practices for lifetimes/instancing of context/session?
We are looking to add Solace support for publishing/receiving from Solace Topics & Queues to our existing .NET C# codebase that already handles MSMQ and MQ. One thing that I have not come across in the documentation / examples is how we should be instancing the IContext and ISession - the code examples simply create one of…
-
Differences between JS and .NET sdk's?
Hello! I am currently using the JS and .NET sdk's to connect to and publish messages to a pub/sub+ instance. Initially, I was using the JS sdk and have had no problems publishing persistent messages to a topic and having a durable queue subscribed to that topic. The messages are getting properly sent and picked up by the…
-
NuGet .NET SDK missing 32-bit managed dll?
Hello! I have added SolaceSystems.Solclient.Messaging to my asp.net web api application via nuget. My app is running on an old version of IIS, which, as far as I can tell, requires apps to be 32-bit, as mine is/are. However, upon examination of the nuget Solace directory that was pulled down, none of the .net dll's appear…
-
.NET API to consume JMS?
I've been tasked with consuming messages from an established JMS. The sample code provided to me uses the Solace libraries. I'm more comfortable with C# than Java, so I'd prefer to use the .NET messaging API, if possible. Can I use the Solace .NET API to subscribe to the JMS queue and consume messages? I downloaded the…
-
Receive all unacknowledged messages using the .NET API
Are there any best practice recommendations to get all unacknowledged messages in a queue? The scenario I am thinking of is when messages are received by a client, but could not processed for what ever reason. The next time a new message is received on the queue, all the messages that are on the queue should be delivered…
-
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…
-
How to create ISubscription instance to be used by Session.CreateFlow method in .NET API
I am trying to create a subscriber for my durable topic endpoint in solace via .NET APIs. I have the below method where in I am trying to create a flow for my durable topic endpoint. I don't understand what is the need for ISubscription instance in the Session.CreateFlow method.…