code: public static OutboxAmp getOutboxCurrent()
    {
      OutboxAmp outbox = OutboxAmp.current();
      
      if (outbox != null) {
        // OutboxAmp outbox = (OutboxAmp) outboxDeliver;
      
        return outbox;
      }
      else {
        return OutboxAmpNull.NULL;
      }
    }
docs: Returns the calling outbox from the current context, if available.
  
  The outbox is associated with the current thread and is used to
  batch and deliver messages.