Hyperledger Fabric Transaction Agent Service (com.ibi.agents.XDFabricAgent)

Syntax:

com.ibi.agents.XDFabricAgent

iIT Service Object:

format: Hyperledger Fabric Transaction Agent

Description: Calls chaincode to execute a transaction on a blockchain in the Hyperledger Fabric.

Parameters:

Parameter

Description

Fabric Channel Provider *

The name of the Fabric Channel Provider.

Chaincode Name *

The name of the chaincode to call.

Chaincode Path *

The path of the chaincode to call.

Chaincode Version *

The version of the chaincode to call.

Minimum Successful Proposals

The minimum number of successful proposals required to send the transaction to the orderers.

Maximum Failed Proposals

The maximum number of failed proposals tolerated. The transaction will not be sent to the orderers if there are more failed proposals.

Return

Determines the contents of the output document. Ignored if asynchronous mode is selected.

Call

Argument Type

The data type of all the chaincode arguments, either a regular string, or a byte array encoded as a hex string with two consecutive hexadecimal characters per byte.

Argument 0

The value of the first argument.

Argument 1

The value of the second argument.

Argument 2

The value of the third argument.

Argument 3

The value of the fourth argument.

Argument 4

The value of the fifth argument.

Asynchronous

 

Is Asynchronous?

In asynchronous mode, the input document is returned immediately after the proposal request. The TransactionEvent response is sent to an internal queue when it arrives.

Queue Name

The name of the internal queue where the asynchronous TransactionEvent will be sent.

Event Format

The format of the document sent to the internal queue.

Want User Registers

User registers are processing variables and their values. If you want these registers to be emitted with the message, set this to true. In resubmit operations, this is usually set to false.

Priority

The priority is an integer between 0 and 9 inclusive. The lowest priority is 0. The highest most expedited priority is 9.

Put Timeout

Time, in milliseconds, to wait for queue to become available when attempting to put a message on the queue. You can enter 0 for an unlimited wait, but this is not recommended. If no value is supplied, timeout will be set to 3000 milliseconds.

Request Context Namespace

For synchronous or asynchronous processing, namespace or list of namespaces containing registers that will be made available to the internal listener. Select Default for all registers in default (no prefix) namespace or None to send no registers at all. Enter '*' for registers from all namespaces.

Edgehs:

The following table lists the available Line Edges for the Hyperledger Fabric Transaction Agent Service (com.ibi.agents.XDFabricAgent).

Line Edge

Description

OnError

An exception occurred during execution.

OnSuccess

The operation was successful.

OnFailure

A fail condition occurred during execution.

OnFailedOperation

Could not perform the operation requested.

OnFailParse

Could not parse a document.