# mulesoft gRPC Connector - Full Documentation --- product: gRPC Connector version: 1.0 is-latest-version: true --- # gRPC Connector 1.0 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for gRPC (gRPC Connector) enables you to connect to the gRPC API. gRPC Connector enables Mule applications to communicate with gRPC services, providing both client and server capabilities for high-performance, cross-platform RPC communication. For information about compatibility and fixed issues, refer to the gRPC Connector Release Notes. ## Before You Begin To use this connector, you must be familiar with: - The gRPC Connector’s API - Anypoint Connectors - Mule runtime engine (Mule) - Elements and global elements in a Mule flow - How to create a Mule app using Anypoint Code Builder or Anypoint Studio Before creating an app, you must have: - Credentials to access the gRPC target resource - Anypoint Platform - The latest versions of Anypoint Code Builder or Anypoint Studio ## Supported gRPC Patterns This connector supports all four gRPC communication patterns.
| Pattern | Description |
|---|---|
Unary | Single request, single response |
Server Streaming | Single request, multiple responses streamed from server |
Client Streaming | Multiple requests from client, single response |
Bidirectional Streaming | Multiple requests and responses streamed in both directions |
| 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 to provide to this configuration. | x | ||
Deadline | Deadline configuration for gRPC calls. This deadline applies to all operations unless overridden at the operation level. | |||
Response Wait Time | Number | Time to wait for server response after sending each message in client streaming. Overridable at the operation level. A value of 0 means no wait (return immediately with an empty continuation response). | 0 | |
Response Wait Time Unit | Enumeration, one of:
| Time unit for the Response Wait Time field. | MILLISECONDS | |
Name | String | The identifier of this element used to reference it in other components. | x | |
Expiration Policy | Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This doesn’t mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Host | String | The host address of the gRPC server. | x | |
Port | Number | The port number of the gRPC server. | 443 | |
IDL Definition | One of: | The Interface Definition Language (IDL) definition for the gRPC service. | x | |
Request headers | Object | Request headers to include in gRPC requests. | ||
Connection Timeout | Number | The timeout for establishing connections to the remote service. | 30 | |
Connection Timeout Unit | Enumeration, one of:
| Time unit for the Connection Timeout field. | SECONDS | |
Connection Mode | One of:
| Connection mode: TLS (default, for production) or PlainText (for development). If not specified, TLS with default settings is used automatically. | x | |
Private key id | String | Identifier of the private key for the service account. Part of service credentials. | x | |
Client id | String | Identifier of the client. Part of service credentials. | x | |
Client email | String | Client email for the service account. Part of service credentials. | x | |
Private key | Private key for the service account. Part of service credentials. Can be provided as text or from a file. | 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. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Host | String | The host address of the gRPC server. | x | |
Port | Number | The port number of the gRPC server. | 443 | |
IDL Definition | One of: | The Interface Definition Language (IDL) definition for the gRPC service. | x | |
Request headers | Object | Custom headers to include in gRPC requests. | ||
Connection Timeout | Number | The timeout for establishing connections to the remote service. | 30 | |
Connection Timeout Unit | Enumeration, one of:
| Time unit for the Connection Timeout field. | SECONDS | |
Connection Mode | One of:
| Connection mode: TLS (default, for production) or PlainText (for development). If not specified, TLS with default settings is used automatically. | 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. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Host | String | The host address of the gRPC server. | x | |
Port | Number | The port number of the gRPC server. | 443 | |
IDL Definition | One of: | The Interface Definition Language (IDL) definition for the gRPC service. | x | |
Request headers | Object | Custom headers to include in gRPC requests. | ||
Connection Timeout | Number | The timeout for establishing connections to the remote service. | 30 | |
Connection Timeout Unit | Enumeration, one of:
| Time unit for the Connection Timeout field. | SECONDS | |
Connection Mode | One of:
| Connection mode: TLS (default, for production) or PlainText (for development). If not specified, TLS with default settings is used automatically. | x | |
Authorization Key | String | The header key used for authorization. | Authorization | |
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. | |||
Client Id | String | The OAuth client ID as registered with the service provider. | x | |
Client Secret | String | The OAuth client secret as registered with the service provider. | x | |
Token Url | String | The service provider’s token endpoint URL. |
| |
Scopes | String | The OAuth scopes to be requested during the dance. If not provided, it defaults to those in the annotation. | ||
Auth Server Tls Context | References a TLS config to use to do HTTP request during the OAuth dance. | |||
Auth Server Proxy Config | Any | References the proxy configuration which through the HTTP request during the OAuth dance. | ||
Object Store | String | A reference to the object store that should be used to store each resource owner id’s data. If not specified, runtime will automatically provision the default one. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Name | String | The name for this configuration. Connectors reference the configuration with this name. | x | |
Connection | The connection to provide to this configuration. | x | ||
Max Inbound Message Size | Number | Maximum size of an inbound message in bytes (default: 4MB, same as gRPC-Java). Must be a positive value. | 4194304 | |
Name | String | The identifier of this element used to reference it in other components. | x |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Listener Config | String | Reference to the | x | |
IDL Definition | One of: | Protobuf descriptor definition for the gRPC service. | 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. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | The gRPC method name to invoke. | x | |
Routing Id | String | Identifier to map this call with its corresponding listener. | ||
Request Id | String | Identifier to map related client streaming steps. | ||
Content | Binary | The request payload to send to the gRPC server. | ||
End Streaming | Boolean | Indicates whether to close the client streaming. | false | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Target Variable | String | Name of the variable that stores operation’s output. | ||
Target Value | String | An expression to evaluate against the operation’s output and store the expression outcome in the target variable. | #[payload] | |
Error Mappings | Array of Error Mapping | Set of error mappings. | ||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | String |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | The gRPC method name to invoke. | x | |
Request Id | String | Identifier to map related client streaming steps. | ||
Content | Binary | The request payload to send to the gRPC server. | ||
End Streaming | Boolean | Indicates whether to close the client streaming. | false | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Response Wait Time | Number | Time to wait for server response after sending each message. Overrides the configuration-level value if specified. | ||
Response Wait Time Unit | Enumeration, one of:
| Time unit for the Response Wait Time field. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Target Variable | String | Name of the variable that stores operation’s output. | ||
Target Value | String | An expression to evaluate against the operation’s output and store the expression outcome in the target variable. | #[payload] | |
Error Mappings | Array of Error Mapping | Set of error mappings. | ||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Binary |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | The gRPC method name to invoke. | x | |
Routing Id | String | Identifier to map this call with its corresponding listener. | x | |
Content | Binary | The request payload to send to the gRPC server. | #[payload] | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Target Variable | String | Name of the variable that stores operation’s output. | ||
Target Value | String | An expression to evaluate against the operation’s output and store the expression outcome in the target variable. | #[payload] | |
Error Mappings | Array of Error Mapping | Set of error mappings. | ||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | String |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | The gRPC method name to invoke. | x | |
Content | Binary | The request payload to send to the gRPC server. | #[payload] | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Poll Timeout (milliseconds) | Number | The timeout, in milliseconds, when polling for the next streamed response element. | 500 | |
Output Mime Type | String | The mime type of the payload that this operation outputs. | ||
Output Encoding | String | The encoding of the payload that this operation outputs. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Target Variable | String | Name of the variable that stores operation’s output. | ||
Target Value | String | An expression to evaluate against the operation’s output and store the expression outcome in the target variable. | #[payload] | |
Error Mappings | Array of Error Mapping | Set of error mappings. | ||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Array of Binary |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | A String object. | x | |
Content | Binary | An InputStream object. | #[payload] | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Target Variable | String | Name of the variable that stores operation’s output. | ||
Target Value | String | An expression to evaluate against the operation’s output and store the expression outcome in the target variable. | #[payload] | |
Error Mappings | Array of Error Mapping | Set of error mappings. | ||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Binary |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Attributes | Streaming attributes from the server streaming source. | x | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Error Mappings | Array of Error Mapping | Set of error mappings. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Attributes | Streaming attributes from the server streaming source. | x | ||
Stream Message | Any | The message content to send to the client. | #[payload] | |
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Error Mappings | Array of Error Mapping | Set of error mappings. |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Routing ID | String | Identifier to map this listener with its corresponding call. | x | |
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Binary |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Routing ID | String | Identifier to map this listener with its corresponding delegator. | x | |
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Binary |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method | String | The gRPC method name to invoke. | x | |
Request Headers | Object | Custom headers to include in the gRPC request. | ||
Deadline | Configures the deadline for this specific gRPC call. Overrides the configuration-level deadline if specified. | |||
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
File Path | String | The path to the file containing the request payload. | x | |
Reconnection Strategy | A retry strategy in case of connectivity errors. |
Type | Binary |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method Name | String | The fully qualified gRPC method name to listen on (for example, | x | |
Output Mime Type | String | The mime type of the payload that this source outputs. | ||
Output Encoding | String | The encoding of the payload that this source outputs. | ||
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. | |||
Stream Output | Output parameter group for bidirectional streaming responses. | |||
Status Code | String | The gRPC status the client should receive. Preferably the code name (for example, | ||
Description | String | The gRPC status description (message) the client should receive. When unset, the error’s own description is used. |
Type | Any |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method Name | String | The fully qualified gRPC method name to listen on (for example, | x | |
Output Mime Type | String | The mime type of the payload that this source outputs. | ||
Output Encoding | String | The encoding of the payload that this source outputs. | ||
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. | |||
Output | Output structure for client streaming methods. | |||
Status Code | String | The gRPC status the client should receive. Preferably the code name (for example, | ||
Description | String | The gRPC status description (message) the client should receive. When unset, the error’s own description is used. |
Type | Any |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method Name | String | The fully qualified gRPC method name to listen on (for example, | x | |
Output Mime Type | String | The mime type of the payload that this source outputs. | ||
Output Encoding | String | The encoding of the payload that this source outputs. | ||
On Capacity Overload | Enumeration, one of:
| Strategy applied when the flow receives more messages than it has capacity to handle. | WAIT | |
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. | |||
Status Code | String | The gRPC status the client should receive. Preferably the code name (for example, | ||
Description | String | The gRPC status description (message) the client should receive. When unset, the error’s own description is used. |
Type | Any |
Attributes Type |
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration | String | The name of the configuration to use. | x | |
Method Name | String | The fully qualified gRPC method name to listen on (for example, | x | |
Output Mime Type | String | The mime type of the payload that this source outputs. | ||
Output Encoding | String | The encoding of the payload that this source outputs. | ||
Primary Node Only | Boolean | Whether this source should only be executed on the primary node when running in a cluster. | ||
Config Ref | ConfigurationProvider | The name of the configuration to use to execute this component. | x | |
Streaming Strategy |
| Configures how Mule processes streams. Repeatable streams are the default behavior. | ||
Redelivery Policy | Defines a policy for processing the redelivery of the same message. | |||
Reconnection Strategy | A retry strategy in case of connectivity errors. | |||
Response Unary | Binary | The response content to send to the client. | #[payload] | |
Status Code | String | The gRPC status the client should receive. Preferably the code name (for example, | ||
Description | String | The gRPC status description (message) the client should receive. When unset, the error’s own description is used. |
Type | Any |
Attributes Type |
| 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. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Frequency | Number | How often in milliseconds to reconnect. | ||
Blocking | Boolean | If false, the reconnection strategy will run in a separate, non-blocking thread. | ||
Count | Number | How many reconnection attempts to make. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Frequency | Number | How often in milliseconds to reconnect. | ||
Blocking | Boolean | If false, the reconnection strategy will run in a separate, non-blocking thread. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Enabled Protocols | String | A comma-separated list of protocols enabled for this context. | ||
Enabled Cipher Suites | String | A comma-separated list of cipher suites enabled for this context. | ||
Trust Store | Configuration for the trust store. | |||
Key Store | Configuration for the key store. | |||
Revocation Check | Configuration for certificate revocation checking. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path | String | The location (which will be resolved relative to the current classpath and file system, if possible) of the trust store. | ||
Password | String | The password used to protect the trust store. | ||
Type | String | The type of store used. | ||
Algorithm | String | The algorithm used by the trust store. | ||
Insecure | Boolean | If |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path | String | The location (which will be resolved relative to the current classpath and file system, if possible) of the key store. | ||
Type | String | The type of store used. | ||
Alias | String | When the key store contains many private keys, this attribute indicates the alias of the key that should be used. If not defined, the first key in the file will be used by default. | ||
Key Password | String | The password used to protect the private key. | ||
Password | String | The password used to protect the key store. | ||
Algorithm | String | The algorithm used by the key store. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Only End Entities | Boolean | Only verify the last element of the certificate chain. | ||
Prefer Crls | Boolean | Try CRL instead of OCSP first. | ||
No Fallback | Boolean | Do not use the secondary checking method (the one not selected before). | ||
Soft Fail | Boolean | Avoid verification failure when the revocation server can not be reached or is busy. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Url | String | The URL of the OCSP responder. | ||
Cert Alias | String | Alias of the signing certificate for the OCSP response (must be in the trust store), if present. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Path | String | The path to the CRL file. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Duration | Number | The duration value for the deadline. | 10 | |
Units | Enumeration, one of:
| The time unit for the Duration field. | SECONDS |
| 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 for the Max Idle Time field. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
End Of Stream | Boolean | Indicates whether the stream has ended. | ||
Error | Boolean | Indicates whether an error occurred during streaming. | ||
Error Message | String | The error message if an error occurred. | ||
Request Id | String | The request identifier. | ||
Routing Id | String | The routing identifier. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Initial Buffer Size | Number | The amount of memory that will be allocated to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then the buffer expands according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. | ||
Buffer Size Increment | Number | This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full. | ||
Max Buffer Size | Number | The maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower than or equal to zero means no limit. | ||
Buffer Unit | Enumeration, one of:
| The unit in which all these attributes are expressed. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
In Memory Size | Number | Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed content on the disk is buffered. | ||
Buffer Unit | Enumeration, one of:
| The unit in which In Memory Size is expressed. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max Redelivery Count | Number | The maximum number of times a message can be redelivered and processed unsuccessfully before triggering process-failed-message. | ||
Message Digest Algorithm | String | The secure hashing algorithm to use. If not set, the default is SHA-256. | ||
Message Identifier | Defines which strategy is used to identify the messages. | |||
Object Store | ObjectStore | The object store where the redelivery counter for each message is stored. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Use Secure Hash | Boolean | Whether to use a secure hash algorithm to identify a redelivered message. | ||
Id Expression | String | Defines one or more expressions to use to determine when a message has been redelivered. This property may only be set if useSecureHash is false. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Source | Enumeration, one of:
| The source error type to map. | ||
Target | String | The target error type to map to. | x |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
End Of Stream | Boolean | Indicates whether the stream has ended. | ||
Message Sent | Boolean | Indicates whether a message was sent in this step. | ||
Request Id | String | The request identifier. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Client Stream Completed | Boolean | Whether the client has finished sending (true on final execution). | ||
Connection Id | String | Unique stream identifier. | ||
Headers | Object | Inbound gRPC request metadata, with keys lowercased (for example, | ||
Message Count | Number | Total messages received so far. | ||
Message Index | Number | Current message number (1-based). | ||
Method Name | String | Fully qualified gRPC method name. | ||
Stream State | Object | Shared state map across all messages (thread-safe ConcurrentHashMap). | ||
Timestamp | DateTime | When the stream is initiated. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Response | Binary | The response message to send to the client. | #[payload] | |
Stream State | Object | Updated streaming state to persist for the next message. Values set here are available in attributes.streamState for subsequent messages. | #[{}] |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Headers | Object | Inbound gRPC request metadata, with keys lowercased (for example, | ||
Message Count | Number | Number of messages received so far. | ||
Stream Completed | Boolean | Whether this is the final message in the stream. When true, the flow should return the final response. | ||
Stream State | Object | Shared mutable state across all messages. The flow can read or update this map to maintain aggregated values. |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Response | Binary | The response message to send to the client (only used on final execution when client stream completes). | #[payload] | |
Stream State a | Object | Updated stream state to persist across messages. Values set here are available as For
| #[{}] |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Connection Id | String | Unique identifier for this streaming connection (used to route [Server] Respond Server Stream Message and [Server] End Stream). | ||
Headers | Object | Inbound gRPC request metadata, with keys lowercased (for example, | ||
Method Name | String | Fully qualified gRPC method name (for example, |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Connection Id | String | Always an empty string for unary calls (no persistent stream). | ||
Headers | Object | Inbound gRPC request metadata, with keys lowercased (for example, | ||
Method Name | String | Fully qualified gRPC method name (for example, |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Protobuf Descriptor File | String | The path to the Protocol Buffer descriptor file. | x |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Key | String | The private key content. | x |
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Private Key File Path | String | The path to the file containing the private key. | x |
| Attribute | Value |
|---|---|
Project Name | Unique name for your project. This name is used as the title and name of the integration project file. For example, if the project name is "Salesforce Integration," the project file name is |
Project Location | Your home directory or another directory you create. Click Browse to select a different directory for the integration project. Don’t create the project within another project directory. |
| 1 | Search locally |
| 2 | Search in Exchange |
| Attribute | Description | Required |
|---|---|---|
Allowed methods | To allow all HTTP methods (default), do not define this attribute. To restrict certain methods, specify all allowed HTTP methods, for example, | No |
Response streaming mode | Whether to use streaming when the response is sent. | No |
Output MIME type | MIME type of the payload that this component outputs. | No |
Parameters | Appends a key-value pair for a reader property to the value of the Output MIME attribute. Multiple key-value pairs are allowed. | No |
Output encoding | Encoding of the payload that this component outputs. | No |
Streaming Strategy | Configures the way data streams are consumed in Mule apps. | No |
Primary node only | Select this option to execute the Listener trigger on the primary node only when running in a cluster. | No |
Redelivery policy | Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow. | No |
Reconnection strategy | When an operation in a Mule application fails to connect to an external server, the default behavior is for the operation to fail immediately and return a connectivity error. You can modify the default behavior by configuring the reconnection strategy for the operation. | No |
Response | No | |
Error Response | HTTP error response returns a status code for the error. | No |
Body | Body of the error message. | No |
Headers | Headers to include in the error message. | No |
Status code | Status code of the error response, for example, | No |
Reason phrase | Reason for the error, for example, | No |