eventuate-tram / eventuate-tram-sagas-examples-customers-and-orders

Spring Boot/JPA microservices that use an orchestration-based saga to maintain data consistency
Other
531 stars 240 forks source link

Setting Partition ID when sending a command #17

Open khashish opened 4 years ago

khashish commented 4 years ago

I am not able to set the PARTITION_ID (or message headers in general) in a command that is sent to a saga participant. It seems that I could setup messageInterceptors and maybe update it there but it's kind of a workaround.

Is there a recommended way to do that?