PDA

View Full Version : ExpiredFlowCleanupFilter and callbacks



cnelson
Aug 4th, 2005, 12:27 PM
I noticed that the ExpiredFlowCleanupFilter doesn't invoke any of the callbacks when it cleans up expired flows. I would expect that the BillingFlowExecutionListener.sessionEnded(...) callback would be invoked, since the session is technically ending.

Is this intentional? If so, can you recommend a way to log expired flows?

Thanks!
Christian

klr8
Aug 4th, 2005, 01:16 PM
This is not intentional, but it's hard to implement in a deterministic way. Check the following JIRA issue for more information:
http://opensource.atlassian.com/projects/spring/browse/SWF-10

So in general there is currently no easy way to get notified when the filter expires a flow. Maybe you can implement something specific in your application that handles your use cases.

Erwin