Retiring Your Own, and What Comes Next
Det här innehållet är inte tillgängligt på ditt språk än.
Module 8 of 8 in the chapter The Story of Integration: From CORBA to Today, chapter 17 of the Integration Architect course. Each module stands on its own. Previous: Retired, Replaced, and Why · Next chapter: Enterprise Integration Architecture
The question this module answers: You’ve found the older mechanisms in your org, and some of them have dates. How do you actually move off them? And where does the story go next?
Nobody Retires Yours for You
Section titled “Nobody Retires Yours for You”Salesforce retires its mechanisms on a schedule, with notice (module 7). But Salesforce doesn’t move your integrations off them. That’s your job. And for your own doors, the Apex REST and SOAP services your team built, nobody retires the old versions at all, and nobody warns you who’s still calling them (chapter 8 module 1).
In class I put it this way about API versions: you don’t want your version at the top of the list, the oldest one. You want it at the bottom. Anything built years ago and left alone is going to age. The same is true of every mechanism in this chapter.
So here’s the plan, in four steps. It’s simple to say. The work is in doing every step, for every item.
Find Every Use
Section titled “Find Every Use”You can’t move what you haven’t found. Look in three places.
- What calls in. The API Total Usage event log shows each call into the SOAP, Bulk and REST APIs, with its version, its user, and its app. The free log covers only the last 24 hours, so download it every day, or turn on Event Monitoring to keep 30 days (chapter 8 module 1).
- What’s set up. Setup has a list for most of the field guide in module 6: PushTopic records, remote site settings, named credentials, connected apps, outbound messages in flows, Apex email services. Go through each list.
- What’s announced. The Release Updates page in Setup, and Salesforce’s retirements list, show what has a date. Check them every release (chapter 14 module 9).
Write each one down: what it is, what uses it, who calls it, and what breaks if it stops.
Give Each One an Owner and a Date
Section titled “Give Each One an Owner and a Date”An item with no owner doesn’t move. For each one, name a person, not a team, and a date.
Make your date earlier than Salesforce’s. If connected apps reach end of support in Summer ‘27, your date isn’t Summer ‘27. It’s a date with enough room before it to test, to find the caller nobody remembered, and to fix what breaks. Start with the items that have a date, and the security ones first (module 7).
Move It
Section titled “Move It”Build the replacement, and run it beside the old one before you cut over. Compare what each one produces. For a sign-in change, that might be a day of calls through the new External Client App while the old connected app still works. For an event subscriber, it’s the Pub/Sub API subscriber and the old PushTopic one both running, with their results compared.
Watch for doubles while both run. Salesforce says this directly about moving off Salesforce to Salesforce: you can run it alongside a replacement, “although you may notice duplicate data in one or more orgs”, and it recommends testing in a sandbox without Salesforce to Salesforce instead (Salesforce Help (opens in a new tab), checked 2026-11-21). Whatever you’re moving, test the replacement in a sandbox first, and decide how you’ll catch and clean up duplicates before both run in production.
Switch the Old One Off
Section titled “Switch the Old One Off”This is the step people skip. The new one works, everyone moves on, and the old one stays. Then two years later someone finds it, and nobody knows whether it’s safe to remove.
So switch it off on purpose. Remove the old PushTopic, the remote site setting, the connected app. Remove its credentials too, so nothing can sign in with them. Then watch: keep checking the API Total Usage log and the error logs for a while. If something still calls the old way, you’ll find it now, while the people who did the move still remember it.
A What-If at Steve Trucking
Section titled “A What-If at Steve Trucking”None of these are in Steve Trucking’s org as the course has drawn it. But imagine an older version of it, built years ago, with three of the field guide’s items still running. Here’s what the plan might look like on one page.
| Found | What uses it | Owner | Our date | Moves to | Switched off when |
|---|---|---|---|---|---|
| A PushTopic on Delivery | The dispatch screen’s live updates | Integration lead | Two releases from now | Change Data Capture, through the Pub/Sub API | The new subscriber runs a week with matching results |
| A remote site setting for Redrock | An Apex callout with a key in a custom setting | Salesforce developer | Next release | A named credential with an external credential | The key is rotated and the setting removed |
| A connected app for the warehouse app | The warehouse app signs in with it | Warehouse app owner | Spring ‘27, well before Summer ‘27 | An External Client App | No sign-ins on the old app for 30 days |
The details will be different in your org. The columns won’t.
What Comes Next
Section titled “What Comes Next”That’s the story so far. Now look at where it’s going.
The caller is changing. More and more, the thing calling an API isn’t a program someone wrote for one job. It’s an AI agent, choosing which tool to call to get something done. Two open standards carry that. MCP, the Model Context Protocol, connects an agent to tools; its first version is dated November 2024. A2A, Agent2Agent, connects agents to each other; Google announced it in April 2025 (Google Developers Blog (opens in a new tab)), gave it to the Linux Foundation that June, and version 1.0 came in March 2026. Salesforce works on both sides. It hosts MCP servers that outside AI clients call, and Agentforce calls outside MCP servers itself, both generally available since April 2026. Salesforce’s rule for which to use is short: “If it’s a tool, use MCP. If it’s a collaborating agent, use A2A.”
And look at what’s underneath. It’s the same three ideas from module 1:
- The contract. An MCP tool has a name, a description and a schema for what goes in and what comes out. An A2A agent publishes an Agent Card that says what it can do. It’s CORBA’s IDL, the WSDL, the OpenAPI file, again.
- Something in the middle. Gateways that check every agent’s call, apply policies and limits, and log what happened. It’s the ORB, then the bus, then middleware, again.
- A list of what you can call. Registries of agents, tools and servers, so an agent can find what’s available. It’s UDDI’s phone book, and this time the need is real, because the caller really is choosing on its own.
The pattern from this chapter is already at work, too. The MCP standard changed a lot in July 2026: it retired its opening handshake and deprecated its first way of streaming, with a year to move. The newest layer already has its first retirement. The cycle hasn’t stopped. It’s getting faster.
Chapter 22 takes on MCP, and chapter 23 takes on agent to agent. Go into them with this chapter’s questions. What’s the contract? What’s in the middle? How does a caller find it? And when will this retire?
On the Timeline
Section titled “On the Timeline”The last layer starts to fill. The bars are short, because it’s all so new. And there’s already a bit of amber in it.
Test knowledge. The exam aligns to an earlier release and doesn’t ask about MCP or A2A. It does expect you to plan for change: keep API versions current, know which mechanisms are being retired and what replaces them, and use release updates and sandboxes to test before a change reaches production (chapter 14 module 9).
What an Architect Decides Here
Section titled “What an Architect Decides Here”- The list: every older mechanism in the org, found in the logs, in Setup, and in the announcements.
- An owner and a date for each, earlier than Salesforce’s date.
- How each one moves: side by side, compared, then cut over.
- When the old one is switched off, with its credentials, and how you’ll know nothing still calls it.
- For anything new, agents included: its contract, its middle, how callers find it, and how it will retire one day.
Explore
Section titled “Explore”- Salesforce Active Product & Feature Retirements (opens in a new tab), Salesforce Help (checked 2026-11-26): what’s retiring, and when.
- Resilience to Releases: chapter 14, keeping up with three releases a year.
- Model Context Protocol (opens in a new tab), the open standard’s own site (checked 2026-11-26, research): the current specification and its changes.
- Salesforce-to-Salesforce Retirement (opens in a new tab), Salesforce Help, updated 2026-11-22 (checked 2026-11-26): running old and new side by side, in Salesforce’s words.
- Announcing the Agent2Agent Protocol (A2A) (opens in a new tab), Google Developers Blog, April 2025 (checked 2026-11-26): where A2A started.
