Petals-SE-Flowable 1.0.0+

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

Changes (3)

View Page History
# import the service contract of the Petals service provider into your service-unit project,
# define the Petals service provider address,
# create the associated service task.,
# configure the associated service consumer.

h2. Importing the service contract of the Petals service provider
{tip}

h2. Configuring the service consumer

The service consumer that invokes the service provider can be configured to adjust following parameters by operation:
* the message exchange pattern used: using MEP 'InOut' or 'RobustInOnly' forces the service task to wait the response of the service provider while MEP 'InOnly' ends the service provider without waiting the service provider acknowledgment,
* the timeout to apply on service invocation.

These configurations take place into the JBI desciptor of your Flowable service unit:
{code:xml}
<jbi:jbi ...>

<jbi:services binding-component="false">
<jbi:provides ...>
...
</jbi:provides>

<jbi:consumes
interface-name="ns:my-interface"
service-name="ns:my-service">
<cdk:mep>InOut</cdk:mep>
<cdk:operation>tdt-helios-generique:creer</cdk:operation>
<cdk:timeout>360000</cdk:timeout>
</jbi:consumes>

<jbi:consumes ...>
...
</jbi:consumes>
...

</jbi:services>
</jbi:jbi>
{code}

h1. Using the mode "integration"