Class A2ARemoteConfiguration

java.lang.Object
com.google.adk.webservice.A2ARemoteConfiguration

@Configuration @ComponentScan(basePackages="com.google.adk.webservice") public class A2ARemoteConfiguration extends Object
Registers the transport-only A2A webservice stack.

Importers must supply a BaseAgent bean. The agent remains opaque to this module so the transport can be reused across applications.

TODO:

  • Expose discovery endpoints (agent card / extended card) so clients can fetch metadata directly.
  • Add optional remote-proxy wiring for cases where no local agent bean is available.

**EXPERIMENTAL:** Subject to change, rename, or removal in any future patch release. Do not use in production code.

  • Constructor Details

    • A2ARemoteConfiguration

      public A2ARemoteConfiguration()
  • Method Details

    • a2aSendMessageExecutor

      @Bean public A2ASendMessageExecutor a2aSendMessageExecutor(BaseAgent agent, @Value("${a2a.remote.appName:a2a-remote-service}") String appName, @Value("${a2a.remote.timeoutSeconds:15}") long timeoutSeconds)