Zum Hauptinhalt springen

SignalSenderNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load

Configuration for the SignalSender pipeline node — sends a message (and optional attachment) through a signal-cli-rest-api bridge via POST {ApiUrl}/v2/send.

public record SignalSenderNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<SignalSenderNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SignalSenderNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<SignalSenderNodeConfiguration>

Remarks:

Number/ApiUrl resolution (AB#5145): the tenant's registered System.Communication/SignalChannel singleton (activated via the Studio self-service, AB#5143) wins and needs NO configuration here at all; the connection/settings properties below are the deprecated legacy fallback (not secrets — the cluster-local bridge is unauthenticated). Message properties follow the {Field} + {Field}Path convention: when the *Path variant is non-empty the value is read from the data context; otherwise the literal is used. Prototype context: AB#4406 (Epic AB#3295).

Properties​

ApiUrl​

DEPRECATED legacy fallback (AB#5145): base URL of the signal-cli-rest-api bridge, e.g. http://localhost:8080. Only read when the tenant has no REGISTERED System.Communication/SignalChannel; a SignalSenderNodeConfiguration.SettingsConfiguration value still takes precedence over this literal. May be omitted entirely on new-style pipelines.

public string ApiUrl { get; set; }

Property Value​

String

Number​

DEPRECATED legacy fallback (AB#5145): the bridge's registered account number that sends the message, e.g. +4366012345678. Only read when the tenant has no REGISTERED System.Communication/SignalChannel; a SignalSenderNodeConfiguration.SettingsConfiguration value still takes precedence over this literal. May be omitted entirely on new-style pipelines.

public string Number { get; set; }

Property Value​

String

TimeoutSeconds​

HTTP request timeout in seconds. Default 30.

public int TimeoutSeconds { get; set; }

Property Value​

Int32

SettingsConfiguration​

DEPRECATED legacy fallback (AB#5145): optional well-known name of a configuration entity that carries the bridge number / URL (e.g. the accounting app's SignalImportSettings), reachable from the pipeline via a System.Communication/Uses association; the attribute names it reads are SignalSenderNodeConfiguration.NumberAttribute / SignalSenderNodeConfiguration.ApiUrlAttribute, and values found here override the node properties. Only consulted when the tenant has no REGISTERED System.Communication/SignalChannel — new-style pipelines omit this entirely.

public string SettingsConfiguration { get; set; }

Property Value​

String

NumberAttribute​

Attribute name on SignalSenderNodeConfiguration.SettingsConfiguration holding the bridge number.

public string NumberAttribute { get; set; }

Property Value​

String

ApiUrlAttribute​

Attribute name on SignalSenderNodeConfiguration.SettingsConfiguration holding the bridge base URL.

public string ApiUrlAttribute { get; set; }

Property Value​

String

Recipient​

Literal recipient number (destination), e.g. +4366098765432.

public string Recipient { get; set; }

Property Value​

String

RecipientPath​

JSONPath to resolve the recipient number from the data context (e.g. the inbound sender $.key.Source).

public string RecipientPath { get; set; }

Property Value​

String

Message​

Literal message text.

public string Message { get; set; }

Property Value​

String

MessagePath​

JSONPath to resolve the message text from the data context.

public string MessagePath { get; set; }

Property Value​

String

AttachmentBase64Path​

Optional JSONPath to a base64-encoded attachment (e.g. a rendered PDF) sent with the message via the bridge's base64_attachments field.

public string AttachmentBase64Path { get; set; }

Property Value​

String

AttachmentContentType​

Literal MIME content type of the attachment (e.g. application/pdf). Used to build the attachment data URI; ignored when no attachment is set.

public string AttachmentContentType { get; set; }

Property Value​

String

AttachmentContentTypePath​

JSONPath to resolve the attachment content type from the data context.

public string AttachmentContentTypePath { get; set; }

Property Value​

String

AttachmentFilename​

Literal attachment filename (e.g. invoice.pdf).

public string AttachmentFilename { get; set; }

Property Value​

String

AttachmentFilenamePath​

JSONPath to resolve the attachment filename from the data context.

public string AttachmentFilenamePath { get; set; }

Property Value​

String

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

SignalSenderNodeConfiguration()​

public SignalSenderNodeConfiguration()