This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch CAMEL-26196-keycloak-pojo-response
in repository https://gitbox.apache.org/repos/asf/camel.git
from 7b461286f7c4 CAMEL-26196: camel-keycloak - convert a pojoRequest body,
fail a create or delete with a non-2xx status, and close its Response
add adaefd1ae61e CAMEL-26298: camel-mcp-server - camel run --mcp-stdio
starts, and stdout carries the MCP protocol only (#28803)
add 31afb62070f0 CAMEL-26508: camel-netty - with transferExchange the
consumer keeps its own connection headers (#28991)
add 8a1fa14951b4 CAMEL-26172: camel-splunk-hec - send bytes, stream and
file bodies as text, and write the JSON before sending (#28998)
add 44791372edc9 CAMEL-26175: camel-odata - send JSON given as bytes, a
stream or a file as it is, fail an empty CREATE/UPDATE body, and read a
response that is not a JSON object (#29003)
add 7b14a24bcb4b CAMEL-26178: camel-coap - a body that does not convert to
a byte array fails instead of being sent as an empty payload (#29004)
add 9758b07ea6e4 CAMEL-26180: camel-plc4x - fail a write tag that is not a
Map of one address, and fail the exchange of the polling consumer for a tag
that cannot be read (#29007)
add ef1010574448 CAMEL-26186: camel-thrift - fail the call when the
consumer reply is null or does not convert, and map a single producer argument
like a List one (#29011)
add 91c23da3054b CAMEL-26181: camel-tahu - tahu-host gives one exchange
for each Sparkplug message, and tahu-edge publishes a text or bytes body as the
payload body (#29015)
add f42f4878fd80 CAMEL-26193: camel-printer - a body that does not convert
to a stream fails the exchange (#29016)
add 8002509c386f CAMEL-26190: camel-jgroups - a stream or a file body is
sent as its content, and another body that is not Serializable fails with a
hint (#29018)
add a8f899e05c8b CAMEL-26198: camel-ldap - fail clearly when a DirContext
bean was closed or is missing, and fix the embedded ApacheDS of the ITs (#29023)
add 542f006d0055 CAMEL-26206: camel-langchain4j-ingest - text mode ingests
the text of a TextSegment or Document body, and fails a body that is not text
(#29030)
add fce13c13dafc CAMEL-26212: camel-ai-resource - a List body with a
binary mimeType gives the conversion error that names the resource and the
mimeType (#29033)
add d54a633393f9 CAMEL-26209: camel-spring-ai-image - an ImagePrompt body
uses the endpoint options and headers, and an Image with only a URL fails to
convert to bytes (#29034)
add 046bf470fbfc CAMEL-26211: camel-djl - a cv or audio body without a
converter fails as not supported, nlp predictors take bytes and streams, and a
custom model is looked up once (#29037)
add 027739e6dfeb Merge remote-tracking branch 'origin/main' into
CAMEL-26196-keycloak-pojo-response
No new revisions were added by this update.
Summary of changes:
.../apache/camel/catalog/components/coap+tcp.json | 4 +-
.../org/apache/camel/catalog/components/coap.json | 4 +-
.../apache/camel/catalog/components/coaps+tcp.json | 4 +-
.../org/apache/camel/catalog/components/coaps.json | 4 +-
.../org/apache/camel/catalog/components/djl.json | 2 +-
.../apache/camel/catalog/components/jgroups.json | 2 +-
.../catalog/components/langchain4j-ingest.json | 2 +-
.../org/apache/camel/catalog/components/ldap.json | 2 +-
.../org/apache/camel/catalog/components/lpr.json | 2 +-
.../camel/catalog/components/netty-http.json | 4 +-
.../org/apache/camel/catalog/components/netty.json | 4 +-
.../org/apache/camel/catalog/components/odata.json | 6 +-
.../org/apache/camel/catalog/components/plc4x.json | 2 +-
.../camel/catalog/components/splunk-hec.json | 2 +-
.../camel/catalog/components/spring-ai-image.json | 4 +-
.../apache/camel/catalog/components/tahu-edge.json | 2 +-
.../apache/camel/catalog/components/thrift.json | 2 +-
.../apache/camel/catalog/docs/coap-component.adoc | 7 +-
.../apache/camel/catalog/docs/djl-component.adoc | 39 ++-
.../camel/catalog/docs/jgroups-component.adoc | 7 +
.../catalog/docs/langchain4j-ingest-component.adoc | 7 +
.../apache/camel/catalog/docs/ldap-component.adoc | 12 +-
.../org/apache/camel/catalog/docs/mcp-server.adoc | 11 +-
.../apache/camel/catalog/docs/odata-component.adoc | 15 +-
.../apache/camel/catalog/docs/plc4x-component.adoc | 24 +-
.../camel/catalog/docs/splunk-hec-component.adoc | 4 +
.../catalog/docs/spring-ai-image-component.adoc | 23 +-
.../camel/catalog/docs/tahu-edge-component.adoc | 8 +
.../camel/catalog/docs/tahu-host-component.adoc | 15 +-
.../camel/catalog/docs/thrift-component.adoc | 7 +
.../component/ai/resource/AiResourceExecutor.java | 25 +-
.../ai/resource/AiResourceExecutorTest.java | 38 +++
components/camel-ai/camel-djl/pom.xml | 6 +
.../org/apache/camel/component/djl/djl.json | 2 +-
.../camel-djl/src/main/docs/djl-component.adoc | 39 ++-
.../apache/camel/component/djl/DJLEndpoint.java | 22 +-
.../apache/camel/component/djl/DJLProducer.java | 6 +
.../djl/model/AbstractCustomPredictor.java | 75 ++++++
.../component/djl/model/AbstractPredictor.java | 8 +
.../djl/model/audio/CustomAudioPredictor.java | 31 +--
.../djl/model/audio/ZooAudioPredictor.java | 13 +-
.../djl/model/cv/AbstractCvZooPredictor.java | 13 +-
.../component/djl/model/cv/CustomCvPredictor.java | 31 +--
.../model/cv/CustomImageGenerationPredictor.java | 18 +-
.../djl/model/nlp/AbstractNlpZooPredictor.java | 14 +-
.../djl/model/nlp/CustomNlpPredictor.java | 32 +--
.../model/nlp/CustomQuestionAnswerPredictor.java | 18 +-
.../djl/model/tabular/CustomTabularPredictor.java | 18 +-
.../timeseries/CustomForecastingPredictor.java | 18 +-
.../component/djl/model/PredictorBodyTest.java | 280 +++++++++++++++++++++
.../langchain4j/ingest/langchain4j-ingest.json | 2 +-
.../main/docs/langchain4j-ingest-component.adoc | 7 +
.../ingest/LangChain4jIngestEndpoint.java | 10 +-
.../ingest/LangChain4jIngestProducer.java | 46 +++-
.../ingest/LangChain4jIngestProducerTest.java | 81 ++++++
components/camel-ai/camel-mcp-server/pom.xml | 5 +
.../camel-mcp-server/src/main/docs/mcp-server.adoc | 11 +-
.../mcp/server/stdio/StdioMcpServerEngine.java | 95 ++++++-
.../mcp/server/stdio/McpStdioHarnessMain.java | 40 +++
.../mcp/server/stdio/StdioMcpServerProcessIT.java | 64 ++++-
.../META-INF/org/apache/camel/coap/coap+tcp.json | 4 +-
.../META-INF/org/apache/camel/coap/coap.json | 4 +-
.../META-INF/org/apache/camel/coap/coaps+tcp.json | 4 +-
.../META-INF/org/apache/camel/coap/coaps.json | 4 +-
.../camel-coap/src/main/docs/coap-component.adoc | 7 +-
.../org/apache/camel/coap/CamelCoapResource.java | 4 +-
.../java/org/apache/camel/coap/CoAPEndpoint.java | 6 +-
.../java/org/apache/camel/coap/CoAPProducer.java | 16 +-
.../camel/coap/CoAPUnconvertibleBodyTest.java | 128 ++++++++++
.../apache/camel/component/jgroups/jgroups.json | 2 +-
.../src/main/docs/jgroups-component.adoc | 7 +
.../camel/component/jgroups/JGroupsEndpoint.java | 11 +-
.../camel/component/jgroups/JGroupsProducer.java | 25 ++
.../component/jgroups/JGroupsProducerBodyTest.java | 165 ++++++++++++
.../org/apache/camel/component/ldap/ldap.json | 2 +-
.../camel-ldap/src/main/docs/ldap-component.adoc | 12 +-
.../apache/camel/component/ldap/LdapEndpoint.java | 7 +-
.../apache/camel/component/ldap/LdapProducer.java | 16 ++
.../component/ldap/LdapProducerDirContextTest.java | 187 ++++++++++++++
.../server/core/integ5/DirectoryExtension.java | 29 ---
.../camel/component/netty/http/netty-http.json | 4 +-
.../org/apache/camel/component/netty/netty.json | 4 +-
.../camel/component/netty/NettyConfiguration.java | 11 +-
.../camel/component/netty/NettyPayloadHelper.java | 53 +++-
...NettyTransferExchangeConnectionHeadersTest.java | 157 ++++++++++++
.../org/apache/camel/component/odata/odata.json | 6 +-
.../camel-odata/src/main/docs/odata-component.adoc | 15 +-
.../camel/component/odata/ODataConfiguration.java | 2 +-
.../camel/component/odata/ODataEndpoint.java | 25 +-
.../apache/camel/component/odata/ODataHelper.java | 33 ++-
.../camel/component/odata/ODataProducer.java | 54 ++--
.../camel/component/odata/ODataProducerTest.java | 125 +++++++++
.../org/apache/camel/component/plc4x/plc4x.json | 2 +-
.../camel-plc4x/src/main/docs/plc4x-component.adoc | 24 +-
.../camel/component/plc4x/Plc4XEndpoint.java | 36 ++-
.../component/plc4x/Plc4XPollingConsumer.java | 4 +-
.../camel/component/plc4x/Plc4XProducer.java | 6 +-
.../camel/component/plc4x/Plc4XEndpointTest.java | 76 ++++++
.../camel/component/plc4x/Plc4XFailureTest.java | 44 ++++
.../org/apache/camel/component/printer/lpr.json | 2 +-
.../camel/component/printer/PrinterEndpoint.java | 2 +-
.../camel/component/printer/PrinterProducer.java | 4 +-
.../camel/component/printer/PrinterPrintTest.java | 3 +-
.../component/printer/PrinterProducerBodyTest.java | 154 ++++++++++++
.../camel/component/splunkhec/splunk-hec.json | 2 +-
.../src/main/docs/splunk-hec-component.adoc | 4 +
.../component/splunkhec/SplunkHECEndpoint.java | 7 +-
.../component/splunkhec/SplunkHECProducer.java | 36 ++-
.../splunkhec/SplunkHECProducerHttpTest.java | 99 ++++++++
.../component/springai/image/spring-ai-image.json | 4 +-
.../src/main/docs/spring-ai-image-component.adoc | 23 +-
.../springai/image/SpringAiImageConverter.java | 9 +-
.../springai/image/SpringAiImageEndpoint.java | 10 +-
.../springai/image/SpringAiImageProducer.java | 52 +++-
.../springai/image/SpringAiImageConverterTest.java | 98 ++++++++
.../springai/image/SpringAiImageProducerTest.java | 159 ++++++++++++
.../org/apache/camel/component/tahu/tahu-edge.json | 2 +-
.../src/main/docs/tahu-edge-component.adoc | 8 +
.../src/main/docs/tahu-host-component.adoc | 15 +-
.../camel/component/tahu/TahuEdgeEndpoint.java | 9 +-
.../component/tahu/TahuEdgePayloadConverter.java | 5 +-
.../camel/component/tahu/TahuEdgeProducer.java | 24 +-
.../camel/component/tahu/TahuHostConsumer.java | 11 +-
.../MultiTahuHostApplicationEventHandler.java | 18 +-
.../camel/component/tahu/FakeMqttBroker.java | 56 ++++-
.../component/tahu/TahuEdgeProducerBodyTest.java | 156 ++++++++++++
.../tahu/TahuHostConsumerMessageTest.java | 107 ++++++++
.../org/apache/camel/component/thrift/thrift.json | 2 +-
.../src/main/docs/thrift-component.adoc | 7 +
.../camel/component/thrift/ThriftEndpoint.java | 4 +-
.../apache/camel/component/thrift/ThriftUtils.java | 60 +++--
.../thrift/server/ThriftMethodHandler.java | 40 ++-
.../component/thrift/ThriftConsumerReplyTest.java | 176 +++++++++++++
.../camel/component/thrift/ThriftUtilsTest.java | 88 +++++++
.../ROOT/pages/camel-4x-upgrade-guide-4_24.adoc | 114 +++++++++
.../dsl/NettyComponentBuilderFactory.java | 8 +-
.../dsl/NettyHttpComponentBuilderFactory.java | 8 +-
.../builder/endpoint/StaticEndpointBuilders.java | 18 +-
.../endpoint/dsl/LdapEndpointBuilderFactory.java | 16 +-
.../endpoint/dsl/NettyEndpointBuilderFactory.java | 48 +++-
.../dsl/NettyHttpEndpointBuilderFactory.java | 48 +++-
.../endpoint/dsl/ODataEndpointBuilderFactory.java | 2 +
.../apache/camel/dsl/jbang/core/commands/Run.java | 9 +-
.../commands/RunMcpStdioConfigurationTest.java | 58 +++++
144 files changed, 3899 insertions(+), 506 deletions(-)
create mode 100644
components/camel-ai/camel-djl/src/main/java/org/apache/camel/component/djl/model/AbstractCustomPredictor.java
create mode 100644
components/camel-ai/camel-djl/src/test/java/org/apache/camel/component/djl/model/PredictorBodyTest.java
create mode 100644
components/camel-coap/src/test/java/org/apache/camel/coap/CoAPUnconvertibleBodyTest.java
create mode 100644
components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsProducerBodyTest.java
create mode 100644
components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapProducerDirContextTest.java
create mode 100644
components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyTransferExchangeConnectionHeadersTest.java
create mode 100644
components/camel-printer/src/test/java/org/apache/camel/component/printer/PrinterProducerBodyTest.java
create mode 100644
components/camel-spring-parent/camel-spring-ai/camel-spring-ai-image/src/test/java/org/apache/camel/component/springai/image/SpringAiImageConverterTest.java
create mode 100644
components/camel-spring-parent/camel-spring-ai/camel-spring-ai-image/src/test/java/org/apache/camel/component/springai/image/SpringAiImageProducerTest.java
create mode 100644
components/camel-tahu/src/test/java/org/apache/camel/component/tahu/TahuEdgeProducerBodyTest.java
create mode 100644
components/camel-tahu/src/test/java/org/apache/camel/component/tahu/TahuHostConsumerMessageTest.java
create mode 100644
components/camel-thrift/src/test/java/org/apache/camel/component/thrift/ThriftConsumerReplyTest.java
create mode 100644
components/camel-thrift/src/test/java/org/apache/camel/component/thrift/ThriftUtilsTest.java
create mode 100644
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/RunMcpStdioConfigurationTest.java