Questions tagged [nservicebus7]

5 questions
1
vote
1 answer

How to get message session/endpoint with generic host?

I'm running a few NServiceBus endpoints that are built using the generic host configuration (https://docs.particular.net/samples/hosting/generic-host/). These endpoints run in Docker containers. Now, I want to schedule a message (with hangfire).…
Leon Cullens
  • 12,276
  • 10
  • 51
  • 85
1
vote
1 answer

Using a NServicebus saga to serialize execution of long-running endpoint handlers

We're am trying to serialize processing of a list of business objects using a Saga. Right now, without a Saga, we simply loop through a list of objects, and fire off a bus.Send(new ProcessBusinessObejct(obj)) async to have handlers execute. So the…
John
  • 3,591
  • 8
  • 44
  • 72
1
vote
1 answer

SqlServer Transport for NServiceBus 7 shows chinese characters in message body column

We updated to NSB 7 and now use Sql Server for the transport and persistence. (Side note: this works after updating a lot of messages, because somehow they became incompatible as the serializer was changed from Newtonsoft.Json to…
John
  • 3,591
  • 8
  • 44
  • 72
0
votes
1 answer

How to improve the performance of my NServiceBus Saga under load

I have a very simple Saga built with NSB7 using SQL Transport and NHibernate persistence. The Saga listens on a queue and for each message received runs through 4 handlers. These are called in a sequential order, with 2 handlers run in parallel and…
0
votes
1 answer

NServiceBus 7 - How to send multiple consecutive requests?

I am trying to make multiple consecutive requests using NServiceBus and RabbitMQ. Here is my code class Program { static void Main(string[] args) { MainAsync().GetAwaiter().GetResult(); } static async…
EduardoCMB
  • 392
  • 2
  • 17