[ https://issues.apache.org/jira/browse/ODE-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676738#action_12676738 ]
Tammo van Lessen commented on ODE-483: -------------------------------------- Sound very interesting. However, my gut feeling is that just considering the communication part of processes it not sufficient in all cases. How does it work with long-running processes? Let's think of the following example (pseudo BPEL): <sequence> <receive operation="x" variable="v" createInstance="yes"/> <wait for="3yrs"/> <reply operation="x" variable="v"/> </sequence> What happens if I try to migrate the process after 2 years? > Add serialize/deserialize process instances in Management API > ------------------------------------------------------------- > > Key: ODE-483 > URL: https://issues.apache.org/jira/browse/ODE-483 > Project: ODE > Issue Type: New Feature > Affects Versions: Wishlist > Reporter: Rafal Rusin > Fix For: Wishlist > > Attachments: replayer.diff > > > Imagine situation when client has deployed a process with a lot of active, > long running instances. Then he finds there's a bug in this process and a > simple bugfix is needed. But with current versioning rules, new version is > only used when new instances are created. So there's no simple way for doing > such bufixes (which are usually possible with eg. java application using > database connection). It is a blocking argument for deploying ODE Bpel > solution instead of a regular java application. > I think the best way to deal with such situations is to add > serialize/deserialize to/from xml operations for process instances in > management API. Also pause/resume ODE operations would be useful. > Then, a bugfix procedure would look like this; > -pause ode > -serialize instances > -deploy newer version > -deserialize instances and fix manually any import errors > -resume ODE > It would also be a benefit of being able to do migration from older to newer > ODE and between Hibernate/JPA DAOs, which I saw already in some bug reports. > What do you think about it? > Regards -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.