Petals-SE-Camel 1.4.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History

{warning}This version must be installed on [Petals ESB 5.4.0|petalsesb540:Petals ESB 5.4.0]+{warning}

{warning}Previous service units are no more compliant with this component version and must be migrated. See [Migrating service units developed for previous versions|#migrationguide]{warning}

{column}

h1. Migration guide

h2. Migrating service units developed for previous versions

To be deployed on this version of the Petals SE Camel, the Petals SE Camel service units must be migrated. Please follow the following chapters to know which changes must be applied.

h23. From 1.3.x to 1.4.x

Please apply the following changes in your Petals SE Camel service unit to migrate them from Petals SE Camel 1.3.x to Petals SE Camel 1.4.x:
*** ...
** the API {{MarshallingHelper.unmarshal(Message, Class<T>)}} has moved to {{MarshallingHelper.unmarshal(Exchange, Class<T>)}},
** Placeholders are no more defined through {{Properties}} but through {{Placeholders}},
** to generate your beans from an XSD or WSDL definition, use the Maven plugin '{{org.patrodyne.jvnet:hisrc-higherjaxb-maven-plugin}}' instead of '{{org.jvnet.jaxb2.maven2:maven-jaxb2-plugin}}',
* in your unit tests:
** the assertion '{{assertMockEndpointsSatisfied}}' is replaced by '{{assertIsSatisfied}}'.

h23. From 1.2.x to 1.3.x

Please apply the following changes in your Petals SE Camel service unit to migrate them from Petals SE Camel 1.2.x to Petals SE Camel 1.3.x:
* in your route definitions and unit tests:
** Placeholders are no more defined through {{Properties}} but through {{Placeholders}},
** the Petals SE Camel JUnit Framework package has been changed to '{{org.ow2.petals.se.camel.junit}}' instead of '{{org.ow2.petals.camel.junit}}'.