This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch fix/CAMEL-24981
in repository https://gitbox.apache.org/repos/asf/camel.git
from 36451b5a86ae CAMEL-24981: error handler uses the onException of the
current exception on redelivery
add 02912f4a62a7 CAMEL-24895: docs - sync camel-mustache/camel-chunk
header-alignment entry to 4_22 and 4_18 guides (#26809)
add 76f7a66f8330 chore: document the seven camel-jbang-mcp tools the page
was missing (#26820)
add 3a19bc2f7aab Bump actions/setup-java from 6.0.0 to 6.0.1
add 84ba2af92923 CAMEL-24871: Add JSON question resources and TypeSafe AI
integration tests (#26768)
add 7705d668cba0 CAMEL-24950: camel-seda - complete the exchanges
discarded by purging the queue
add 1ade96ec5d27 CAMEL-23664: camel-keycloak - Upgrade keycloak-client to
26.0.12 and keycloak-core to 26.7.4
add 4848699ace04 CAMEL-24433: camel-mail - sanitise the attachment name on
unmarshal and quote it on marshal (#26661)
add a3987f3f2884 Bump io.smallrye:smallrye-fault-tolerance-standalone
add b7b1a5bc173c Bump org.hibernate.validator:hibernate-validator
add 8e781863ab13 CAMEL-24941: camel-core - Aggregate EIP: check the closed
correlation key again under the lock
add 4cde7ce99276 CAMEL-24941: camel-core - Make the new test class
package-private
add 9d8866747c35 CAMEL-24941: camel-core - Assert that the producer
threads of the new test completed
add 9d2e245385cc Bump joda-time:joda-time from 2.14.3 to 2.14.4
add d987da9cc344 Bump com.github.ben-manes.caffeine:caffeine from 3.2.4 to
3.3.0
add 8676dc136975 chore: the groovy classpath message no longer suggests
//DEPS (#26827)
add 1f62876382f6 CAMEL-24986: a REST producer says which path parameter
has no value (#26831)
add a7dffe7a779e CAMEL-24825: fix REST OpenAPI missing/pathless servers
entry (#26801)
add 06ce5afd122a CAMEL-24946: camel-support -
KeyValueAggregationRepository should store the completed exchange for recovery
add 79100049c220 CAMEL-24928: camel-core - Throttle EIP with asyncDelayed
should not fail with NullPointerException when no permit is queued
add 7aec6a1a2b9b Revert "CAMEL-24986: a REST producer says which path
parameter has no value (#26831)"
add 56c40ea0035b CAMEL-24926: camel-core - Concurrent requests throttler
should not let more exchanges in than allowed after its state is cleaned
add cc6102541d92 CAMEL-24923: camel-core - Validate the distribution
ratios of the weighted load balancer
add 116bdd8fc7c1 CAMEL-24923: camel-core - Signal completion like the
other exits of QueueLoadBalancer.process
add 88a7e13e9f74 CAMEL-24923: camel-core - Validate the distribution
ratios in the weighted load balancer constructor
add 631fa9c68708 CAMEL-24924: camel-core - Failover load balancer without
processors should complete the exchange
add ef653a377b8c CAMEL-24924: camel-core - Complete the exchange without
processors like the other load balancers do
add fd4c5603c6ca CAMEL-24922: camel-core - Sticky failover without round
robin should also try the endpoints before the last good one
add 55f17fb9e468 CAMEL-24922: camel-core - Test sticky failover wrap
around with maximumFailoverAttempts
add 80210ce04b23 CAMEL-24922: camel-core - Stop sticky failover by
counting the endpoints tried
add 64e17e003b0c CAMEL-24953: camel-core - Idempotent Consumer: do not let
a routed duplicate remove or confirm the key
add c0291dc08f03 CAMEL-24953: camel-core - Make the new test class
package-private
add f80b68052fce CAMEL-24953: camel-core - Use
KeyValueIdempotentRepository in the new test and always release the blocked
exchange
add 95f445b47237 CAMEL-24927: camel-spring-xml - Add the long period route
to the Spring sampling throttler test
add 073c6cf7ec20 CAMEL-24976: camel-core - Type converter: fix bugs found
in a deep review (#26810)
add 648434b050c0 CAMEL-24978: camel-core - Internal processor advices: fix
bugs found in a deep review (#26811)
add 3e05fa644910 CAMEL-24960: camel-core - Fail a parallel multicast when
the thread pool rejects a sub-exchange task
add 1d40a5e7e6ca CAMEL-24960: camel-core - Make the new test class
package-private
add 48eb7c074a74 CAMEL-24960: camel-core - Do not fail a multicast
exchange that has already been completed
add be26e5930bc3 CAMEL-24960: camel-core - Log an exception that occurs
after the multicast exchange was completed
add 04d3b094f03d Merge remote-tracking branch 'origin/main' into
fix/CAMEL-24981
No new revisions were added by this update.
Summary of changes:
.github/workflows/dep-check.yml | 2 +-
.../camel/catalog/components/typesafe-ai.json | 36 +--
.../camel/catalog/docs/typesafe-ai-component.adoc | 58 ++++-
.../catalog/docs/weightedLoadBalancer-eip.adoc | 4 +
components/camel-ai/camel-typesafe-ai/pom.xml | 6 +
.../typesafeai/TypeSafeAiComponentConfigurer.java | 6 +
.../typesafeai/TypeSafeAiEndpointConfigurer.java | 6 +
.../typesafeai/TypeSafeAiEndpointUriFactory.java | 3 +-
.../camel/component/typesafeai/typesafe-ai.json | 36 +--
.../src/main/docs/typesafe-ai-component.adoc | 58 ++++-
.../typesafeai/TypeSafeAiConfiguration.java | 28 +++
.../component/typesafeai/TypeSafeAiEndpoint.java | 18 ++
.../schema/typesafe-ai-questions.schema.json | 66 +++++
.../typesafeai/TypeSafeAiExamplesSupport.java | 277 +++++++++++++++++++++
.../typesafeai/TypeSafeAiExamplesTest.java | 61 +++++
.../typesafeai/TypeSafeAiExternalServiceIT.java | 44 ++++
.../typesafeai/TypeSafeAiPropertiesTest.java | 32 +++
.../TypeSafeAiQuestionsResourceTest.java | 132 ++++++++++
.../resources/typesafe-ai/cascade-questions.json | 5 +
.../typesafe-ai/guard-input-questions.json | 4 +
.../typesafe-ai/guard-output-questions.json | 3 +
.../resources/typesafe-ai/invalid-questions.json | 1 +
.../resources/typesafe-ai/judge-questions.json | 5 +
.../typesafe-ai/quickstart-questions.json | 24 ++
.../test/resources/typesafe-ai/rag-questions.json | 6 +
.../resources/typesafe-ai/refund-questions.json | 1 +
.../typesafe-ai/tool-search-questions.json | 4 +
.../resources/typesafe-ai/triage-questions.json | 7 +
.../camel-ai/camel-typesafe-ai/test-execution.md | 61 +++++
.../camel/language/groovy/GroovyLanguage.java | 9 +-
components/camel-keycloak/pom.xml | 2 +-
.../apache/camel/component/mail/MailBinding.java | 9 +-
.../mime/multipart/MimeMultipartDataFormat.java | 10 +-
.../mail/MailAttachmentFileNameQuotingTest.java | 116 +++++++++
.../multipart/MimeMultipartDataFormatTest.java | 25 ++
.../resources/multipart-contentid-with-slash.txt | 13 +
.../test/resources/multipart-traversal-name.txt | 21 ++
.../vertx/PlatformHttpRestOpenApiConsumerTest.java | 40 +++
.../vertx/PlatformHttpRestPostmanConsumerTest.java | 40 +++
.../rest/openapi/RestOpenApiEndpoint.java | 16 +-
.../component/rest/openapi/RestOpenApiHelper.java | 7 +-
.../rest/openapi/RestOpenApiEndpointV3Test.java | 61 +++++
.../rest/postman/RestPostmanEndpoint.java | 5 +
.../apache/camel/component/seda/SedaEndpoint.java | 14 +-
.../camel/spring/processor/samplingThrottler.xml | 6 +
.../apache/camel/impl/engine/AdviceIterator.java | 29 ++-
.../camel/impl/engine/CamelInternalProcessor.java | 75 ++----
.../apache/camel/converter/DateTimeConverter.java | 1 +
.../org/apache/camel/converter/NIOConverter.java | 23 +-
.../apache/camel/converter/ObjectConverter.java | 28 ++-
.../camel/impl/converter/ArrayTypeConverter.java | 8 +-
.../impl/converter/CoreTypeConverterRegistry.java | 53 ++--
.../camel/impl/converter/EnumTypeConverter.java | 7 +
.../camel/impl/converter/FutureTypeConverter.java | 3 +
.../camel/impl/converter/TypeResolverHelper.java | 68 +++--
.../eips/pages/weightedLoadBalancer-eip.adoc | 4 +
.../processor/ConcurrentRequestsThrottler.java | 55 +++-
.../apache/camel/processor/MulticastProcessor.java | 77 ++++--
.../camel/processor/TotalRequestsThrottler.java | 6 +-
.../processor/aggregate/AggregateProcessor.java | 5 +
.../processor/idempotent/IdempotentConsumer.java | 27 +-
.../loadbalancer/FailOverLoadBalancer.java | 21 ++
.../processor/loadbalancer/QueueLoadBalancer.java | 9 +-
.../loadbalancer/WeightedLoadBalancer.java | 25 +-
.../SedaPurgeWhenStoppingWaitingProducerTest.java | 128 ++++++++++
.../camel/converter/DateTimeConverterTest.java | 1 +
.../apache/camel/converter/EnumConverterTest.java | 10 +
.../camel/converter/FutureConverterTest.java | 19 ++
.../apache/camel/converter/NIOConverterTest.java | 10 +
.../camel/converter/ObjectConverterTest.java | 17 ++
.../converter/CoreTypeConverterRegistryTest.java | 260 +++++++++++++++++++
.../engine/CamelInternalProcessorAdviceTest.java | 154 ++++++++++++
.../FailOverLoadBalanceNoProcessorsTest.java | 59 +++++
.../processor/FailoverStickyWrapAroundTest.java | 193 ++++++++++++++
.../IdempotentConsumerFailedDuplicateTest.java | 159 ++++++++++++
...ticastParallelSubTaskRejectedAfterDoneTest.java | 131 ++++++++++
.../MulticastParallelSubTaskRejectedTest.java | 103 ++++++++
.../WeightedLoadBalanceInvalidRatioTest.java | 107 ++++++++
.../AggregateClosedCorrelationKeyRaceTest.java | 222 +++++++++++++++++
.../AggregateKeyValueRepositoryRecoverTest.java | 66 +++++
...nExceptionChangedExceptionOnRedeliveryTest.java | 4 +-
.../ConcurrentRequestsThrottlerCleanTest.java | 173 +++++++++++++
.../ThrottlerAsyncDelayedNoPermitTest.java | 69 +++++
.../support/KeyValueAggregationRepositoryTest.java | 17 ++
.../BacklogTracerAggregateStandbyTest.java | 74 ++++++
.../management/ManagedProcessorSkipOverTest.java | 64 +++++
.../support/KeyValueAggregationRepository.java | 7 +-
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 36 +++
.../ROOT/pages/camel-4x-upgrade-guide-4_22.adoc | 38 +++
.../ROOT/pages/camel-4x-upgrade-guide-4_23.adoc | 64 +++++
.../modules/ROOT/pages/camel-jbang-mcp.adoc | 46 ++++
.../dsl/TypesafeAiComponentBuilderFactory.java | 18 ++
.../dsl/TypeSafeAiEndpointBuilderFactory.java | 16 ++
parent/pom.xml | 11 +-
test-infra/camel-test-infra-all/pom.xml | 11 +
.../camel-test-infra-typesafe-ai-mock/README.md | 34 +++
.../camel-test-infra-typesafe-ai-mock}/pom.xml | 38 +--
.../infra/typesafeai/mock/TypeSafeAiService.java | 263 +++++++++++++++++++
.../typesafeai/mock/TypeSafeAiServiceTest.java | 103 ++++++++
test-infra/pom.xml | 1 +
100 files changed, 4381 insertions(+), 257 deletions(-)
create mode 100644
components/camel-ai/camel-typesafe-ai/src/main/resources/schema/typesafe-ai-questions.schema.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/java/org/apache/camel/component/typesafeai/TypeSafeAiExamplesSupport.java
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/java/org/apache/camel/component/typesafeai/TypeSafeAiExamplesTest.java
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/java/org/apache/camel/component/typesafeai/TypeSafeAiExternalServiceIT.java
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/java/org/apache/camel/component/typesafeai/TypeSafeAiQuestionsResourceTest.java
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/cascade-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/guard-input-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/guard-output-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/invalid-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/judge-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/quickstart-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/rag-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/refund-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/tool-search-questions.json
create mode 100644
components/camel-ai/camel-typesafe-ai/src/test/resources/typesafe-ai/triage-questions.json
create mode 100644 components/camel-ai/camel-typesafe-ai/test-execution.md
create mode 100644
components/camel-mail/src/test/java/org/apache/camel/component/mail/MailAttachmentFileNameQuotingTest.java
create mode 100644
components/camel-mail/src/test/resources/multipart-contentid-with-slash.txt
create mode 100644
components/camel-mail/src/test/resources/multipart-traversal-name.txt
create mode 100644
core/camel-core/src/test/java/org/apache/camel/component/seda/SedaPurgeWhenStoppingWaitingProducerTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/impl/converter/CoreTypeConverterRegistryTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/impl/engine/CamelInternalProcessorAdviceTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/FailOverLoadBalanceNoProcessorsTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/FailoverStickyWrapAroundTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/IdempotentConsumerFailedDuplicateTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelSubTaskRejectedAfterDoneTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelSubTaskRejectedTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/WeightedLoadBalanceInvalidRatioTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateClosedCorrelationKeyRaceTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateKeyValueRepositoryRecoverTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/throttle/concurrent/ConcurrentRequestsThrottlerCleanTest.java
create mode 100644
core/camel-core/src/test/java/org/apache/camel/processor/throttle/requests/ThrottlerAsyncDelayedNoPermitTest.java
create mode 100644
core/camel-management/src/test/java/org/apache/camel/management/BacklogTracerAggregateStandbyTest.java
create mode 100644
core/camel-management/src/test/java/org/apache/camel/management/ManagedProcessorSkipOverTest.java
create mode 100644 test-infra/camel-test-infra-typesafe-ai-mock/README.md
copy {components/camel-ai/camel-typesafe-ai =>
test-infra/camel-test-infra-typesafe-ai-mock}/pom.xml (53%)
create mode 100644
test-infra/camel-test-infra-typesafe-ai-mock/src/main/java/org/apache/camel/test/infra/typesafeai/mock/TypeSafeAiService.java
create mode 100644
test-infra/camel-test-infra-typesafe-ai-mock/src/test/java/org/apache/camel/test/infra/typesafeai/mock/TypeSafeAiServiceTest.java