10.x
Upgrading and Migrating Salesforce Connector to 11.x - Mule 4
Upgrade Anypoint Connector for Salesforce (Salesforce Connector) from version 10.x to version 11.0.
Changes
11.0
This release contains the following changes:
-
The OAuth Client Credentials connection type is added.
-
The Subscribe Channel Listener source is removed. Use the Replay Channel Listener source instead by using the
ONLY_NEW
replay option. -
The Subscribe Topic Listener source is removed. Use the Replay Topic Listener source instead by using the
ONLY_NEW
replay option. -
The deprecated Query Result Stream operation is removed. Use both of these operations instead:
-
The Query Result List operation to return a list of result IDs for a specific batch.
-
The Query Result Stream by Id operation to return an InputStream with the query results for a specific result ID of a submitted BatchInfo.
-
Upgrade Prerequisites
Before you perform the upgrade, you must:
-
Create a backup of your files, data, and configuration in case you need to restore to the previous version.
-
Install Salesforce Connector 11.x to replace the Salesforce operations that were previously included in Salesforce Connector 10.x.
Upgrade Steps
Follow these steps to perform the upgrade from Salesforce Connector v10.x to Salesforce Connector v11.x:
-
In Anypoint Studio, create a Mule project.
-
In the Mule Palette view, click Search in Exchange.
-
In the Add Dependencies to Project window, enter
Salesforce
in the search field. -
In the Available modules section, select Salesforce Connector - Mule 4 and click Add.
-
Click Finish.
-
Verify that the
salesforce-connector
dependency version is11.x.x
in thepom.xml
file, wherex.x
is the minor release and patch version number. For example, if you are upgrading to v11.0, the dependency version in thepom.xml
file should be11.0.0
.
Studio upgrades the connector automatically.
Verify the Upgrade
After you install the latest version of the connector, follow these steps to verify the upgrade:
-
In Studio, verify that there are no errors in the Problems or Console views.
-
Check the project
pom.xml
file and verify that there are no problems. -
Test the connection and verify that the operations work.
Troubleshooting
If there are problems with caching the parameters and caching the metadata, try restarting Studio.