Questions tagged [saga]

A pattern that enables a service bus to deal with long-running processes, fault tolerance and scalability.

Long-running business processes exist in many systems. Whether the steps are automated, manual, or a combination, effective handling of these processes is critical.

NServiceBus employs event-driven architectural principles to bake fault-tolerance and scalability into these processes.

The Saga is a pattern that addresses these challenges uncovered by the relational database community years ago, packaged in NServiceBus for ease of use by developers.

MassTransit supports sagas, and Automatonymous is a saga implementation built on top of MassTransit.

497 questions
0
votes
1 answer

How to get my saga finder to execute?

I have a sager finder that looks as follow and I put a break point on the first line of the Findby method, but it never seem to execute. Is there something else that I need to do? public class MySagaFinder :…
Alwyn
  • 8,079
  • 12
  • 59
  • 107
0
votes
1 answer

MassTransit RuntimeServices RabbitMQ - Integrate it with NuGet MassTransit Installation?

I have a ASP.NET project that utilizes MassTransit and RabbitMQ for a messaging bus, and I'm trying to implement MassTransit Sagas and I want to use the ScheduleTimeout abilities of a Saga, which requires MassTransit.RuntimeServices…
Robby Cohen
  • 497
  • 6
  • 21
0
votes
1 answer

Nservice bus sagas implemetation

I have a nservice bus project which which i will call connector. My connector receives variouis kinds of messages for example ClientChangeMessage, ClientContactChangeMessage. My connector has not implemented saga so i have handler for each message…
sagar
  • 177
  • 3
  • 19
0
votes
2 answers

Error: Can find module RSAGA

I'm trying to execute module for Channel networks in RSAGA but when I run this part of code: rsaga.geoprocessor(lib="ta_channels", module=5, param=list(DEM=paste("DEM", i, ".sgrd", sep=""), DIRECTION=paste("FlowDirection", i, ".sgrd", sep=""),…
Vis
  • 299
  • 1
  • 6
  • 16
0
votes
1 answer

How does nservicebus saga holds the data when using timeouts and when firing up after the timeout how does it maintains the correlation

I have got saga and due to some requirement we need to process the messages further down with a delay. I am thinking of using the timeout. I was wondering how would saga come to know which message next to process and how do it correlates..
Miral
  • 5,968
  • 16
  • 57
  • 85
0
votes
1 answer

Document Processing - a case for a Saga?

Part of the application I am working on involves the download of emails containing attachments, detecting a barcode in each attachment, scanning it for an identifier and using the identifier to insert data into a database. So far my usage of message…
Ben Foster
  • 34,340
  • 40
  • 176
  • 285
0
votes
1 answer

nservicebus saga long running process

I have a long running process with four steps. S1, S2, S3, S4. S2 and S3 are running sequential, S1 can run parallel to S2. S4 can run parallel to S1, S2 and S3. Not all processes need to run through all steps. Some only need S2 and S3. Others…
user887983
0
votes
1 answer

Triggering an NServiceBus Saga Handler after and Extended Period of Inactivity

I have a long running business process (weeks, not minutes). The start of the process is triggered by a user's action. The problem I have is that the next step in the saga will come from one of two places, either a second user interaction, or if…
ilivewithian
  • 19,476
  • 19
  • 103
  • 165
0
votes
2 answers

Are orchestration services unfit to implement a workflow process?

i'm facing with a problem during the implementation of a workflow process with nservicebus, i use version 2.0.1329.2 and the workflow i'm trying to implement is quite simple: I have a List of articles that need to be computed, the workflow starts…
Riccardo
  • 1,490
  • 2
  • 12
  • 22
0
votes
2 answers

Events changing state in CQRS

This should be easy to follow, but after some reading I still can find an answer. So, say that the user needs to change his mobile number, to accomplished that, we might have a command as: ChangedUserMobileNumber holding the new number. The domain…
MeTitus
  • 3,390
  • 2
  • 25
  • 49
0
votes
1 answer

Accessing different bounded context data from saga

I created a saga with NServiceBus that request external service for customer's information and make timeout. After timeout expire that saga check if external service has response. In response I have data of corresponding customers and now I have…
0
votes
1 answer

Multiple saga mapping of a single message

I need to map one message to multiple saga instances. how can i do it? i thought to an utility service that receives that message and sends copies of it to all saga instances. But this solution requires the knowledge from this service of all…
Riccardo
  • 1,490
  • 2
  • 12
  • 22
-1
votes
0 answers

Network tab response is matched with whatever i have consoled in saga file

Whatever the response we get from backend what we see in network tab is matched with the console what i have done in saga file only sometimes csv data what we get from backend is mismatched. In network tab we are getting it properly but in saga file…
-1
votes
1 answer

AxonIQ AxonFramework MongoEventStorageEngine framework table creation on business DB

I am using AxonIQ AxonFramework version 4.5.3 with Spring Boot and custom event store. I'm using MongoEventStorageEngine and configured a separate MongoDB database for the EventStorage. I am doing some business logic with my business database…
-1
votes
1 answer

ActiveMQ feature similar to MassTransit Saga

Is there any alternative to MassTransit Saga feature in ActiveMQ? As a student, I've learned MassTransit and now I want to learn ActiveMQ by analogy..
borovsky
  • 873
  • 1
  • 9
  • 15
1 2 3
33
34