|
|
@ -3,8 +3,8 @@ |
|
|
|
using BuildingBlocks.EventBus.Events; |
|
|
|
|
|
|
|
// Integration Events notes:
|
|
|
|
// An Event is “something that has happened in the past”, therefore its name has to be
|
|
|
|
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
|
|
|
|
// An Event is “something that has happened in the past”, therefore its name has to be past tense
|
|
|
|
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
|
|
|
|
public class ProductPriceChangedIntegrationEvent : IntegrationEvent |
|
|
|
{ |
|
|
|
public int ProductId { get; private set; } |
|
|
@ -20,4 +20,4 @@ |
|
|
|
OldPrice = oldPrice; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |