Skip to content

Initialize

Domo42 edited this page Sep 15, 2013 · 6 revisions

Starting the saga lib

The lib is started using the provided builder class. It will use default implementations for things like persistence and timeouts if not specified otherwise. The build() method returns an instance ready to be used.

MessageStream msgStream = EventStreamBuilder.configure()
        .usingSagaProviderFactory(sagaProvider)
        .build();
Clone this wiki locally