Contact Us 1-800-596-4880

Microsoft .NET Connector 3.1 Reference - Mule 4

Default Configuration

Parameters

Name Type Description Default Value Required

Name

String

The name for this configuration. Connectors reference the configuration with this name.

x

Connection

The connection types that can be provided to this configuration.

x

Expiration Policy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.

External Connection Type

Parameters

Name Type Description Default Value Required

Scope

Enumeration, one of:

  • Singleton

  • Transient

The scope of the module

x

Grant Full Trust to the .NET assembly

Boolean

Set Full Trust

true

Declared methods only

Boolean

Set Declared Only

false

Include auto generated code

Boolean

Set Include Auto Generated Code.

false

Path

String

The name of the .NET assembly, for example, <Company>.<Component>.dll

x

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

GAC Connection Type

Parameters

Name Type Description Default Value Required

Scope

Enumeration, one of:

  • Singleton

  • Transient

Provide the scope of the module

x

Grant Full Trust to the .NET assembly

Boolean

Set Full Trust.

true

Declared methods only

Boolean

Set Declared Only.

false

Include auto generated code

Boolean

Set Include Auto Generated Code

false

Assembly Type

String

Provide the Fully Qualified Type name, for example, Namespace.ClassName.

x

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Legacy Connection Type

Parameters

Name Type Description Default Value Required

Scope

Enumeration, one of:

  • Singleton

  • Transient

The scope of the module

x

Grant Full Trust to the .NET assembly

Boolean

Set Full Trust.

true

Declared methods only

Boolean

Set Declared Only.

false

Include auto generated code

Boolean

Set Include Auto Generated Code.

false

Assembly Type

String

The fully qualified type name, for example, Namespace.ClassName

Assembly Path

String

The path of the .NET assembly, for example, C:\Projects\<Company>.<Component>.dll

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Resource Connection Type

Parameters

Name Type Description Default Value Required

Scope

Enumeration, one of:

  • Singleton

  • Transient

The scope of the module

x

Grant Full Trust to the .NET assembly

Boolean

Set Full Trust.

true

Declared methods only

Boolean

Set Declared Only

false

Include auto generated code

Boolean

Set Include Auto Generated Code.

false

Path

String

The name of the .NET assembly, for example, <Company>.<Component>.dll

x

Resource folder

String

The name of the resource folder

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Operations

Execute

<dotnet:execute>

Returns an object that represents the return value of the invoked method.

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Arguments

Object

The arguments to pass to the called method.

#[payload]

Type

String

x

Method

String

x

Target Variable

String

The name of a variable in which to store the operation’s output.

Target Value

String

An expression that evaluates the operation’s output. The expression outcome is stored in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors

Output

Type

Any

For Configurations

Throws

  • DOTNET:LOADER

  • DOTNET:REQUEST

  • DOTNET:METADATA

  • DOTNET:UNKNOWN

  • DOTNET:RETRY_EXHAUSTED

  • DOTNET:CONNECTIVITY

Types

Reconnection

Field Type Description Default Value Required

Fails Deployment

Boolean

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Reconnection Strategy

The reconnection strategy to use.

Reconnect

Field Type Description Default Value Required

Frequency

Number

How often to reconnect (in milliseconds).

Count

Number

The number of reconnection attempts to make.

Reconnect Forever

Field Type Description Default Value Required

Frequency

Number

How often in milliseconds to reconnect.

Expiration Policy

Field Type Description Default Value Required

Max Idle Time

Number

A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A time unit that qualifies the Max IdleTime field.

View on GitHub