Separate incoming updates from agent workYou treat delivery and model execution as separate decisions. A resource subscription receives updates but never grants an agent permission to run.javaacademyacademy/topics/notifications-vs-subscriptionswebsite/content-src/academy/course.mjsacademySeparate incoming updates from agent work
You treat delivery and model execution as separate decisions. A resource subscription receives updates but never grants an agent permission to run.
7 focused minutesNot started
Unit example (nearest native match)
See the idea in context
AxMCPEventSource source=new AxMCPEventSource(client,"inventory","tenant:demo","authenticated",AxMCPEventSource.all());
runtime.start();
if(!completed.await(60,TimeUnit.SECONDS))throw new IllegalStateException("Timed out waiting for an MCP resource notification");
Discover the endpoint
The live catalog identifies concrete resources and supported event capabilities.
Apply subscription policy
Your application chooses which updates it actually wants.
Route through the inbox
An explicit event route decides whether the update only records state or wakes work.