Petals SE Flowable

Consumer timeout definition not used

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.0.1
  • Component/s: Configuration
  • Security Level: Public
  • Description:
    Hide

    The value of the consumer timeout defined into the JBI descriptor is not used calling the associated service provider.

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

    Only the default timeout (30s) is used.

    Show
    The value of the consumer timeout defined into the JBI descriptor is not used calling the associated service provider.
    <jbi:consumes
               interface-name="tdt-helios-generique:TDT-HeliosGenerique"
               service-name="tdt-helios-generique:TDT-HeliosGenerique-Service">
             <cdk:mep>InOut</cdk:mep>
             <cdk:operation>tdt-helios-generique:creer</cdk:operation>
             <cdk:timeout>360000</cdk:timeout>
          </jbi:consumes>
    Only the default timeout (30s) is used.
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Wed, 24 Jan 2018 - 12:08:12 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Wed, 24 Jan 2018 - 12:08:14 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Wed, 24 Jan 2018 - 12:10:10 +0100
Link This issue depends on PETALSCDK-186 [ PETALSCDK-186 ]
Hide
Christophe DENEUX added a comment - Wed, 24 Jan 2018 - 12:17:10 +0100 - edited

Several problems occurs here:

  • the timeout value defined is not used,
  • and, no error is returned to Flowable in case of timeout invoking an InOut service provider: when the timeout occurs, nothing is returned to Flowable throw CXF, we should return an error,
  • if the timeout is defined upper than 1 minute, a default timeout is fired at CXF level after 1 min. The CXF timeout must be aligned with the service consumer timeout.
Show
Christophe DENEUX added a comment - Wed, 24 Jan 2018 - 12:17:10 +0100 - edited Several problems occurs here:
  • the timeout value defined is not used,
  • and, no error is returned to Flowable in case of timeout invoking an InOut service provider: when the timeout occurs, nothing is returned to Flowable throw CXF, we should return an error,
  • if the timeout is defined upper than 1 minute, a default timeout is fired at CXF level after 1 min. The CXF timeout must be aligned with the service consumer timeout.
Hide
Christophe DENEUX added a comment - Thu, 25 Jan 2018 - 15:19:22 +0100

Fixed in master branch

Show
Christophe DENEUX added a comment - Thu, 25 Jan 2018 - 15:19:22 +0100 Fixed in master branch
Christophe DENEUX made changes - Thu, 25 Jan 2018 - 15:19:22 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.0.1 [ 10772 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
7m 13s
1
Christophe DENEUX
Wed, 24 Jan 2018 - 12:08:12 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Wed, 24 Jan 2018 - 12:08:14 +0100
In Progress In Progress Resolved Resolved
1d 3h 11m
1
Christophe DENEUX
Thu, 25 Jan 2018 - 15:19:22 +0100



People

Dates

  • Created:
    Wed, 24 Jan 2018 - 12:00:59 +0100
    Updated:
    Thu, 25 Jan 2018 - 15:19:22 +0100
    Resolved:
    Thu, 25 Jan 2018 - 15:19:22 +0100