public int getTransactionIdentifier() {
        // transaction identifier must begin with 1, otherwise .NET standard server fails!
        int transactionId = transactionIdentifierGenerator.getAndIncrement();
        if (transactionId == DEFAULT_MAX_REQUEST_ID) {
            transactionIdentifierGenerator.set(0);
        }
        return transactionId;
    }
Returns the next transaction identifier.

@return the next sequential transaction identifier
plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java