Chris Richardson

Results 142 comments of Chris Richardson

Todo: * apt-get install cleanups, e.g. rm -rf /var/lib/apt/lists/* * Upgrading to later commit for the wal2json plugin

More information: ``` Hi, I was going to try out this link. https://github.com/eventuate-tram/eventuate-tram-examples-java-spring-todo-list and "./gradlew assemble" results in these errors: FAILURE: Build failed with an exception. * What went wrong:...

The bintray repository has gone away - the artifacts are now in Maven Central. Please use example instead; https://github.com/eventuate-tram/eventuate-tram-examples-customers-and-orders

Unclear why tests such as [this](https://github.com/eventuate-tram/eventuate-tram-sagas/blob/d6e4b3a6898d91e13ecc97053701f8b21ba0dcd1/orders-and-customers-spring/src/test/java/io/eventuate/examples/tram/sagas/ordersandcustomers/spring/integrationtests/OrdersAndCustomersIntegrationTest.java#L14-L13) pass but the service that's a saga participant fails. Presumably it's related to conditional autoconfiguration, e.g. `EventuateTramCommandsAutoConfigure`

The philosophy is that in general if a command handler throws exceptions then that indicates the presence of a bug (or a transient problem, such as out of memory) that...

Proposed design consists of additional Saga DSL methods: * `notifyParticipant()` * `withCompensationNotification()` ```java public class NotificationBasedCreateOrderSaga implements SimpleSaga { private final SagaDefinition sagaDefinition; public NotificationBasedCreateOrderSaga(NotificationBasedCreateOrderSagaSteps steps) { this.sagaDefinition = step()...

Various remaining TODOs - see `// TODO notifications` - [] Reactive Sagas - [] Endpoints that support notifications - [] conditional notifications

This is a great request. Currently, there is not a way to accomplish this. The solution is to implement the equivalent of `DomainEventNameMapping` for commands. [`DomainEventPublisherImpl` uses `DomainEventNameMapping`](https://github.com/eventuate-tram/eventuate-tram-core/blob/fa15d83def3599819befe99adff85d56b62c4e10/eventuate-tram-events/src/main/java/io/eventuate/tram/events/publisher/DomainEventPublisherImpl.java#L37) to translate...

- [ ] More overloaded `CommandHandlersBuilder` methods - [ ] Nested reactive command handlers

# Example command handler: Example [command handler](https://github.com/eventuate-tram/eventuate-tram-core/blob/6d921ba66ff48dc9a293314ef366d571a7922600/eventuate-tram-commands/src/test/java/io/eventuate/tram/commands/CommandDispatchingTests.java#L65-L66): ```java public void handleComplexCommand(CommandMessage cm, CommandReplyToken replyToken) { // save replyToken for later } ``` # Example of sending a reply later Use...