The <named_transport_entry> element

Contains a list of handlers that are to be invoked when a named transport resource is being used by a service provider.

Used in:

Contained by:

Attributes:

Name Description
Start of changetypeEnd of change Start of changeThe transport mechanism with which the named resource is associated:
wmq
The named resource is a queue
http
The named resource is a TCPIPSERVICE
End of change

Contains:

  1. A <name> element, containing the name of the resource
  2. An optional <transport_handler_list> element. Each <transport_handler_list> contains one or more <handler> elements.

    If you do not code a <transport_handler_list> element, then the only message handlers that are invoked when the named transport is used are those that are specified in the <service> element.

Example

Start of change
<named_transport_entry type="http">
  <name>PORT80</name>
  <transport_handler_list>
    <handler><program>HANDLER1</program><handler_parameter_list/></handler>
    <handler><program>HANDLER2</program><handler_parameter_list/></handler>
  </transport_handler_list>
</named_transport_entry>
End of change In this example, the message handlers specified (HANDLER1 and HANDLER2) are invoked for messages received on the TCPIPSERVICE with the name PORT80.