-
arm64 on Linux
Hi, I'm exploring migration to arm64 architecture atm, but as soon as I publish my app for linux-musl-arm64 architecture and try to run it in Docker container based on Alpine 3.1 memory usage goes to 100% and container being killed by runtime. When switched back to x64 same code runs fine. Is Alpine supported at all for…
-
Number of Unacknowledged Messages
Hello All, I am trying to clean up the shutdown of my service, and delay it until all messages have been processed. I call the Stop() method on all of my IFlows, but I then want it to wait until the number of Unacknowledged messages drops to 0. I can see in the console the number of unacknowledged messages on the consumer,…
-
In the .NET API, why isn't the `CorrelationKey` set on the `RejectedMessageError`?
I have an application with messages sent to Persistent and a session event handler checking for SessionEvent.RejectedMessageErrorstatuses. I wan to add some special handling logic for the scenario where a persistent message is too large (>30MB), but for some reason the SessionEventArgs.CorrelationKey is always null,…
-
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…
-
Any tricks to speed up Commit() using an ITransactedSession in C#?
This question follows on from this discussion : The objective here is to… publish guaranteed messages, and be certain that the broker receives them in the order in which they were generated so that re-ordering does not have to be done on the subscriber side (for reasons summarised in the linked thread), and Avoid…
-
Could not load file or assembly 'SolaceSystems.Solclient.Messaging, Version=10.23.0.0 in container.
Hi Thank you Solace team - I was very excited with the release of version 10.23, as this now supports the Mac series M processors. I am now able to build event driven dotnet applications on my Mac M2, using rider, without issues. However, when dockerizing these applications & running the container locally on my M2, I still…
-
NLog reference in Solace.Messaging.Trace.Propagation
Hi, you are referencing directly NLog 5.2.0 in Solace.Messaging.Trace.Propagation .NET package and using its type Logger as a base type for SolLogger. Any chance to remove NLog dependency and use ILogger instead? Problem is that we cant link it because we use different version of NLog and in general it is good practice to…
-
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 ?
-
Now Available: PubSub+ Messaging API for .NET & JavaRTO with Mac M-series Support
I am pleased to announce that as of the latest release of both our .NET (v. 10.23.0) and JavaRTO (v. 10.6.0) APIs, they now support Mac M-series processor so developers can now use these APIs when developing applications on the latest Mac hardware. They can be downloaded through all the regular channels such as: Solace…
-
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…
-
How to keep the queue consumer flow open?
Hi everyone, I have actually a bunch of questions, hopefully it's okay to ask here :) How to keep the queue consumer flow open? Example Consumer provided here (https://tutorials.solace.dev/dotnet/persistence-with-queues/) gets messages only currently on the queue and closes immediately after that. How to keep the flow open…
-
.NET - Enforcing Queue to Respect Message Priority
Hello everyone, I am trying to implement a simple PoC solution to check whether Solace PubSub+ will be appropriate for my company. All went fine to the moment I wanted to use priority messaging. I would like to 1. create a queue from .NET 2. assign Priority to messages 3. enforce the queue to respect message priority…
-
.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.
-
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…