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:
|
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, |
x |
|
Reconnection |
When the application is deployed, a connectivity test is performed on all connectors. If set to |
GAC Connection Type
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Scope |
Enumeration, one of:
|
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, |
x |
|
Reconnection |
When the application is deployed, a connectivity test is performed on all connectors. If set to |
Legacy Connection Type
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Scope |
Enumeration, one of:
|
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, |
||
Assembly Path |
String |
The path of the .NET assembly, for example, |
||
Reconnection |
When the application is deployed, a connectivity test is performed on all connectors. If set to |
Resource Connection Type
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Scope |
Enumeration, one of:
|
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, |
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 |
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 |
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 |
||
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:
|
A time unit that qualifies the Max IdleTime field. |