CAMEL-23063: Add camel-a2a component for Agent-to-Agent (A2A) protoco…#23711
Open
luigidemasi wants to merge 1 commit into
Open
CAMEL-23063: Add camel-a2a component for Agent-to-Agent (A2A) protoco…#23711luigidemasi wants to merge 1 commit into
luigidemasi wants to merge 1 commit into
Conversation
apupier
reviewed
Jun 2, 2026
| "description": "Camel A2A component for Agent-to-Agent protocol communication", | ||
| "deprecated": false, | ||
| "firstVersion": "4.21.0", | ||
| "label": "ai,a2a", |
Contributor
There was a problem hiding this comment.
What is the reason for the a2a label? Plan to have several agent to agents components?
What about ai and agent labels? maybe we will have some components acting as agents or doing agent to something else communication?
| return "oauth2"; | ||
| } | ||
| if (configuration.getBearerToken() != null) { | ||
| return "http"; |
Contributor
There was a problem hiding this comment.
Is it for both http and https?
Comment on lines
+56
to
+58
| .artifacts(task.artifacts != null ? new ArrayList<>(task.artifacts) : null) | ||
| .history(task.history != null ? new ArrayList<>(task.history) : null) | ||
| .metadata(task.metadata != null ? new HashMap<>(task.metadata) : null); |
Contributor
There was a problem hiding this comment.
What about providing empty List or Map instead of null?
it avoids having to check for nullness
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…l integration
Adds the
camel-a2acomponent implementing the A2A (Agent-to-Agent) protocol for Apache Camel. The component provides both producer and consumer support, enabling Camelroutes to participate in standardized agent-to-agent communication.
Features
/.well-known/agent-card.jsona2aText(),a2aData(),a2aFile())A2AProgress.emit()for status updates from any routeDemo
A multi-agent demo showcasing
camel-a2ain action is available at:https://github.com/luigidemasi/camel-a2a-morning-routine