Petals-SE-POJO 2.7.0+

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

Changes (2)

View Page History
{warning}This version must be installed on [Petals ESB 5.3.0|petalsesb530:Petals ESB 5.3.0]+{warning}

{warning}Previous service units are no more compliant with this component version and must be migrated.{warning}

h1. Exposing a Java class as a POJO service (Provides mode)


{include:0 CDK SE Business Monitoring Flow Tracing Propagation 5.8.0}

h1. Migrating service units developped for previous version

As constraints on POJO class have changed with this new version of the Petals SE POJO, service units developped for previous versions must be updated with new POJO APIs.

Only one API has changed:
{code}
onExchange(Exchange exchange, AbstractJBIListener jbiLIstener)
{code}
that is becommed:
{code}
onExchange(Exchange exchange, Optional<Boolean> currentFlowTracingActivation, AbstractJBIListener jbiLIstener)
{code}

So you can migrate your POJO classes adding the new parameter '{{currentFlowTracingActivation}}' to the API '{{onExchange(...)}}'.