| Namespace | http://www.mulesoft.org/schema/mule/zuora |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/zuora/1.0/mule-zuora.xsd |
| Version | 1.0 |
| Minimum Mule Version | 3.2 |
Zuora is the leader in online recurring billing and payment solutions for SaaS and subscription businesses.
This connector provides full access to the Z-Commerce platform API.| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve an account profile
| |||||||||||
Amends subscriptions
| |||||||||||
Batch creation of ZObjects
| |||||||||||
Batch delete of ZObjects
| |||||||||||
Lazily retrieves ZObject that match a given query,
written in Zuora native query language
| |||||||||||
Batch creation of invoces for accounts
| |||||||||||
Answers user information
| |||||||||||
Retrieve a product profile
| |||||||||||
Batch creation of ZObjects associated to Subscriptions
| |||||||||||
Batch update of ZObjects
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:zuora="http://www.mulesoft.org/schema/mule/zuora"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/zuora
http://www.mulesoft.org/schema/mule/zuora/1.0/mule-zuora.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| Optional. The client to use. | |||||||||||
| htps://apisandbox.zuora.com/apps/services/a/32.0 | Optional. Target URI to connect to | ||||||||||
This connector offers automatic connection management via the use of a connection pool. The pool will act a storage mechanism for all the connections that are in-use by the user of this connector.
Prior to execution of a processor, the connector will attempt to lookup an already established connection and if one doesn't exists it will create one. That lookup mechanism is done in the connection pool via the use of connection variables declared as keys.
The user of the connector can configure the pool by adding a connection-pooling-profile to the connector configuration like this:
<zuora:connection-pooling-profile maxActive="10" maxIdle="10"
exhaustedAction="WHEN_EXHAUSTED_GROW" maxWait="120"/>
The following is a list of connection attributes, each connection attribute can be configured at the config element level or they can also be added to each processor. If they are used at the processor level they get the benefit of full expression resolution.
| Connection Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Description | ||||||||||
| Username to identify the user | |||||||||||
| Password to authenticate the username | |||||||||||
Also this connector offers automatic retry for certain operations. There are a couple of situations in which a retry may solve the problem at hand, like for example if the system is currently busy or if the session has expired. Those kind of situations are solvable by reacquiring a connection and retrying the operation.
By default, the connector will automatically attempt to retry the operation only once. You can at your choosing specify a greater ammount of retries by using the retryMax attribute on each operation.
... retryMax="3"/>
Retrieve an account profile
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the account to retrieve an account profile for | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
| Exception |
|---|
Amends subscriptions
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
AmendResult, one for each amendament
| Exception |
|---|
Batch creation of ZObjects
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of zobject passed | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
SaveResult, one for each ZObject
| Exception |
|---|
Batch delete of ZObjects
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of ZObjects to delete | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
DeleteResult, one for each id
| Exception |
|---|
Lazily retrieves ZObject that match a given query, written in Zuora native query language
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The query, using the SQL-Like Zuora Query Language | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
| Exception |
|---|
Batch creation of invoces for accounts
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of zobject passed | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
SaveResult, one for each ZObject
| Exception |
|---|
Answers user information
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
User
| Exception |
|---|
Retrieve a product profile
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The id of the product to retrieve a product profile for | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
| ZuoraException} | |
| Exception |
Batch creation of ZObjects associated to Subscriptions
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
| Exception |
|---|
Batch update of ZObjects
INCLUDE_ERROR
| Name | Default Value | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| The type of zobject passed | |||||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Username to identify the user | |||||||||||
| Optional. Password to authenticate the username | |||||||||||
| Retry and Reconnect This message processor supports automatic retry and reconnect. If the API call fail for a known error then the API will be automatically retried. This does not happen on every type of error, only a few that has been selected and are known to be recoverable from. | |||||||||||
| 1 | Optional. Specify how many times this operation can be retried automatically | ||||||||||
SaveResult, one for each ZObject
| Exception |
|---|