Petals ESB Container

Remove useless contextual (related to flow attributes) exchange builder

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.2.4
  • Fix Version/s: 5.0.0
  • Component/s: Logging
  • Security Level: Public
  • Description:
    Hide

    Currently, flow attributes are initialised in a new exchange in the implementation of the MessageExchangeFactory present in the container (petals-message-exchange).
    Since most of the work around flow attributes is actually done in the CDK, it would be more coherent to move this initialisation in the CDK (at exchange creation).

    Note:

    • There is code responsibility: for now flow attributes things are implemented in petals-log, petals-commons-log and petals-cdk-steplog
    • There runtime responsibility: for now flow attributes are initialised in messages in the container, and manipulated (transferred from message to execution context) in the CDK

    This issue concerns the second point.

    This implies that the complex architecture with the ContextualMessageExchangeImplBuilder and AbstractContextualMessageExchangeFactory is not needed anymore and can be removed.

    See also PETALSCDK-129.

    Show
    Currently, flow attributes are initialised in a new exchange in the implementation of the MessageExchangeFactory present in the container (petals-message-exchange). Since most of the work around flow attributes is actually done in the CDK, it would be more coherent to move this initialisation in the CDK (at exchange creation). Note:
    • There is code responsibility: for now flow attributes things are implemented in petals-log, petals-commons-log and petals-cdk-steplog
    • There runtime responsibility: for now flow attributes are initialised in messages in the container, and manipulated (transferred from message to execution context) in the CDK
    This issue concerns the second point. This implies that the complex architecture with the ContextualMessageExchangeImplBuilder and AbstractContextualMessageExchangeFactory is not needed anymore and can be removed. See also PETALSCDK-129.
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Thu, 23 Apr 2015 - 10:02:34 +0200
    Updated:
    Thu, 28 May 2015 - 12:39:40 +0200
    Resolved:
    Thu, 28 May 2015 - 12:39:40 +0200