Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

Your organisation has integration code in Spring Integration, Apache Camel, a commercial ESB and many hand-written Kafka consumers. As the senior technical leader, how would you decide the integration strategy for the next five years?

I would start with an inventory of flows by type, file and B2B transfer, event streaming, request and reply, and batch, because each type has a natural tool and the estate rarely needs one tool for everything. Then assess the ESB on cost, lock-in, skills and change lead time, pick a small supported set such as Kafka for events plus one EIP framework for protocol-heavy flows, with templates and standards, migrate by value and risk starting with flows that change often, and measure onboarding lead time, incidents and platform cost.

Why this question is asked

A mixed integration estate is normal in a large organisation: a commercial ESB bought fifteen years ago, Camel routes from one acquisition, Spring Integration flows from another, and dozens of Kafka consumers that teams wrote themselves. Each choice made sense at the time. The problem is the total: several skill sets, several ways to fail, and nobody sure where a partner's order actually flows. Interviewers ask a senior leader this question to see a structured decision over a five-year horizon rather than a favourite tool. In this answer, we will build the inventory, assess the ESB, choose a supported set and standards, plan the migration and decide how to measure success.

1Start With an Inventory of Flows by Type

Before choosing tools, we need to know what we integrate. I would list every flow with its owner, its type, its volume, how often it changes and the business process it serves. The types matter most, because each has a natural fit.

File and B2B transfers, such as partner files over SFTP or EDI, are protocol-heavy and need routing, transformation and retries; an Enterprise Integration Patterns framework, Spring Integration or Apache Camel, fits them well. Event streaming between our own services fits Kafka with plain consumers. Request and reply integrations are usually best as normal HTTP or gRPC calls in code. Batch jobs that move large data sets fit a batch framework or the data platform. Notice that the conclusion is already visible: the estate does not need one tool for everything, and forcing one would make some flows worse.

Flow types and their natural fit
Flow typeExampleNatural fit
File and B2B transferpartner orders over SFTP, EDIEIP framework: Spring Integration or Camel
Event streamingorder placed, payment capturedKafka with team-owned consumers
Request and replyprice lookup, stock checkHTTP or gRPC in service code
Batchnightly ledger exportSpring Batch or the data platform

2Assess the ESB Honestly

An ESB, an enterprise service bus, is a central product through which many integrations run. I would assess ours on four things. Cost: licences, hardware and the specialist team. Lock-in: how hard it is to leave, measured by how many flows use proprietary features. Skills: how many people can change it, and whether we can hire more. Change lead time: how long it takes from a request for a new partner integration to production.

The last one is often decisive. Central ESB teams tend to become bottlenecks, because every change in every business area queues for the same few people. If onboarding a partner takes eight weeks, mostly waiting, that is a strong argument for team-owned integration in code, where the team that owns the business process also owns its flows, using shared standards.

3Pick a Small Supported Set and Publish Standards

I would choose a small set of supported tools, for example Kafka for events and one EIP framework for protocol-heavy flows. Between Spring Integration and Camel, I would pick by the existing skills and the protocols we need: if most of our services are Spring Boot and our engineers know Spring, Spring Integration fits naturally; if we need many exotic connectors, Camel's catalogue may decide it. The point is to pick one, not to run both forever.

A choice is only useful with support around it. The platform team publishes templates for each flow type, a starter that sets up observability with metrics and traces, a standard for error handling with dead-letter destinations and replay, and a security baseline for credentials and partner connections. With those, a new flow starts from a working skeleton instead of a blank page.

Step throughThe target integration platform
  1. Team-owned flowseach team owns the integrations of its business area
  2. Templates and startersfile transfer, event consumer, request and reply
  3. Standardserror handling, dead letters, replay, security
  4. Supported toolsKafka, one EIP framework, HTTP clients
  5. Observabilitymetrics, traces and alerts for every flow

5 layers, from the top down. Step through them one at a time.

4Plan the Migration by Value and Risk

Moving everything at once would be expensive and risky. I would order the work by value and risk. Flows that change often, such as partner onboarding, gain the most from moving, because every future change becomes faster. Flows that are stable and rarely touched gain little; I would leave them on the old platform until it is retired, and move them in a final wave.

The same thinking applies to the hand-written Kafka consumers. They are not wrong, but each one may handle errors and retries differently. I would bring them onto the shared template as teams touch them for other reasons, rather than in a separate project.

Step throughDeciding when to move a flow
  1. Take a flow from the inventoryowner, type, change rate
  2. Changes often or blocks the business?
    YesMove it early to the target platformNoCheck its platform
  3. Platform being retired soon?
    YesPlan it in the final waveNoLeave it; revisit at review
  4. Measure lead time and incidents after each moveadjust the plan

4 steps in order. Play them, or step through them one at a time.

5Measure Outcomes

A strategy needs measures that show whether it works. I would track three. Lead time for a new partner onboarding, from request to first production file; this captures the bottleneck problem directly. Incident rate and time to recover for integration flows, which shows whether the standards for error handling and observability help. And total platform cost, including licences, infrastructure and the people who run it.

I would publish these every quarter, together with the share of flows on the target platform. If the lead time falls from weeks to days and incidents do not rise, the strategy is working; if not, we adjust it at the next review.

6Follow-up questions

How would you fund the ESB exit?

Mostly from the ESB itself. I would build the case on the licence and support costs we stop paying, the specialist team we can redeploy, and the faster partner onboarding, which has business value. I would negotiate the licence renewal for a shorter term or smaller scope, move the flows that change most first so savings and speed come early, and present the exit as a series of funded waves, each paying back part of the next, instead of one large upfront budget.

Would you allow teams to keep using Camel if they know it well?

For existing flows, yes, until they need significant change. For new flows, I would ask teams to use the supported framework, because each extra tool adds support and skills cost. Exceptions are possible with a documented reason, such as a connector that only one framework provides.

How do you avoid recreating the ESB bottleneck with a platform team?

The platform team provides templates, standards and tools, but does not build or change the flows. Teams own their flows and deploy them on their own schedule, so no change waits in a central queue.

7Conclusion

In this answer, we built an integration strategy for a mixed estate. We inventoried flows by type and saw that each type has a natural fit, assessed the ESB on cost, lock-in, skills and change lead time, chose a small supported set with templates and standards for team-owned integration, planned the migration by value and risk starting with flows that change often, and defined measures: onboarding lead time, incidents and platform cost.

What to say in the interviewAbout 80 seconds aloud

Open with

I would make the decision from the flows, not from the tools. First, an inventory of every flow by type, owner, volume and how often it changes: file and B2B transfers, event streaming, request and reply, and batch.

Then, if they want more

Each type has a natural fit, file and partner flows in an EIP framework, events in Kafka, request and reply in plain HTTP code, batch in Spring Batch or the data platform, so one tool for everything would be the wrong goal. Second, an honest assessment of the ESB on licence cost, lock-in, skills and change lead time.

Central ESB teams often become the bottleneck, which argues for team-owned integration in code with shared standards. Third, a small supported set, for example Kafka plus one EIP framework, Spring Integration if we are a Spring shop, with templates, an observability starter, error handling with dead letters and replay, and a security baseline.

Fourth, migration by value and risk: flows that change often move first, stable ones stay until the old platform is retired, and hand-written Kafka consumers join the template when teams touch them. Finally, I would measure partner onboarding lead time, incident rate and platform cost every quarter and adjust.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Boot reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Your organisation has integration code in Spring Integration, Apache Camel, a commercial...": https://scrivio-interview-library.netlify.app/spring-boot/spring-projects/7c9d7dbd99/