TransactionId Property

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

Object Oriented Interface

public function getTransactionId();
public function setTransactionId($value);

Procedural Interface

ipworksiot_stomp_get($res, 36 );
ipworksiot_stomp_set($res, 36, $value );

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.

This property is not available at design time.

Data Type

String

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