org.apache.ode.bpel.engine.migration

## Class CorrelationKeySetDataMigration

- java.lang.Object
- - org.apache.ode.bpel.engine.migration.CorrelationKeySetDataMigration

- All Implemented Interfaces:
    Migration

      public class CorrelationKeySetDataMigration
      extends java.lang.Object
      implements Migration

  Changes the scheme of the correlation key value in the routes to use @2[...]

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CorrelationKeySetDataMigration()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `migrate(java.util.Set<BpelProcess> registeredProcesses, BpelDAOConnection connection)` All database migrations are run in the same transaction so if one fails, they will all be rollbacked.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CorrelationKeySetDataMigration

          public CorrelationKeySetDataMigration()

  - ### Method Detail

    - #### migrate

          public boolean migrate(java.util.Set<BpelProcess> registeredProcesses,
                        BpelDAOConnection connection)

      Description copied from interface: `Migration`
      All database migrations are run in the same transaction so if one fails, they will all be rollbacked. There are two ways to fail: either return false or throw an exception. The difference is that throwing an exception will stop the server startup whereas returning false will let the server continue its starting cycle and run on the non-migrated data.
      Specified by:
        `migrate` in interface `Migration`