Configuring saga through plain java

Hello,

I want to configure (subscribe) saga through plain java code. On the Saga Link i found how to create a saga and use it but the configuration is only given in spring. Does any one knows the simple java configuration for sagas.

There’s an example in the quickstart:

https://github.com/AxonFramework/AxonFramework/blob/master/quickstart/src/main/java/org/axonframework/quickstart/RunSaga.java