TCC Transaction Configurations

Hierarchy

  • TCCConfig

Constructors

  • Parameters

    • tccURI: string

      REST API endpoints which need to participate in the TCC transaction

    • applRouter: Router

      Application router

    • Optional httpMethod: HttpMethod

      HTTP method on which the participant participates in the TCC transaction

    • Optional timeLimitInSeconds: number

      Time limit in milliseconds

    Returns TCCConfig

Properties

applRouter: Router

Application router

httpMethod: HttpMethod

HTTP method on which the participant participates in the TCC transaction

tccURI: string

REST API endpoints which need to participate in the TCC transaction

timeInMilliSeconds: number

Time limit in milliseconds

Methods

  • Add a participant to the current TCC transaction

    Parameters

    • uri: string

      the URI of the participant resource

    Returns void

Copyright © 2022, 2024, Oracle and/or its affiliates.