Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
a2a
activemq
activemq6
ai-resource
ai-tool
alibaba-eventbridge
alibaba-fc
Expand Down Expand Up @@ -73,6 +74,7 @@ braintree
browse
caffeine-cache
caffeine-loadcache
camunda
chatscript
chunk
class
Expand Down Expand Up @@ -122,6 +124,7 @@ dynamic-router-control
ehcache
elasticsearch
elasticsearch-rest-client
event
exec
fhir
file
Expand Down Expand Up @@ -188,6 +191,7 @@ ibm-watson-language
ibm-watson-speech-to-text
ibm-watson-text-to-speech
ibm-watsonx-ai
ibm-watsonx-data
iggy
ignite-cache
ignite-compute
Expand Down Expand Up @@ -246,6 +250,7 @@ langchain4j-agent
langchain4j-chat
langchain4j-embeddings
langchain4j-embeddingstore
langchain4j-ingest
langchain4j-web-search
language
ldap
Expand Down Expand Up @@ -300,6 +305,7 @@ paho-mqtt5
pdf
pg-replication-slot
pgevent
pgvector
pinecone
platform-http
plc4x
Expand Down Expand Up @@ -330,6 +336,7 @@ seda
servicenow
servlet
sftp
shell
sjms
sjms2
slack
Expand All @@ -341,6 +348,7 @@ smtp
smtps
snmp
solr
spiffe
splunk-hec
spring-ai-chat
spring-ai-embeddings
Expand All @@ -356,6 +364,7 @@ spring-ws
sql
sql-stored
ssh
state-store
stax
stitch
stomp
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"component": {
"kind": "component",
"name": "ai-resource",
"title": "AI Resource",
"description": "Framework-agnostic consumer endpoint that registers a Camel route as a read-only AI resource in the shared AiResourceRegistry.",
"deprecated": false,
"firstVersion": "4.23.0",
"label": "ai",
"javaType": "org.apache.camel.component.ai.resource.AiResourceComponent",
"supportLevel": "Preview",
"groupId": "org.apache.camel.springboot",
"artifactId": "camel-ai-resource-starter",
"version": "4.23.0-SNAPSHOT",
"scheme": "ai-resource",
"extendsScheme": "",
"syntax": "ai-resource:resourceName",
"async": false,
"api": false,
"consumerOnly": true,
"producerOnly": false,
"lenientProperties": false,
"browsable": false,
"remote": false
},
"componentProperties": {
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
"configuration": { "index": 1, "kind": "property", "displayName": "Configuration", "group": "consumer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configuration" },
"description": { "index": 2, "kind": "property", "displayName": "Description", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Human-readable description of what this resource contains. Passed verbatim to the client. When omitted, defaults to the resource name." },
"mimeType": { "index": 3, "kind": "property", "displayName": "Mime Type", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": "text\/plain", "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "MIME type of the content the route produces. Types denoting text, such as any text subtype, application\/json, and any subtype ending in json, xml or yaml, are read as a string. Every other type is read as raw bytes and delivered to clients as a binary blob." },
"resourceUri": { "index": 4, "kind": "property", "displayName": "Resource Uri", "group": "consumer", "label": "consumer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "The resource uri clients use to read this resource, for example camel:\/\/\/config\/app.json or s3:\/\/reports\/latest.pdf. It must be unique within the CamelContext and is what an MCP client sends in a resources\/read request." },
"tags": { "index": 5, "kind": "property", "displayName": "Tags", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Comma-separated list of tags used to group resources. Adapters filter the registry by these tags to select which resources to expose. When omitted, the resource goes into a default pool which camel-mcp-server never exposes." },
"title": { "index": 6, "kind": "property", "displayName": "Title", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Optional display title for resource listings. Advisory hint for clients only." },
"autowiredEnabled": { "index": 7, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." }
},
"properties": {
"resourceName": { "index": 0, "kind": "path", "displayName": "Resource Name", "group": "consumer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The resource name. This is the human-readable label clients see in resource listings." },
"description": { "index": 1, "kind": "parameter", "displayName": "Description", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Human-readable description of what this resource contains. Passed verbatim to the client. When omitted, defaults to the resource name." },
"mimeType": { "index": 2, "kind": "parameter", "displayName": "Mime Type", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "defaultValue": "text\/plain", "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "MIME type of the content the route produces. Types denoting text, such as any text subtype, application\/json, and any subtype ending in json, xml or yaml, are read as a string. Every other type is read as raw bytes and delivered to clients as a binary blob." },
"resourceUri": { "index": 3, "kind": "parameter", "displayName": "Resource Uri", "group": "consumer", "label": "consumer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "The resource uri clients use to read this resource, for example camel:\/\/\/config\/app.json or s3:\/\/reports\/latest.pdf. It must be unique within the CamelContext and is what an MCP client sends in a resources\/read request." },
"tags": { "index": 4, "kind": "parameter", "displayName": "Tags", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Comma-separated list of tags used to group resources. Adapters filter the registry by these tags to select which resources to expose. When omitted, the resource goes into a default pool which camel-mcp-server never exposes." },
"title": { "index": 5, "kind": "parameter", "displayName": "Title", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.ai.resource.AiResourceConfiguration", "configurationField": "configuration", "description": "Optional display title for resource listings. Advisory hint for clients only." },
"bridgeErrorHandler": { "index": 6, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
"exceptionHandler": { "index": 7, "kind": "parameter", "displayName": "Exception Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", "deprecated": false, "autowired": false, "secret": false, "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored." },
"exchangePattern": { "index": 8, "kind": "parameter", "displayName": "Exchange Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "enum", "javaType": "org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], "deprecated": false, "autowired": false, "secret": false, "description": "Sets the exchange pattern when the consumer creates an exchange." }
}
}
Loading
Loading