How do we handle below flow, when it terminates (may be server dies while one of the transformation was in progress)?
@Bean
public IntegrationFlow sampleFlow() {
return IntegrationFlows.from(httpAdapters.pushInbound())
.transform(transformer1)
.transform(transformer2)
.handle(messageHandler1)
.get();
}
Is there any way, that when we restart the springboot application that the flow continues from where it left off? What is the best way to go about it?
Given that, we are trying to push data from system1 -> system2. And that system 1 does a rest api call (http call) to the spring integration.