-
C# - Solace Queue Message not reading and missing sometime
I have referred sample code provided by the Solace team for implemented Pub/Sub Queue message (https://github.com/SolaceSamples/solace-samples-dotnet) Sample code is implemented part of Microsoft .Net 6 Worker service and scheduled to run every 30 mins. I am facing new issue and i really don't know what went wrong in my…
-
SolaceSystems.Solclient.Messaging is not working in MAC M1
SolaceSystems.Solclient.Messaging dll is unrecognizable in mac M1 , what can be done ? when arm support will be added to DOTNET dlls......... ? All our development activities are paused in all applications due to it , can we make a quick fix ?
-
.net sdk writing directly to solcache
Is there a method of writing messages directly to topics stored in solcache without current subscribers receiving the message. Wondering if message filters is the best method of doing this.
-
C# library is allocation heavy on the Send() for message arrays, any chance for improvement?
I have market data app that uses 3rd party C++ library that I wrapped in native C interface and I'm using it in C# app. I exchange memory between native and managed with zero allocations and copies using all the latest and greatest stuff C# has to offer at .NET 6 level. But Solace C# client library is lighting up my…
-
Set ApplicationMessageType via REST API?
I rely on the ApplicationMessageType property to map received events back to the POCOs that they were generated from. I am publishing events from a Blazor WASM application, and can't use the SolaceSystems NuGet package since it won't run in a WASM environment. Thus, I'm using an HttpClient with the REST API. I've looked…
-
I am unable to Publish a message to Solace broker via AMQP in .Net
Hello Team Solace is running in my windows10 docker and i have configured to use 5670 port for AMQP. when i try to connect without user name and password amqp://localhost:5670 it will connect but not able to send the message error i am getting is "Amqp.AmqpException: 'The transport 'TcpTransport' is closed.'". if i connect…
-
Subscribe to direct messages with RequestConfirm and correlationKey (.NET)
Hi, I'm using .NET. I would like to subscribe to direct messages. I have set session property SubscribeBlocking to false. I plan to use TaskCompletionSource as correlationKey and complete it when handling SubscriptionOk or SubscriptionError. Unfortunately I can't find suitable overload of ISession.Subscribe. There are 3…
-
.Net integration using .pem certificate
Hello, I'm looking for some help on how to import .pem certificate and use it .Net code. Any help or sample implementation for reference will be appreciated.
-
ITransactedSession in .Net
Is there any sample on how ITransactedSession work in .Net with Confirm Delivery (Acknowledged) ? Is CreateFlow require when work on Producer and how its Acknowledgement work within a commit?
-
C# .net integration getting error Failed to create session
I follow the instruction in this tutorial: https://solace.com/samples/solace-samples-dotnet/publish-subscribe/ Getting error (SOLCLIENT_FAIL - Failed to create session) when create session and connect how to reproduce: * Create Solace Cloud free plan * Pub/Sub using Secured SMF URI with (host, vpn, username, password)…
-
Solace health checks
Hi, I'm currently implementing health checks endpoints for my Asp.Net Core services. Most of them are connected to Solace, so I'd like to have one of the health checks to check if service can be connected to VPN. What would be the best/"cheap" way of doing this? Creating Solace Session each time and trying to connect? My…
-
AMQPS with Client Certificates using .Net and Docker Container
Hi Team, I am trying to send message using AMQPS protocol and also along with this using client certificate for client authentication. With the below code, I am able to send the message to solace broker. However, after disabling the Basic Authentication and enabling Client Authentication, the message send fails with the…
-
Native C# Client for Web Sockets
Hi all! I need to connect via WebSockets to an on-prem Solace Broker from my native app (UWP written in C#). I also need to add I the Connect() HTTP request a specific HTTP Header "Authorization" with a Bearer token that I generate in the app. I cannot see a way to configure the Solace C# SDK to perform such a custom…
-
BinaryFormatter exception in .Net 5
Hi, after migrating project to .Net 5 we started to get this error: System.NotSupportedException: BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information. at…
-
.NET application connection issue with Solace appliance Solace PubSub+ 3560
.Net framework : 4.5 SolaceSystems.Solclient.Messaging_64 : 10.6.0 Windows Server : 2016 Standard the client can connect to solace and publish message but some times they get connection error. from SSL debug log it looks like some client hello issue but not conclusive as it doesnt happen always. both failure and success…
-
How to integrate unity3d and Solace pubsub?
Hi I am very happy that I can join to your community. Since some months ago I was working with solace pub sub+ and now I want to integrate Solace to unity3d for publishing messages from unity to Solace I didn't have any problem but to receive data from Solace and using unity as a subscriber I had lots of problem and I…
-
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…
-
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…
-
Pattern for handling RejectedMessageError events with guaranteed messages?
Suppose I am publishing guaranteed messages. I want to ensure messages are guaranteed-in-order with at-least-once-delivery all the way from the publisher which is generating the message data, to the subscribers consuming that data. On the publisher side, I can ensure that messages have made it to the appliance by listening…
-
.NET - Context.Init throws exception when used with dependency injecetion
Hi! I am trying to setup a .NET Framework 4.7.2 application for publishing to an Solace Event Broker. I have made a class with the role to configure and contain the SolaceContext and provide it whenever I'd like to create a session to publish a message. public class SolaceContextContainer : ISolaceContextContainer {…
-
High Availability client configuration properties to load balance from the client end
Hi All, I have a question. What are configuration properties are required to achieve High Availablity like load balancing from the client SDK's sides? For examples: .NET ,Node js, Javascript, python, c etc... the configuration, I mean reconnection strategies and auto-switch between servers. can any one describe proper…
-
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.…