In this lesson, you will implement a Dynamic Assembler extension for the CalculateShippingCharges component.
An assertion is a concept in the WebSphere Business Services Fabric meta-model that is used to specify a policy requirement and evaluate endpoints at run time. It is also used to describe the capabilities of an endpoint. For example, Endpoint A supports service invocations for EXISTING customers and accountSize = SMALL.
A policy defines the business requirements that have to be met when a consumer requests a service. A policy is a set of assertions that represents requirements, constraints, or capabilities for a business service, for example IF [customerType = PLATINUM] THEN [responseTime < 20ms]
The CalculateShippingCharges component is a DA. It needs extensions to extract context information from the message body and insert it into its invocation context. DA extensions are implemented as Java™ components
To implement a ContextExtractor extension for the CalculateShippingCharge DA, complete the following steps: