Guidelines

There are several UPOC usage guidelines to help decide which UPoC to use, where to put code, and how to write the code.

Write an inbound or outbound TPS module if you:

  • Do not require the protection of the Partial queue
  • Are dealing with protocol-level issues
  • Require to use the PROTO disposition
  • Require inbound data to affect inbound or outbound replies in some way
  • Require interstream communication

Write a prewrite module if you:

  • Require any session-specific data in the message
  • Require any timing-specific data in the message
  • Require any session or timing specific data as the message is handled

Write a route detail module if you:

  • Require the protection and recoverability of the Partial queue
  • Are dealing with translation/presentation issues

Write an action pre- or post-processor module if you:

  • Require modifying a source or destination value in a single translation action
  • Require initiating a difficult presentation action on a single action’s resulting values

Use GENERATE routes to solve translation and routing issues, as required.

Write Send OK/Send Fail modules to take some action, such as operator notification, after the attempted delivery of an outbound message.