Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create Subassemblies

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.
  1. Add and configure the
    local-in
    transport that defines the beginning of the subassembly.
    1. Add a
      local-in
      transport at the beginning of the processing chain that you want to turn into a subassembly.
    2. On the
      Common
      and
      Advanced
      tabs of its
      Properties
      view, configure the transport's properties. You can provide an icon for the subassembly and text that displays as its tooltip.
    3. On the
      Parameters
      tab, define parameters that the subassembly requires as input. You can configure these parameters on the
      local-out
      transport that calls the subassembly. Studio stores them as
      MediationContext
      properties.
    4. On the
      Out Parameters
      tab, define the
      MediationContext
      properties that the subassembly sets.
    5. Save the assembly.
  2. Add and configure the
    local-out
    transport that invokes the subassembly.
    1. Add a
      local-out
      transport to the assembly that invokes the subassembly.
    2. On the
      Common
      and
      Advanced
      tabs of its
      Properties
      view, configure its properties. Specify the subassembly
      local-in
      as the
      endpoint
      property. Use the format
      vm://assembly-name/local-out-ID
      , or click
      Select local-in sub-assembly
      .
    3. On the
      Parameters
      tab, set
      MediationContext
      properties. You can create new parameters by clicking
      Create 'set' element
      . You can also select any that parameters that you define in the
      local-in
      transport and assign them values by clicking
      Select Parameter
      .
      In the
      Select Parameters
      wizard, an asterisk indicates that the property is required. A question mark indicates that usage is dynamic.
    4. Save the assembly.