Petals BC SQL

Remove redundant thread pool in the SQL component

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.6.2
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    There is a thread pool inside the SQL BC used to decorrelate execution of SQL queries and send of the JBI answer.

    When it was introduced, the idea was that we could send the JBI exchange even before the response was built because it was in the form of a stream that was put inside a StreamSource.
    But since PETALSESBCONT-327, sources are transformed to a re-readable source, so it must be read when it is set on the exchange which remove any reason for decorrelating sending and building the answer.

    Furthermore, this introduce complexity and redundancy with respect to the CDK thread pool that is already here to handle this kind of situation.

    Show
    There is a thread pool inside the SQL BC used to decorrelate execution of SQL queries and send of the JBI answer. When it was introduced, the idea was that we could send the JBI exchange even before the response was built because it was in the form of a stream that was put inside a StreamSource. But since PETALSESBCONT-327, sources are transformed to a re-readable source, so it must be read when it is set on the exchange which remove any reason for decorrelating sending and building the answer. Furthermore, this introduce complexity and redundancy with respect to the CDK thread pool that is already here to handle this kind of situation.
  • Environment:
    -

Activity

Victor NOËL made changes - Mon, 23 May 2016 - 16:14:00 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Mon, 23 May 2016 - 16:14:04 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Mon, 23 May 2016 - 16:16:37 +0200
Fix Version/s 1.6.2 [ 10651 ]
Victor NOËL made changes - Tue, 24 May 2016 - 15:29:57 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Mon, 23 May 2016 - 16:13:53 +0200
    Updated:
    Tue, 24 May 2016 - 15:29:57 +0200
    Resolved:
    Tue, 24 May 2016 - 15:29:57 +0200