transactionId (property)

Specifies the Id of the transaction that outgoing messages are associated with.

Syntax

@property (nonatomic,readwrite,assign,getter=transactionId,setter=setTransactionId:) NSString* transactionId;
- (NSString*)transactionId;
- (void)setTransactionId:(NSString*)newTransactionId;
public var transactionId: String {
  get {...}
set {...} }

Default Value

""

Remarks

This property, if not empty, is used to specify which transaction outgoing messages sent using SendMessage or SendData are associated with.

This property must either be empty, or set to the Id of a currently open transaction. The OpenTransactions configuration setting can be queried at any time to retrieve a comma-separated list of currently open transactions' Ids.

Note that this property only affects outgoing messages. It is also possible to send a message acknowledgment as part of a transaction by setting the AckTransactionId configuration setting during the MessageIn event handler.

Refer to BeginTransaction for more information about transactions.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 iOS Edition - Version 20.0 [Build 8265]