Petals CDK

Remove "FlowAttributes" extension from implementation of JBI specification

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 5.4.2
  • Fix Version/s: 5.5.0
  • Component/s: None
  • Security Level: Public
  • Description:

    See PETALSDISTRIB-120.

    This implies that CDK users can access this information from:

    • An Exchange (from the CDK) using the same method as before (getFlowAttributes).
    • A MessageExchange (from JBI) using properties.
  • Environment:
    -

Issue Links

Activity

Victor NOËL made changes - Fri, 10 Apr 2015 - 16:07:11 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Critical [ 2 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Fri, 10 Apr 2015 - 16:07:22 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Victor NOËL added a comment - Fri, 10 Apr 2015 - 16:08:14 +0200

Fixed in r37090.

Commit:
Removed FlowAttributes from the JBI Spec implem

  • petals-jbi does not depend on proprietary extensions anymore
  • Flow attributes are now stored as properties in the MessageExchange
    Notes:
  • It is not stored as a class member of MessageExchangeImpl in order
    to be able to retrieve it from anywhere even in wrapped messages.
  • They are stored as String and not as an object of type FlowAttributes
    because of JBI classloading issues (documented in code).
  • An utility class is introduced to ease access to it (FlowAttributesExchangeHelper) (in petals-commons-log)
  • No changes were made on how they are used, but future commits may change that
  • e.g. It is still initialised by the default implementation of the MessageExchangeFactory (in petals-message-exchange)
Show
Victor NOËL added a comment - Fri, 10 Apr 2015 - 16:08:14 +0200 Fixed in r37090. Commit: Removed FlowAttributes from the JBI Spec implem
  • petals-jbi does not depend on proprietary extensions anymore
  • Flow attributes are now stored as properties in the MessageExchange Notes:
  • It is not stored as a class member of MessageExchangeImpl in order to be able to retrieve it from anywhere even in wrapped messages.
  • They are stored as String and not as an object of type FlowAttributes because of JBI classloading issues (documented in code).
  • An utility class is introduced to ease access to it (FlowAttributesExchangeHelper) (in petals-commons-log)
  • No changes were made on how they are used, but future commits may change that
  • e.g. It is still initialised by the default implementation of the MessageExchangeFactory (in petals-message-exchange)
Victor NOËL made changes - Fri, 10 Apr 2015 - 16:08:15 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.5.0 [ 10406 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Fri, 10 Apr 2015 - 16:16:34 +0200
Link This issue depends on PETALSDISTRIB-120 [ PETALSDISTRIB-120 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
18s
1
Victor NOËL
Fri, 10 Apr 2015 - 16:07:11 +0200
Open Open In Progress In Progress
11s
1
Victor NOËL
Fri, 10 Apr 2015 - 16:07:22 +0200
In Progress In Progress Resolved Resolved
53s
1
Victor NOËL
Fri, 10 Apr 2015 - 16:08:15 +0200

People

Dates

  • Created:
    Fri, 10 Apr 2015 - 16:06:53 +0200
    Updated:
    Fri, 10 Apr 2015 - 16:16:34 +0200
    Resolved:
    Fri, 10 Apr 2015 - 16:08:14 +0200