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

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)

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