Ends in:
3 DAYS
0 HR
3 MIN
57 SEC
Ends in:
3 D
0 H
3 M
57 S

Microservice Solution: Background Jobs

You must have an ABP Business or a higher license to be able to create a microservice solution.

Background jobs are long-running tasks executed in the background. They handle tasks that don't need to be performed immediately and can be delayed. The ABP Framework includes a system for creating and running these tasks in your application. You can learn more in the Background Jobs document.

In the microservice solution template, RabbitMQ is used as the message broker to manage these tasks. The functionality is implemented in the Volo.Abp.BackgroundJobs.RabbitMQ package, which provides the necessary implementations to create and execute jobs using RabbitMQ. This setup is integrated into the microservice solution template and is used in microservice projects. You can change the RabbitMQ configuration in the appsettings.json file of the related project. The default configuration is as follows:

"RabbitMQ": {
  "Connections": {
    "Default": {
      "HostName": "localhost"
    }
  },
  "EventBus": {
    "ClientName": "ProjectName_MicroserviceName",
    "ExchangeName": "ProjectName"
  }
}

Additionally, there is docker-compose configuration for RabbitMQ in the docker-compose.yml file and helm chart configuration in the etc/helm folder.


Contributors


Last updated: July 31, 2024 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More