Create Subassemblies
Create an assembly.
A subassembly is a processing chain whose first component is a
local-in
transport. You invoke it with a local-out
transport, either
from within the same assembly or from a separate assembly.- Add and configure thelocal-intransport that defines the beginning of the subassembly.
- Add alocal-intransport at the beginning of the processing chain that you want to turn into a subassembly.
- On theCommonandAdvancedtabs of itsPropertiesview, configure the transport's properties. You can provide an icon for the subassembly and text that displays as its tooltip.
- On theParameterstab, define parameters that the subassembly requires as input. You can configure these parameters on thelocal-outtransport that calls the subassembly. Studio stores them asMediationContextproperties.
- On theOut Parameterstab, define theMediationContextproperties that the subassembly sets.
- Save the assembly.
- Add and configure thelocal-outtransport that invokes the subassembly.
- Add alocal-outtransport to the assembly that invokes the subassembly.
- On theCommonandAdvancedtabs of itsPropertiesview, configure its properties. Specify the subassemblylocal-inas theendpointproperty. Use the formatvm://assembly-name/local-out-ID, or clickSelect local-in sub-assembly.
- On theParameterstab, setMediationContextproperties. You can create new parameters by clickingCreate 'set' element. You can also select any that parameters that you define in thelocal-intransport and assign them values by clickingSelect Parameter.In theSelect Parameterswizard, an asterisk indicates that the property is required. A question mark indicates that usage is dynamic.
- Save the assembly.