Petals SE POJO

Concurrent processings of a service provider are not stable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.4.1
  • Fix Version/s: 2.5.0, 2.6.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    The concurrent processing of a service provider is not stable. It is due to the actual POJO design that is not stateless:

    • only one instance of POJO is loaded on SU deployment,
    • on each message processing, the JBI listener is set on the POJO.
      If several processing are concurrent, the JBI listener is changed, and strange problems can occur.

    The JBI listener must be set as parameter on POJO methods called to process messages.

    SU developped with previous versions of the SE POJO will not be compatible with the new one.

    Show
    The concurrent processing of a service provider is not stable. It is due to the actual POJO design that is not stateless:
    • only one instance of POJO is loaded on SU deployment,
    • on each message processing, the JBI listener is set on the POJO. If several processing are concurrent, the JBI listener is changed, and strange problems can occur.
    The JBI listener must be set as parameter on POJO methods called to process messages. SU developped with previous versions of the SE POJO will not be compatible with the new one.
  • Environment:
    -

Activity

People

Dates

  • Created:
    Tue, 23 May 2017 - 12:37:56 +0200
    Updated:
    Mon, 23 Apr 2018 - 12:40:53 +0200
    Resolved:
    Mon, 23 Apr 2018 - 12:40:43 +0200