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

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

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