You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gi...@apache.org on 2024/02/28 14:13:19 UTC
(camel-website-pub) 02/02: Website updated to 5821f692c523d54e73546644c2dcb402bf588db5
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git
commit 1887f2d575abcfdb8c18fe91b128da48ddf854f3
Author: jenkins <bu...@apache.org>
AuthorDate: Wed Feb 28 14:12:16 2024 +0000
Website updated to 5821f692c523d54e73546644c2dcb402bf588db5
---
.htaccess | 222 +-
.well-known/security.txt | 2 +-
camel-k/next/apis/camel-k.html | 2 +-
camel-k/next/contributing/uninstalling.html | 3 +-
camel-k/next/installation/advanced/multi.html | 6 +-
camel-k/next/running/quarkus-native.html | 2 +-
camel-k/next/traits/knative.html | 2 +-
.../next/contributor-guide/release-guide.html | 2 +-
camel-quarkus/next/reference/dataformats.html | 2 +-
.../next/reference/extensions/beanio.html | 2 +-
camel-quarkus/next/reference/index.html | 2 +-
camel-spring-boot/next/list.html | 2 +-
components/4.4.x/eips/aggregate-eip.html | 42 +-
components/4.4.x/eips/bean-eip.html | 8 +-
components/4.4.x/eips/change-data-capture.html | 2 +-
components/4.4.x/eips/channel-adapter.html | 4 +-
components/4.4.x/eips/choice-eip.html | 10 +-
components/4.4.x/eips/circuitBreaker-eip.html | 4 +-
components/4.4.x/eips/claimCheck-eip.html | 2 +-
components/4.4.x/eips/competing-consumers.html | 8 +-
.../4.4.x/eips/composed-message-processor.html | 6 +-
components/4.4.x/eips/content-enricher.html | 8 +-
components/4.4.x/eips/content-filter-eip.html | 4 +-
components/4.4.x/eips/convertBodyTo-eip.html | 2 +-
components/4.4.x/eips/convertHeaderTo-eip.html | 4 +-
components/4.4.x/eips/convertVariableTo-eip.html | 4 +-
components/4.4.x/eips/correlation-identifier.html | 2 +-
components/4.4.x/eips/customLoadBalancer-eip.html | 2 +-
components/4.4.x/eips/dead-letter-channel.html | 30 +-
components/4.4.x/eips/delay-eip.html | 6 +-
components/4.4.x/eips/dynamicRouter-eip.html | 4 +-
components/4.4.x/eips/enrich-eip.html | 8 +-
.../eips/enterprise-integration-patterns.html | 2 +-
components/4.4.x/eips/event-message.html | 6 +-
components/4.4.x/eips/eventDrivenConsumer-eip.html | 2 +-
components/4.4.x/eips/failover-eip.html | 14 +-
components/4.4.x/eips/fault-tolerance-eip.html | 10 +-
components/4.4.x/eips/filter-eip.html | 6 +-
components/4.4.x/eips/from-eip.html | 2 +-
components/4.4.x/eips/guaranteed-delivery.html | 2 +-
components/4.4.x/eips/idempotentConsumer-eip.html | 2 +-
components/4.4.x/eips/intercept.html | 42 +-
components/4.4.x/eips/kamelet-eip.html | 8 +-
components/4.4.x/eips/loadBalance-eip.html | 2 +-
components/4.4.x/eips/log-eip.html | 24 +-
components/4.4.x/eips/loop-eip.html | 4 +-
components/4.4.x/eips/marshal-eip.html | 2 +-
components/4.4.x/eips/message-broker.html | 2 +-
components/4.4.x/eips/message-bus.html | 2 +-
components/4.4.x/eips/message-dispatcher.html | 2 +-
components/4.4.x/eips/message-endpoint.html | 2 +-
components/4.4.x/eips/message-expiration.html | 2 +-
components/4.4.x/eips/message-history.html | 22 +-
components/4.4.x/eips/message-router.html | 2 +-
components/4.4.x/eips/message-translator.html | 6 +-
components/4.4.x/eips/message.html | 2 +-
components/4.4.x/eips/messaging-gateway.html | 2 +-
components/4.4.x/eips/messaging-mapper.html | 2 +-
components/4.4.x/eips/multicast-eip.html | 10 +-
components/4.4.x/eips/normalizer.html | 34 +-
components/4.4.x/eips/onFallback-eip.html | 2 +-
components/4.4.x/eips/pipeline-eip.html | 6 +-
components/4.4.x/eips/point-to-point-channel.html | 2 +-
components/4.4.x/eips/pollEnrich-eip.html | 8 +-
components/4.4.x/eips/polling-consumer.html | 4 +-
components/4.4.x/eips/process-eip.html | 12 +-
components/4.4.x/eips/process-manager.html | 2 +-
.../4.4.x/eips/publish-subscribe-channel.html | 2 +-
components/4.4.x/eips/random-eip.html | 2 +-
components/4.4.x/eips/recipientList-eip.html | 18 +-
components/4.4.x/eips/removeHeader-eip.html | 2 +-
components/4.4.x/eips/removeHeaders-eip.html | 2 +-
components/4.4.x/eips/removeProperties-eip.html | 2 +-
components/4.4.x/eips/removeProperty-eip.html | 2 +-
components/4.4.x/eips/requestReply-eip.html | 4 +-
components/4.4.x/eips/resequence-eip.html | 36 +-
components/4.4.x/eips/resilience4j-eip.html | 8 +-
components/4.4.x/eips/resume-strategies.html | 12 +-
components/4.4.x/eips/rollback-eip.html | 6 +-
components/4.4.x/eips/roundRobin-eip.html | 4 +-
components/4.4.x/eips/routingSlip-eip.html | 2 +-
components/4.4.x/eips/saga-eip.html | 28 +-
components/4.4.x/eips/sample-eip.html | 6 +-
components/4.4.x/eips/scatter-gather.html | 10 +-
components/4.4.x/eips/script-eip.html | 4 +-
components/4.4.x/eips/selective-consumer.html | 4 +-
components/4.4.x/eips/serviceCall-eip.html | 10 +-
components/4.4.x/eips/setBody-eip.html | 4 +-
components/4.4.x/eips/setHeader-eip.html | 4 +-
components/4.4.x/eips/setHeaders-eip.html | 6 +-
components/4.4.x/eips/setProperty-eip.html | 6 +-
components/4.4.x/eips/setVariable-eip.html | 4 +-
components/4.4.x/eips/sort-eip.html | 6 +-
components/4.4.x/eips/split-eip.html | 42 +-
components/4.4.x/eips/step-eip.html | 6 +-
components/4.4.x/eips/sticky-eip.html | 2 +-
components/4.4.x/eips/stop-eip.html | 2 +-
components/4.4.x/eips/threads-eip.html | 4 +-
components/4.4.x/eips/throttle-eip.html | 8 +-
components/4.4.x/eips/to-eip.html | 2 +-
components/4.4.x/eips/toD-eip.html | 16 +-
components/4.4.x/eips/topic-eip.html | 6 +-
components/4.4.x/eips/transactional-client.html | 26 +-
components/4.4.x/eips/transform-eip.html | 4 +-
components/4.4.x/eips/unmarshal-eip.html | 4 +-
components/4.4.x/eips/validate-eip.html | 4 +-
components/4.4.x/eips/weighted-eip.html | 6 +-
components/4.4.x/eips/wireTap-eip.html | 6 +-
components/next/activemq-component.html | 2 +-
components/next/amqp-component.html | 2 +-
components/next/arangodb-component.html | 2 +-
components/next/as2-component.html | 2 +-
components/next/asterisk-component.html | 2 +-
.../next/atmosphere-websocket-component.html | 2 +-
components/next/atom-component.html | 2 +-
components/next/avro-component.html | 2 +-
components/next/aws-bedrock-component.html | 69 +
components/next/aws-cloudtrail-component.html | 2 +-
components/next/aws-config-component.html | 2 +-
components/next/aws-secrets-manager-component.html | 2 +-
components/next/aws-summary.html | 2 +-
components/next/aws2-athena-component.html | 2 +-
components/next/aws2-cw-component.html | 2 +-
components/next/aws2-ddb-component.html | 2 +-
components/next/aws2-ddbstream-component.html | 2 +-
components/next/aws2-ec2-component.html | 2 +-
components/next/aws2-ecs-component.html | 2 +-
components/next/aws2-eks-component.html | 2 +-
components/next/aws2-eventbridge-component.html | 2 +-
components/next/aws2-iam-component.html | 2 +-
components/next/aws2-kinesis-component.html | 2 +-
.../next/aws2-kinesis-firehose-component.html | 2 +-
components/next/aws2-kms-component.html | 2 +-
components/next/aws2-lambda-component.html | 2 +-
components/next/aws2-mq-component.html | 2 +-
components/next/aws2-msk-component.html | 2 +-
components/next/aws2-redshift-data-component.html | 2 +-
components/next/aws2-s3-component.html | 2 +-
components/next/aws2-ses-component.html | 2 +-
components/next/aws2-sns-component.html | 2 +-
components/next/aws2-sqs-component.html | 2 +-
components/next/aws2-step-functions-component.html | 2 +-
components/next/aws2-sts-component.html | 2 +-
components/next/aws2-timestream-component.html | 2 +-
components/next/aws2-translate-component.html | 2 +-
components/next/azure-cosmosdb-component.html | 2 +-
components/next/azure-eventhubs-component.html | 2 +-
components/next/azure-files-component.html | 2 +-
components/next/azure-key-vault-component.html | 2 +-
components/next/azure-servicebus-component.html | 2 +-
components/next/azure-storage-blob-component.html | 2 +-
.../next/azure-storage-datalake-component.html | 2 +-
components/next/azure-storage-queue-component.html | 2 +-
components/next/azure-summary.html | 2 +-
components/next/bean-component.html | 2 +-
components/next/bean-validator-component.html | 2 +-
components/next/bonita-component.html | 2 +-
components/next/box-component.html | 2 +-
components/next/braintree-component.html | 2 +-
components/next/browse-component.html | 2 +-
components/next/caffeine-cache-component.html | 2 +-
components/next/caffeine-loadcache-component.html | 2 +-
components/next/chatscript-component.html | 2 +-
components/next/chunk-component.html | 2 +-
components/next/class-component.html | 2 +-
components/next/cm-sms-component.html | 2 +-
components/next/coap-component.html | 2 +-
components/next/cometd-component.html | 2 +-
components/next/consul-component.html | 2 +-
components/next/controlbus-component.html | 2 +-
components/next/couchbase-component.html | 2 +-
components/next/couchdb-component.html | 2 +-
components/next/cql-component.html | 2 +-
components/next/cron-component.html | 2 +-
components/next/crypto-component.html | 2 +-
components/next/cxf-component.html | 2 +-
components/next/cxfrs-component.html | 2 +-
components/next/dataformat-component.html | 2 +-
components/next/dataformats/asn1-dataformat.html | 2 +-
components/next/dataformats/avro-dataformat.html | 2 +-
.../next/dataformats/avroJackson-dataformat.html | 2 +-
.../next/dataformats/barcode-dataformat.html | 2 +-
components/next/dataformats/base64-dataformat.html | 2 +-
components/next/dataformats/beanio-dataformat.html | 2 +-
components/next/dataformats/bindy-dataformat.html | 2 +-
components/next/dataformats/cbor-dataformat.html | 2 +-
components/next/dataformats/crypto-dataformat.html | 2 +-
components/next/dataformats/csv-dataformat.html | 2 +-
.../next/dataformats/fastjson-dataformat.html | 2 +-
.../next/dataformats/fhirJson-dataformat.html | 2 +-
.../next/dataformats/fhirXml-dataformat.html | 2 +-
.../next/dataformats/flatpack-dataformat.html | 2 +-
components/next/dataformats/grok-dataformat.html | 2 +-
components/next/dataformats/gson-dataformat.html | 2 +-
.../next/dataformats/gzipDeflater-dataformat.html | 2 +-
components/next/dataformats/hl7-dataformat.html | 2 +-
components/next/dataformats/ical-dataformat.html | 2 +-
components/next/dataformats/index.html | 2 +-
.../next/dataformats/jackson-dataformat.html | 2 +-
.../next/dataformats/jacksonXml-dataformat.html | 2 +-
components/next/dataformats/jaxb-dataformat.html | 2 +-
.../next/dataformats/jsonApi-dataformat.html | 2 +-
components/next/dataformats/jsonb-dataformat.html | 2 +-
components/next/dataformats/lzf-dataformat.html | 2 +-
.../next/dataformats/mimeMultipart-dataformat.html | 2 +-
.../next/dataformats/parquetAvro-dataformat.html | 2 +-
components/next/dataformats/pgp-dataformat.html | 2 +-
.../next/dataformats/protobuf-dataformat.html | 2 +-
.../dataformats/protobufJackson-dataformat.html | 2 +-
components/next/dataformats/rss-dataformat.html | 2 +-
.../next/dataformats/snakeYaml-dataformat.html | 2 +-
components/next/dataformats/soap-dataformat.html | 2 +-
.../next/dataformats/swiftMt-dataformat.html | 2 +-
.../next/dataformats/swiftMx-dataformat.html | 2 +-
components/next/dataformats/syslog-dataformat.html | 2 +-
.../next/dataformats/tarFile-dataformat.html | 2 +-
components/next/dataformats/thrift-dataformat.html | 2 +-
.../next/dataformats/univocityCsv-dataformat.html | 2 +-
.../dataformats/univocityFixed-dataformat.html | 2 +-
.../next/dataformats/univocityTsv-dataformat.html | 2 +-
.../next/dataformats/xmlSecurity-dataformat.html | 2 +-
.../next/dataformats/zipDeflater-dataformat.html | 2 +-
.../next/dataformats/zipFile-dataformat.html | 2 +-
components/next/dataset-component.html | 2 +-
components/next/dataset-test-component.html | 2 +-
components/next/debezium-db2-component.html | 2 +-
components/next/debezium-mongodb-component.html | 2 +-
components/next/debezium-mysql-component.html | 2 +-
components/next/debezium-oracle-component.html | 2 +-
components/next/debezium-postgres-component.html | 2 +-
components/next/debezium-sqlserver-component.html | 2 +-
components/next/debezium-summary.html | 2 +-
components/next/dhis2-component.html | 2 +-
components/next/digitalocean-component.html | 2 +-
components/next/direct-component.html | 2 +-
components/next/disruptor-component.html | 2 +-
components/next/disruptor-vm-component.html | 2 +-
components/next/djl-component.html | 2 +-
components/next/dns-component.html | 2 +-
components/next/docker-component.html | 2 +-
components/next/drill-component.html | 2 +-
components/next/dropbox-component.html | 2 +-
components/next/dynamic-router-component.html | 2 +-
.../next/dynamic-router-control-component.html | 2 +-
components/next/ehcache-component.html | 2 +-
components/next/eips/aggregate-eip.html | 2 +-
components/next/eips/batchConfig-eip.html | 2 +-
components/next/eips/bean-eip.html | 2 +-
components/next/eips/change-data-capture.html | 2 +-
components/next/eips/channel-adapter.html | 2 +-
components/next/eips/choice-eip.html | 2 +-
components/next/eips/circuitBreaker-eip.html | 2 +-
components/next/eips/claimCheck-eip.html | 2 +-
components/next/eips/competing-consumers.html | 2 +-
.../next/eips/composed-message-processor.html | 2 +-
components/next/eips/content-enricher.html | 2 +-
components/next/eips/content-filter-eip.html | 2 +-
components/next/eips/convertBodyTo-eip.html | 2 +-
components/next/eips/convertHeaderTo-eip.html | 2 +-
components/next/eips/convertVariableTo-eip.html | 2 +-
components/next/eips/correlation-identifier.html | 2 +-
components/next/eips/customLoadBalancer-eip.html | 2 +-
components/next/eips/dead-letter-channel.html | 2 +-
components/next/eips/delay-eip.html | 2 +-
components/next/eips/durable-subscriber.html | 2 +-
components/next/eips/dynamicRouter-eip.html | 2 +-
components/next/eips/enrich-eip.html | 2 +-
.../next/eips/enterprise-integration-patterns.html | 2 +-
components/next/eips/event-message.html | 2 +-
components/next/eips/eventDrivenConsumer-eip.html | 2 +-
components/next/eips/failover-eip.html | 2 +-
components/next/eips/fault-tolerance-eip.html | 2 +-
.../next/eips/faultToleranceConfiguration-eip.html | 2 +-
components/next/eips/filter-eip.html | 2 +-
components/next/eips/from-eip.html | 2 +-
components/next/eips/guaranteed-delivery.html | 2 +-
components/next/eips/idempotentConsumer-eip.html | 2 +-
components/next/eips/intercept.html | 2 +-
components/next/eips/kamelet-eip.html | 2 +-
components/next/eips/loadBalance-eip.html | 2 +-
components/next/eips/log-eip.html | 14 +-
components/next/eips/loop-eip.html | 2 +-
components/next/eips/marshal-eip.html | 2 +-
components/next/eips/message-broker.html | 2 +-
components/next/eips/message-bus.html | 2 +-
components/next/eips/message-channel.html | 2 +-
components/next/eips/message-dispatcher.html | 2 +-
components/next/eips/message-endpoint.html | 2 +-
components/next/eips/message-expiration.html | 2 +-
components/next/eips/message-history.html | 2 +-
components/next/eips/message-router.html | 2 +-
components/next/eips/message-translator.html | 2 +-
components/next/eips/message.html | 2 +-
components/next/eips/messaging-bridge.html | 2 +-
components/next/eips/messaging-gateway.html | 2 +-
components/next/eips/messaging-mapper.html | 2 +-
components/next/eips/multicast-eip.html | 2 +-
components/next/eips/normalizer.html | 2 +-
components/next/eips/onFallback-eip.html | 2 +-
components/next/eips/pipeline-eip.html | 2 +-
components/next/eips/point-to-point-channel.html | 2 +-
components/next/eips/pollEnrich-eip.html | 8 +-
components/next/eips/polling-consumer.html | 4 +-
components/next/eips/process-eip.html | 12 +-
components/next/eips/process-manager.html | 2 +-
.../next/eips/publish-subscribe-channel.html | 2 +-
components/next/eips/random-eip.html | 2 +-
components/next/eips/recipientList-eip.html | 18 +-
components/next/eips/removeHeader-eip.html | 4 +-
components/next/eips/removeHeaders-eip.html | 4 +-
components/next/eips/removeProperties-eip.html | 4 +-
components/next/eips/removeProperty-eip.html | 4 +-
components/next/eips/removeVariable-eip.html | 2 +-
components/next/eips/requestReply-eip.html | 4 +-
components/next/eips/resequence-eip.html | 36 +-
components/next/eips/resilience4j-eip.html | 8 +-
.../next/eips/resilience4jConfiguration-eip.html | 2 +-
components/next/eips/resume-strategies.html | 12 +-
components/next/eips/return-address.html | 2 +-
components/next/eips/rollback-eip.html | 6 +-
components/next/eips/roundRobin-eip.html | 4 +-
components/next/eips/routingSlip-eip.html | 4 +-
components/next/eips/saga-eip.html | 28 +-
components/next/eips/sample-eip.html | 6 +-
components/next/eips/scatter-gather.html | 10 +-
components/next/eips/script-eip.html | 4 +-
components/next/eips/selective-consumer.html | 4 +-
components/next/eips/service-activator.html | 2 +-
components/next/eips/serviceCall-eip.html | 10 +-
components/next/eips/setBody-eip.html | 4 +-
components/next/eips/setHeader-eip.html | 6 +-
components/next/eips/setHeaders-eip.html | 6 +-
components/next/eips/setProperty-eip.html | 6 +-
components/next/eips/setVariable-eip.html | 4 +-
components/next/eips/sort-eip.html | 6 +-
components/next/eips/split-eip.html | 42 +-
components/next/eips/step-eip.html | 6 +-
components/next/eips/sticky-eip.html | 2 +-
components/next/eips/stop-eip.html | 2 +-
components/next/eips/streamConfig-eip.html | 2 +-
components/next/eips/threads-eip.html | 4 +-
components/next/eips/throttle-eip.html | 8 +-
components/next/eips/to-eip.html | 2 +-
components/next/eips/toD-eip.html | 16 +-
components/next/eips/topic-eip.html | 6 +-
components/next/eips/transactional-client.html | 26 +-
components/next/eips/transform-eip.html | 4 +-
components/next/eips/unmarshal-eip.html | 4 +-
components/next/eips/validate-eip.html | 4 +-
components/next/eips/weighted-eip.html | 6 +-
components/next/eips/wireTap-eip.html | 6 +-
components/next/elasticsearch-component.html | 2 +-
.../next/elasticsearch-rest-client-component.html | 2 +-
components/next/etcd3-component.html | 2 +-
components/next/exec-component.html | 2 +-
components/next/fhir-component.html | 2 +-
components/next/file-component.html | 2 +-
components/next/file-watch-component.html | 2 +-
components/next/flatpack-component.html | 2 +-
components/next/flink-component.html | 2 +-
components/next/fop-component.html | 2 +-
components/next/freemarker-component.html | 2 +-
components/next/ftp-component.html | 2 +-
components/next/ftps-component.html | 2 +-
components/next/geocoder-component.html | 2 +-
components/next/git-component.html | 2 +-
components/next/github-component.html | 2 +-
components/next/google-bigquery-component.html | 2 +-
components/next/google-bigquery-sql-component.html | 2 +-
components/next/google-calendar-component.html | 2 +-
.../next/google-calendar-stream-component.html | 2 +-
components/next/google-drive-component.html | 2 +-
components/next/google-functions-component.html | 2 +-
components/next/google-mail-component.html | 2 +-
components/next/google-mail-stream-component.html | 2 +-
components/next/google-pubsub-component.html | 2 +-
.../next/google-secret-manager-component.html | 2 +-
components/next/google-sheets-component.html | 2 +-
.../next/google-sheets-stream-component.html | 2 +-
components/next/google-storage-component.html | 2 +-
components/next/google-summary.html | 2 +-
components/next/grape-component.html | 2 +-
components/next/graphql-component.html | 2 +-
components/next/grpc-component.html | 2 +-
components/next/guava-eventbus-component.html | 2 +-
components/next/hashicorp-vault-component.html | 2 +-
.../next/hazelcast-atomicvalue-component.html | 2 +-
components/next/hazelcast-instance-component.html | 2 +-
components/next/hazelcast-list-component.html | 2 +-
components/next/hazelcast-map-component.html | 2 +-
components/next/hazelcast-multimap-component.html | 2 +-
components/next/hazelcast-queue-component.html | 2 +-
.../next/hazelcast-replicatedmap-component.html | 2 +-
.../next/hazelcast-ringbuffer-component.html | 2 +-
components/next/hazelcast-seda-component.html | 2 +-
components/next/hazelcast-set-component.html | 2 +-
components/next/hazelcast-summary.html | 2 +-
components/next/hazelcast-topic-component.html | 2 +-
components/next/http-component.html | 2 +-
components/next/hwcloud-dms-component.html | 2 +-
components/next/hwcloud-frs-component.html | 2 +-
.../next/hwcloud-functiongraph-component.html | 2 +-
components/next/hwcloud-iam-component.html | 2 +-
.../next/hwcloud-imagerecognition-component.html | 2 +-
components/next/hwcloud-obs-component.html | 2 +-
components/next/hwcloud-smn-component.html | 2 +-
components/next/hwcloud-summary.html | 2 +-
components/next/iec60870-client-component.html | 2 +-
components/next/iec60870-server-component.html | 2 +-
components/next/ignite-cache-component.html | 2 +-
components/next/ignite-compute-component.html | 2 +-
components/next/ignite-events-component.html | 2 +-
components/next/ignite-idgen-component.html | 2 +-
components/next/ignite-messaging-component.html | 2 +-
components/next/ignite-queue-component.html | 2 +-
components/next/ignite-set-component.html | 2 +-
components/next/ignite-summary.html | 2 +-
components/next/index.html | 2 +-
components/next/infinispan-component.html | 2 +-
components/next/infinispan-embedded-component.html | 2 +-
components/next/influxdb-component.html | 2 +-
components/next/influxdb2-component.html | 2 +-
components/next/irc-component.html | 2 +-
components/next/ironmq-component.html | 2 +-
components/next/jcache-component.html | 2 +-
components/next/jcr-component.html | 2 +-
components/next/jdbc-component.html | 2 +-
components/next/jetty-component.html | 2 +-
components/next/jgroups-component.html | 2 +-
components/next/jgroups-raft-component.html | 2 +-
components/next/jira-component.html | 2 +-
components/next/jms-component.html | 2 +-
components/next/jmx-component.html | 2 +-
components/next/jolt-component.html | 2 +-
components/next/jooq-component.html | 2 +-
components/next/jpa-component.html | 2 +-
components/next/jslt-component.html | 2 +-
components/next/json-patch-component.html | 2 +-
components/next/json-validator-component.html | 2 +-
components/next/jsonata-component.html | 2 +-
components/next/jt400-component.html | 2 +-
components/next/jte-component.html | 2 +-
components/next/kafka-component.html | 2 +-
components/next/kamelet-component.html | 2 +-
components/next/knative-component.html | 2 +-
.../next/kubernetes-config-maps-component.html | 2 +-
components/next/kubernetes-cronjob-component.html | 2 +-
.../kubernetes-custom-resources-component.html | 2 +-
.../next/kubernetes-deployments-component.html | 2 +-
components/next/kubernetes-events-component.html | 2 +-
components/next/kubernetes-hpa-component.html | 2 +-
components/next/kubernetes-job-component.html | 2 +-
.../next/kubernetes-namespaces-component.html | 2 +-
components/next/kubernetes-nodes-component.html | 2 +-
...rnetes-persistent-volumes-claims-component.html | 2 +-
.../kubernetes-persistent-volumes-component.html | 2 +-
components/next/kubernetes-pods-component.html | 2 +-
...bernetes-replication-controllers-component.html | 2 +-
.../next/kubernetes-resources-quota-component.html | 2 +-
components/next/kubernetes-secrets-component.html | 2 +-
.../kubernetes-service-accounts-component.html | 2 +-
components/next/kubernetes-services-component.html | 2 +-
components/next/kubernetes-summary.html | 2 +-
components/next/kudu-component.html | 2 +-
components/next/language-component.html | 2 +-
components/next/languages/bean-language.html | 2 +-
components/next/languages/constant-language.html | 2 +-
components/next/languages/csimple-language.html | 2 +-
components/next/languages/datasonnet-language.html | 2 +-
.../next/languages/exchangeProperty-language.html | 2 +-
components/next/languages/file-language.html | 2 +-
components/next/languages/groovy-language.html | 2 +-
components/next/languages/header-language.html | 2 +-
components/next/languages/hl7terser-language.html | 2 +-
components/next/languages/index.html | 2 +-
components/next/languages/java-language.html | 2 +-
components/next/languages/joor-language.html | 2 +-
components/next/languages/jq-language.html | 2 +-
components/next/languages/js-language.html | 2 +-
components/next/languages/jsonpath-language.html | 2 +-
components/next/languages/mvel-language.html | 2 +-
components/next/languages/ognl-language.html | 2 +-
components/next/languages/python-language.html | 2 +-
components/next/languages/ref-language.html | 2 +-
components/next/languages/simple-language.html | 2 +-
components/next/languages/spel-language.html | 2 +-
components/next/languages/tokenize-language.html | 2 +-
components/next/languages/variable-language.html | 2 +-
components/next/languages/wasm-language.html | 2 +-
components/next/languages/xpath-language.html | 2 +-
components/next/languages/xquery-language.html | 2 +-
components/next/languages/xtokenize-language.html | 2 +-
components/next/ldap-component.html | 2 +-
components/next/ldif-component.html | 2 +-
components/next/log-component.html | 2 +-
components/next/lpr-component.html | 2 +-
components/next/lucene-component.html | 2 +-
components/next/lumberjack-component.html | 2 +-
components/next/mail-component.html | 2 +-
components/next/mapstruct-component.html | 2 +-
components/next/master-component.html | 2 +-
components/next/metrics-component.html | 2 +-
components/next/micrometer-component.html | 2 +-
components/next/mina-component.html | 2 +-
components/next/minio-component.html | 2 +-
components/next/mllp-component.html | 2 +-
components/next/mock-component.html | 2 +-
components/next/mongodb-component.html | 2 +-
components/next/mongodb-gridfs-component.html | 2 +-
components/next/mustache-component.html | 2 +-
components/next/mvel-component.html | 2 +-
components/next/mybatis-bean-component.html | 2 +-
components/next/mybatis-component.html | 2 +-
components/next/nats-component.html | 2 +-
components/next/netty-component.html | 2 +-
components/next/netty-http-component.html | 2 +-
components/next/nitrite-component.html | 2 +-
components/next/oaipmh-component.html | 2 +-
components/next/olingo2-component.html | 2 +-
components/next/olingo4-component.html | 2 +-
components/next/opensearch-component.html | 2 +-
.../next/openshift-build-configs-component.html | 2 +-
components/next/openshift-builds-component.html | 2 +-
.../openshift-deploymentconfigs-component.html | 2 +-
components/next/openstack-cinder-component.html | 2 +-
components/next/openstack-glance-component.html | 2 +-
components/next/openstack-keystone-component.html | 2 +-
components/next/openstack-neutron-component.html | 2 +-
components/next/openstack-nova-component.html | 2 +-
components/next/openstack-summary.html | 2 +-
components/next/openstack-swift-component.html | 2 +-
components/next/optaplanner-component.html | 2 +-
components/next/others/attachments.html | 2 +-
components/next/others/aws-xray.html | 2 +-
components/next/others/azure-schema-registry.html | 2 +-
components/next/others/cli-connector.html | 2 +-
components/next/others/cloudevents.html | 2 +-
components/next/others/csimple-joor.html | 2 +-
components/next/others/cxf-transport.html | 2 +-
components/next/others/debug.html | 2 +-
components/next/others/dsl-modeline.html | 2 +-
components/next/others/dsl.html | 2 +-
components/next/others/elytron.html | 2 +-
components/next/others/groovy-dsl.html | 2 +-
components/next/others/headersmap.html | 2 +-
components/next/others/index.html | 2 +-
components/next/others/jasypt.html | 2 +-
components/next/others/java-joor-dsl.html | 2 +-
components/next/others/java-xml-io-dsl.html | 2 +-
components/next/others/java-xml-jaxb-dsl.html | 2 +-
components/next/others/jfr.html | 2 +-
components/next/others/js-dsl.html | 2 +-
components/next/others/jsh-dsl.html | 2 +-
components/next/others/jta.html | 2 +-
components/next/others/kamelet-main.html | 2 +-
components/next/others/knative-http.html | 2 +-
components/next/others/kotlin-api.html | 2 +-
components/next/others/kotlin-dsl.html | 2 +-
components/next/others/leveldb.html | 2 +-
components/next/others/lra.html | 2 +-
components/next/others/mail-microsoft-oauth.html | 2 +-
components/next/others/main.html | 2 +-
components/next/others/micrometer-prometheus.html | 2 +-
components/next/others/microprofile-config.html | 2 +-
.../next/others/microprofile-fault-tolerance.html | 2 +-
components/next/others/microprofile-health.html | 2 +-
components/next/others/observation.html | 2 +-
components/next/others/openapi-java.html | 2 +-
components/next/others/opentelemetry.html | 2 +-
components/next/others/platform-http-main.html | 2 +-
components/next/others/platform-http-vertx.html | 2 +-
.../next/others/reactive-executor-tomcat.html | 2 +-
.../next/others/reactive-executor-vertx.html | 2 +-
components/next/others/reactor.html | 2 +-
components/next/others/redis.html | 2 +-
components/next/others/resilience4j.html | 2 +-
.../next/others/resourceresolver-github.html | 2 +-
components/next/others/rxjava.html | 2 +-
components/next/others/shiro.html | 2 +-
components/next/others/spring-main.html | 2 +-
components/next/others/spring-security.html | 2 +-
components/next/others/spring-xml.html | 2 +-
components/next/others/springdoc.html | 2 +-
components/next/others/test-junit5.html | 2 +-
components/next/others/test-main-junit5.html | 2 +-
components/next/others/test-spring-junit5.html | 2 +-
.../next/others/threadpoolfactory-vertx.html | 2 +-
components/next/others/tracing.html | 2 +-
.../next/others/undertow-spring-security.html | 2 +-
components/next/others/wal.html | 2 +-
components/next/others/yaml-dsl.html | 2 +-
components/next/paho-component.html | 2 +-
components/next/paho-mqtt5-component.html | 2 +-
components/next/pdf-component.html | 2 +-
components/next/pg-replication-slot-component.html | 2 +-
components/next/pgevent-component.html | 2 +-
components/next/platform-http-component.html | 4 +-
components/next/plc4x-component.html | 2 +-
components/next/properties-component.html | 2 +-
components/next/pubnub-component.html | 2 +-
components/next/pulsar-component.html | 2 +-
components/next/qdrant-component.html | 2 +-
components/next/quartz-component.html | 2 +-
components/next/quickfix-component.html | 2 +-
components/next/reactive-streams-component.html | 2 +-
components/next/ref-component.html | 2 +-
components/next/rest-api-component.html | 2 +-
components/next/rest-component.html | 2 +-
components/next/rest-openapi-component.html | 2 +-
components/next/robotframework-component.html | 2 +-
components/next/rocketmq-component.html | 2 +-
components/next/rss-component.html | 2 +-
components/next/saga-component.html | 2 +-
components/next/salesforce-component.html | 2 +-
components/next/sap-netweaver-component.html | 2 +-
components/next/scheduler-component.html | 2 +-
components/next/schematron-component.html | 2 +-
components/next/scp-component.html | 2 +-
components/next/seda-component.html | 2 +-
components/next/service-component.html | 2 +-
components/next/servicenow-component.html | 2 +-
components/next/servlet-component.html | 2 +-
components/next/sftp-component.html | 2 +-
components/next/sjms-component.html | 2 +-
components/next/sjms2-component.html | 2 +-
components/next/slack-component.html | 2 +-
components/next/smb-component.html | 2 +-
components/next/smpp-component.html | 2 +-
components/next/snmp-component.html | 2 +-
components/next/splunk-component.html | 2 +-
components/next/splunk-hec-component.html | 2 +-
components/next/spring-batch-component.html | 2 +-
components/next/spring-event-component.html | 2 +-
components/next/spring-jdbc-component.html | 2 +-
components/next/spring-ldap-component.html | 2 +-
components/next/spring-rabbitmq-component.html | 2 +-
components/next/spring-redis-component.html | 2 +-
components/next/spring-summary.html | 2 +-
components/next/spring-ws-component.html | 2 +-
components/next/sql-component.html | 2 +-
components/next/sql-stored-component.html | 2 +-
components/next/ssh-component.html | 2 +-
components/next/stax-component.html | 2 +-
components/next/stitch-component.html | 2 +-
components/next/stomp-component.html | 2 +-
components/next/stream-component.html | 2 +-
components/next/string-template-component.html | 2 +-
components/next/stub-component.html | 2 +-
components/next/telegram-component.html | 2 +-
components/next/thrift-component.html | 2 +-
components/next/thymeleaf-component.html | 2 +-
components/next/tika-component.html | 2 +-
components/next/timer-component.html | 2 +-
components/next/twilio-component.html | 2 +-
.../next/twitter-directmessage-component.html | 2 +-
components/next/twitter-search-component.html | 2 +-
components/next/twitter-timeline-component.html | 2 +-
components/next/undertow-component.html | 2 +-
components/next/validator-component.html | 2 +-
components/next/velocity-component.html | 2 +-
components/next/vertx-component.html | 2 +-
components/next/vertx-http-component.html | 2 +-
components/next/vertx-websocket-component.html | 2 +-
components/next/wasm-component.html | 2 +-
components/next/weather-component.html | 2 +-
components/next/web3j-component.html | 2 +-
components/next/webhook-component.html | 2 +-
components/next/whatsapp-component.html | 2 +-
components/next/wordpress-component.html | 2 +-
components/next/workday-component.html | 2 +-
components/next/xchange-component.html | 2 +-
components/next/xj-component.html | 2 +-
components/next/xmlsecurity-sign-component.html | 2 +-
components/next/xmlsecurity-verify-component.html | 2 +-
components/next/xmpp-component.html | 2 +-
components/next/xquery-component.html | 2 +-
components/next/xslt-component.html | 2 +-
components/next/xslt-saxon-component.html | 2 +-
components/next/zeebe-component.html | 2 +-
components/next/zendesk-component.html | 2 +-
components/next/zookeeper-component.html | 2 +-
components/next/zookeeper-master-component.html | 2 +-
manual/camel-4x-upgrade-guide-4_5.html | 2 +-
manual/camel-jbang.html | 45 +-
site-manifest.json | 12 +-
sitemap-camel-core.xml | 14 +-
sitemap-camel-k.xml | 598 +-
sitemap-camel-kafka-connector.xml | 824 +--
sitemap-camel-kamelets.xml | 1398 ++---
sitemap-camel-karaf.xml | 38 +-
sitemap-camel-quarkus.xml | 2000 +++----
sitemap-camel-spring-boot.xml | 56 +-
sitemap-components.xml | 5762 ++++++++++----------
sitemap-manual.xml | 422 +-
694 files changed, 6899 insertions(+), 6776 deletions(-)
diff --git a/.htaccess b/.htaccess
index 49258e3f..9566d373 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1134,156 +1134,156 @@ RedirectMatch 301 "^/camel-karaf/next$" "/camel-karaf/next/"
RedirectMatch 302 "^/camel-karaf/(?![0-9].*|next/)(.+)$" "/camel-karaf/3.22.x/$1"
Redirect 301 /camel-k/next/camel.html /camel-k/next/apis/camel-k.html
Redirect 301 /camel-k/2.2.x/camel.html /camel-k/2.2.x/apis/camel-k.html
-Redirect 301 /camel-quarkus/3.2.x/ci.html /camel-quarkus/3.2.x/contributor-guide/ci.html
-Redirect 301 /camel-quarkus/3.2.x/create-new-extension.html /camel-quarkus/3.2.x/contributor-guide/create-new-extension.html
-Redirect 301 /camel-quarkus/3.2.x/extension-documentation.html /camel-quarkus/3.2.x/contributor-guide/extension-documentation.html
-Redirect 301 /camel-quarkus/3.2.x/extension-metadata.html /camel-quarkus/3.2.x/contributor-guide/extension-metadata.html
-Redirect 301 /camel-quarkus/3.2.x/contributor-guide.html /camel-quarkus/3.2.x/contributor-guide/index.html
-Redirect 301 /camel-quarkus/3.2.x/promote-jvm-to-native.html /camel-quarkus/3.2.x/contributor-guide/promote-jvm-to-native.html
-Redirect 301 /camel-quarkus/3.2.x/release-guide.html /camel-quarkus/3.2.x/contributor-guide/release-guide.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/avro.html /camel-quarkus/3.2.x/reference/extensions/avro.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/bean-validator.html /camel-quarkus/3.2.x/reference/extensions/bean-validator.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/bindy.html /camel-quarkus/3.2.x/reference/extensions/bindy.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/controlbus.html /camel-quarkus/3.2.x/reference/extensions/controlbus.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/dataformat.html /camel-quarkus/3.2.x/reference/extensions/dataformat.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/file.html /camel-quarkus/3.2.x/reference/extensions/file.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/grpc.html /camel-quarkus/3.2.x/reference/extensions/grpc.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/jackson.html /camel-quarkus/3.2.x/reference/extensions/jackson.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/jolt.html /camel-quarkus/3.2.x/reference/extensions/jolt.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/jpa.html /camel-quarkus/3.2.x/reference/extensions/jpa.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/json-validator.html /camel-quarkus/3.2.x/reference/extensions/json-validator.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/kafka.html /camel-quarkus/3.2.x/reference/extensions/kafka.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/master.html /camel-quarkus/3.2.x/reference/extensions/master.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/mongodb.html /camel-quarkus/3.2.x/reference/extensions/mongodb.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/mustache.html /camel-quarkus/3.2.x/reference/extensions/mustache.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/nitrite.html /camel-quarkus/3.2.x/reference/extensions/nitrite.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/protobuf.html /camel-quarkus/3.2.x/reference/extensions/protobuf.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/quartz.html /camel-quarkus/3.2.x/reference/extensions/quartz.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/ref.html /camel-quarkus/3.2.x/reference/extensions/ref.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/rest-openapi.html /camel-quarkus/3.2.x/reference/extensions/rest-openapi.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/rest.html /camel-quarkus/3.2.x/reference/extensions/rest.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/salesforce.html /camel-quarkus/3.2.x/reference/extensions/salesforce.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/servlet.html /camel-quarkus/3.2.x/reference/extensions/servlet.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/sjms.html /camel-quarkus/3.2.x/reference/extensions/sjms.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/smallrye-reactive-messaging.html /camel-quarkus/3.2.x/reference/extensions/smallrye-reactive-messaging.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/telegram.html /camel-quarkus/3.2.x/reference/extensions/telegram.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/tika.html /camel-quarkus/3.2.x/reference/extensions/tika.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/xslt.html /camel-quarkus/3.2.x/reference/extensions/xslt.html
Redirect 301 /camel-quarkus/3.2.x/list-of-camel-quarkus-extensions.html /camel-quarkus/3.2.x/reference/index.html
Redirect 301 /camel-quarkus/3.2.x/reference/extensions/index.html /camel-quarkus/3.2.x/reference/index.html
-Redirect 301 /camel-quarkus/3.2.x/cdi.html /camel-quarkus/3.2.x/user-guide/cdi.html
-Redirect 301 /camel-quarkus/3.2.x/user-guide/bootstrap.html /camel-quarkus/3.2.x/user-guide/configuration.html
-Redirect 301 /camel-quarkus/3.2.x/first-steps.html /camel-quarkus/3.2.x/user-guide/first-steps.html
-Redirect 301 /camel-quarkus/3.2.x/user-guide.html /camel-quarkus/3.2.x/user-guide/index.html
-Redirect 301 /camel-quarkus/3.2.x/kubernetes.html /camel-quarkus/3.2.x/user-guide/kubernetes.html
-Redirect 301 /camel-quarkus/3.2.x/native-mode.html /camel-quarkus/3.2.x/user-guide/native-mode.html
-Redirect 301 /camel-quarkus/3.2.x/testing.html /camel-quarkus/3.2.x/user-guide/testing.html
Redirect 301 /camel-quarkus/3.2.x/extensions/activemq.html /camel-quarkus/3.2.x/reference/extensions/activemq.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/amqp.html /camel-quarkus/3.2.x/reference/extensions/amqp.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/as2.html /camel-quarkus/3.2.x/reference/extensions/as2.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/attachments.html /camel-quarkus/3.2.x/reference/extensions/attachments.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/avro.html /camel-quarkus/3.2.x/reference/extensions/avro.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-athena.html /camel-quarkus/3.2.x/reference/extensions/aws2-athena.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-cw.html /camel-quarkus/3.2.x/reference/extensions/aws2-cw.html
Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ddb.html /camel-quarkus/3.2.x/reference/extensions/aws2-ddb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ec2.html /camel-quarkus/3.2.x/reference/extensions/aws2-ec2.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ecs.html /camel-quarkus/3.2.x/reference/extensions/aws2-ecs.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-eks.html /camel-quarkus/3.2.x/reference/extensions/aws2-eks.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-iam.html /camel-quarkus/3.2.x/reference/extensions/aws2-iam.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-kms.html /camel-quarkus/3.2.x/reference/extensions/aws2-kms.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-mq.html /camel-quarkus/3.2.x/reference/extensions/aws2-mq.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-msk.html /camel-quarkus/3.2.x/reference/extensions/aws2-msk.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-s3.html /camel-quarkus/3.2.x/reference/extensions/aws2-s3.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ses.html /camel-quarkus/3.2.x/reference/extensions/aws2-ses.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-sns.html /camel-quarkus/3.2.x/reference/extensions/aws2-sns.html
Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-sqs.html /camel-quarkus/3.2.x/reference/extensions/aws2-sqs.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-translate.html /camel-quarkus/3.2.x/reference/extensions/aws2-translate.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/base64.html /camel-quarkus/3.2.x/reference/extensions/base64.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/bean-validator.html /camel-quarkus/3.2.x/reference/extensions/bean-validator.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/bean.html /camel-quarkus/3.2.x/reference/extensions/bean.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/bindy.html /camel-quarkus/3.2.x/reference/extensions/bindy.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/box.html /camel-quarkus/3.2.x/reference/extensions/box.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/braintree.html /camel-quarkus/3.2.x/reference/extensions/braintree.html
Redirect 301 /camel-quarkus/3.2.x/extensions/cassandraql.html /camel-quarkus/3.2.x/reference/extensions/cassandraql.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/consul.html /camel-quarkus/3.2.x/reference/extensions/consul.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/controlbus.html /camel-quarkus/3.2.x/reference/extensions/controlbus.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/core-cloud.html /camel-quarkus/3.2.x/reference/extensions/core-cloud.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/core.html /camel-quarkus/3.2.x/reference/extensions/core.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/couchbase.html /camel-quarkus/3.2.x/reference/extensions/couchbase.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/couchdb.html /camel-quarkus/3.2.x/reference/extensions/couchdb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/cron.html /camel-quarkus/3.2.x/reference/extensions/cron.html
Redirect 301 /camel-quarkus/3.2.x/extensions/csv.html /camel-quarkus/3.2.x/reference/extensions/csv.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/dataformat.html /camel-quarkus/3.2.x/reference/extensions/dataformat.html
Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-mongodb.html /camel-quarkus/3.2.x/reference/extensions/debezium-mongodb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-mysql.html /camel-quarkus/3.2.x/reference/extensions/debezium-mysql.html
Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-postgres.html /camel-quarkus/3.2.x/reference/extensions/debezium-postgres.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-sqlserver.html /camel-quarkus/3.2.x/reference/extensions/debezium-sqlserver.html
Redirect 301 /camel-quarkus/3.2.x/extensions/direct.html /camel-quarkus/3.2.x/reference/extensions/direct.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/exec.html /camel-quarkus/3.2.x/reference/extensions/exec.html
Redirect 301 /camel-quarkus/3.2.x/extensions/fhir.html /camel-quarkus/3.2.x/reference/extensions/fhir.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/file-watch.html /camel-quarkus/3.2.x/reference/extensions/file-watch.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/file.html /camel-quarkus/3.2.x/reference/extensions/file.html
Redirect 301 /camel-quarkus/3.2.x/extensions/ftp.html /camel-quarkus/3.2.x/reference/extensions/ftp.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/github.html /camel-quarkus/3.2.x/reference/extensions/github.html
Redirect 301 /camel-quarkus/3.2.x/extensions/google-bigquery.html /camel-quarkus/3.2.x/reference/extensions/google-bigquery.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/google-calendar.html /camel-quarkus/3.2.x/reference/extensions/google-calendar.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/google-drive.html /camel-quarkus/3.2.x/reference/extensions/google-drive.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/google-mail.html /camel-quarkus/3.2.x/reference/extensions/google-mail.html
Redirect 301 /camel-quarkus/3.2.x/extensions/google-pubsub.html /camel-quarkus/3.2.x/reference/extensions/google-pubsub.html
Redirect 301 /camel-quarkus/3.2.x/extensions/google-sheets.html /camel-quarkus/3.2.x/reference/extensions/google-sheets.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/graphql.html /camel-quarkus/3.2.x/reference/extensions/graphql.html
Redirect 301 /camel-quarkus/3.2.x/extensions/grok.html /camel-quarkus/3.2.x/reference/extensions/grok.html
Redirect 301 /camel-quarkus/3.2.x/extensions/groovy.html /camel-quarkus/3.2.x/reference/extensions/groovy.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/grpc.html /camel-quarkus/3.2.x/reference/extensions/grpc.html
Redirect 301 /camel-quarkus/3.2.x/extensions/gson.html /camel-quarkus/3.2.x/reference/extensions/gson.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/http.html /camel-quarkus/3.2.x/reference/extensions/http.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/ical.html /camel-quarkus/3.2.x/reference/extensions/ical.html
Redirect 301 /camel-quarkus/3.2.x/extensions/infinispan.html /camel-quarkus/3.2.x/reference/extensions/infinispan.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/influxdb.html /camel-quarkus/3.2.x/reference/extensions/influxdb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/jackson.html /camel-quarkus/3.2.x/reference/extensions/jackson.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jacksonxml.html /camel-quarkus/3.2.x/reference/extensions/jacksonxml.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jaxb.html /camel-quarkus/3.2.x/reference/extensions/jaxb.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jdbc.html /camel-quarkus/3.2.x/reference/extensions/jdbc.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jira.html /camel-quarkus/3.2.x/reference/extensions/jira.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/jms.html /camel-quarkus/3.2.x/reference/extensions/jms.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/jolt.html /camel-quarkus/3.2.x/reference/extensions/jolt.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/jpa.html /camel-quarkus/3.2.x/reference/extensions/jpa.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/json-validator.html /camel-quarkus/3.2.x/reference/extensions/json-validator.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jsonpath.html /camel-quarkus/3.2.x/reference/extensions/jsonpath.html
Redirect 301 /camel-quarkus/3.2.x/extensions/jta.html /camel-quarkus/3.2.x/reference/extensions/jta.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/kafka.html /camel-quarkus/3.2.x/reference/extensions/kafka.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/kotlin.html /camel-quarkus/3.2.x/reference/extensions/kotlin.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/kubernetes.html /camel-quarkus/3.2.x/reference/extensions/kubernetes.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/kudu.html /camel-quarkus/3.2.x/reference/extensions/kudu.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/log.html /camel-quarkus/3.2.x/reference/extensions/log.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/lzf.html /camel-quarkus/3.2.x/reference/extensions/lzf.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/mail.html /camel-quarkus/3.2.x/reference/extensions/mail.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/master.html /camel-quarkus/3.2.x/reference/extensions/master.html
Redirect 301 /camel-quarkus/3.2.x/extensions/microprofile-fault-tolerance.html /camel-quarkus/3.2.x/reference/extensions/microprofile-fault-tolerance.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/microprofile-health.html /camel-quarkus/3.2.x/reference/extensions/microprofile-health.html
Redirect 301 /camel-quarkus/3.2.x/extensions/mock.html /camel-quarkus/3.2.x/reference/extensions/mock.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/mongodb-gridfs.html /camel-quarkus/3.2.x/reference/extensions/mongodb-gridfs.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/mongodb.html /camel-quarkus/3.2.x/reference/extensions/mongodb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/mustache.html /camel-quarkus/3.2.x/reference/extensions/mustache.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/netty-http.html /camel-quarkus/3.2.x/reference/extensions/netty-http.html
Redirect 301 /camel-quarkus/3.2.x/extensions/netty.html /camel-quarkus/3.2.x/reference/extensions/netty.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/nitrite.html /camel-quarkus/3.2.x/reference/extensions/nitrite.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/ognl.html /camel-quarkus/3.2.x/reference/extensions/ognl.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/olingo4.html /camel-quarkus/3.2.x/reference/extensions/olingo4.html
Redirect 301 /camel-quarkus/3.2.x/extensions/openapi-java.html /camel-quarkus/3.2.x/reference/extensions/openapi-java.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/openstack.html /camel-quarkus/3.2.x/reference/extensions/openstack.html
Redirect 301 /camel-quarkus/3.2.x/extensions/paho.html /camel-quarkus/3.2.x/reference/extensions/paho.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/pdf.html /camel-quarkus/3.2.x/reference/extensions/pdf.html
Redirect 301 /camel-quarkus/3.2.x/extensions/platform-http.html /camel-quarkus/3.2.x/reference/extensions/platform-http.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/protobuf.html /camel-quarkus/3.2.x/reference/extensions/protobuf.html
Redirect 301 /camel-quarkus/3.2.x/extensions/pubnub.html /camel-quarkus/3.2.x/reference/extensions/pubnub.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/quartz.html /camel-quarkus/3.2.x/reference/extensions/quartz.html
Redirect 301 /camel-quarkus/3.2.x/extensions/qute.html /camel-quarkus/3.2.x/reference/extensions/qute.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/reactive-executor.html /camel-quarkus/3.2.x/reference/extensions/reactive-executor.html
Redirect 301 /camel-quarkus/3.2.x/extensions/reactive-streams.html /camel-quarkus/3.2.x/reference/extensions/reactive-streams.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/ref.html /camel-quarkus/3.2.x/reference/extensions/ref.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/rest-openapi.html /camel-quarkus/3.2.x/reference/extensions/rest-openapi.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/rest.html /camel-quarkus/3.2.x/reference/extensions/rest.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/salesforce.html /camel-quarkus/3.2.x/reference/extensions/salesforce.html
Redirect 301 /camel-quarkus/3.2.x/extensions/sap-netweaver.html /camel-quarkus/3.2.x/reference/extensions/sap-netweaver.html
Redirect 301 /camel-quarkus/3.2.x/extensions/scheduler.html /camel-quarkus/3.2.x/reference/extensions/scheduler.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/seda.html /camel-quarkus/3.2.x/reference/extensions/seda.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/servicenow.html /camel-quarkus/3.2.x/reference/extensions/servicenow.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/servlet.html /camel-quarkus/3.2.x/reference/extensions/servlet.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/sjms.html /camel-quarkus/3.2.x/reference/extensions/sjms.html
Redirect 301 /camel-quarkus/3.2.x/extensions/sjms2.html /camel-quarkus/3.2.x/reference/extensions/sjms2.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/slack.html /camel-quarkus/3.2.x/reference/extensions/slack.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/smallrye-reactive-messaging.html /camel-quarkus/3.2.x/reference/extensions/smallrye-reactive-messaging.html
Redirect 301 /camel-quarkus/3.2.x/extensions/snakeyaml.html /camel-quarkus/3.2.x/reference/extensions/snakeyaml.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/soap.html /camel-quarkus/3.2.x/reference/extensions/soap.html
Redirect 301 /camel-quarkus/3.2.x/extensions/sql.html /camel-quarkus/3.2.x/reference/extensions/sql.html
Redirect 301 /camel-quarkus/3.2.x/extensions/stream.html /camel-quarkus/3.2.x/reference/extensions/stream.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/tarfile.html /camel-quarkus/3.2.x/reference/extensions/tarfile.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/telegram.html /camel-quarkus/3.2.x/reference/extensions/telegram.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/threadpoolfactory-vertx.html /camel-quarkus/3.2.x/reference/extensions/threadpoolfactory-vertx.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/tika.html /camel-quarkus/3.2.x/reference/extensions/tika.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/timer.html /camel-quarkus/3.2.x/reference/extensions/timer.html
Redirect 301 /camel-quarkus/3.2.x/extensions/twitter.html /camel-quarkus/3.2.x/reference/extensions/twitter.html
Redirect 301 /camel-quarkus/3.2.x/extensions/validator.html /camel-quarkus/3.2.x/reference/extensions/validator.html
Redirect 301 /camel-quarkus/3.2.x/extensions/vertx.html /camel-quarkus/3.2.x/reference/extensions/vertx.html
Redirect 301 /camel-quarkus/3.2.x/extensions/xml-jaxb.html /camel-quarkus/3.2.x/reference/extensions/xml-jaxb.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/xml-jaxp.html /camel-quarkus/3.2.x/reference/extensions/xml-jaxp.html
Redirect 301 /camel-quarkus/3.2.x/extensions/xpath.html /camel-quarkus/3.2.x/reference/extensions/xpath.html
-Redirect 301 /camel-quarkus/3.2.x/extensions/xslt.html /camel-quarkus/3.2.x/reference/extensions/xslt.html
Redirect 301 /camel-quarkus/3.2.x/extensions/zip-deflater.html /camel-quarkus/3.2.x/reference/extensions/zip-deflater.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/amqp.html /camel-quarkus/3.2.x/reference/extensions/amqp.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/as2.html /camel-quarkus/3.2.x/reference/extensions/as2.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/attachments.html /camel-quarkus/3.2.x/reference/extensions/attachments.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-kms.html /camel-quarkus/3.2.x/reference/extensions/aws2-kms.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-s3.html /camel-quarkus/3.2.x/reference/extensions/aws2-s3.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ses.html /camel-quarkus/3.2.x/reference/extensions/aws2-ses.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-sns.html /camel-quarkus/3.2.x/reference/extensions/aws2-sns.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-translate.html /camel-quarkus/3.2.x/reference/extensions/aws2-translate.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/bean.html /camel-quarkus/3.2.x/reference/extensions/bean.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/couchbase.html /camel-quarkus/3.2.x/reference/extensions/couchbase.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/couchdb.html /camel-quarkus/3.2.x/reference/extensions/couchdb.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/cron.html /camel-quarkus/3.2.x/reference/extensions/cron.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-mysql.html /camel-quarkus/3.2.x/reference/extensions/debezium-mysql.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/debezium-sqlserver.html /camel-quarkus/3.2.x/reference/extensions/debezium-sqlserver.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/file-watch.html /camel-quarkus/3.2.x/reference/extensions/file-watch.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/github.html /camel-quarkus/3.2.x/reference/extensions/github.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/google-calendar.html /camel-quarkus/3.2.x/reference/extensions/google-calendar.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/google-mail.html /camel-quarkus/3.2.x/reference/extensions/google-mail.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/graphql.html /camel-quarkus/3.2.x/reference/extensions/graphql.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/influxdb.html /camel-quarkus/3.2.x/reference/extensions/influxdb.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/jms.html /camel-quarkus/3.2.x/reference/extensions/jms.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/kubernetes.html /camel-quarkus/3.2.x/reference/extensions/kubernetes.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/log.html /camel-quarkus/3.2.x/reference/extensions/log.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/lzf.html /camel-quarkus/3.2.x/reference/extensions/lzf.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/mail.html /camel-quarkus/3.2.x/reference/extensions/mail.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/microprofile-health.html /camel-quarkus/3.2.x/reference/extensions/microprofile-health.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/mongodb-gridfs.html /camel-quarkus/3.2.x/reference/extensions/mongodb-gridfs.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/netty-http.html /camel-quarkus/3.2.x/reference/extensions/netty-http.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/ognl.html /camel-quarkus/3.2.x/reference/extensions/ognl.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/pdf.html /camel-quarkus/3.2.x/reference/extensions/pdf.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/seda.html /camel-quarkus/3.2.x/reference/extensions/seda.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/servicenow.html /camel-quarkus/3.2.x/reference/extensions/servicenow.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/threadpoolfactory-vertx.html /camel-quarkus/3.2.x/reference/extensions/threadpoolfactory-vertx.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/timer.html /camel-quarkus/3.2.x/reference/extensions/timer.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/xml-jaxp.html /camel-quarkus/3.2.x/reference/extensions/xml-jaxp.html
Redirect 301 /camel-quarkus/3.2.x/extensions/zipfile.html /camel-quarkus/3.2.x/reference/extensions/zipfile.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-athena.html /camel-quarkus/3.2.x/reference/extensions/aws2-athena.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-cw.html /camel-quarkus/3.2.x/reference/extensions/aws2-cw.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-eks.html /camel-quarkus/3.2.x/reference/extensions/aws2-eks.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-mq.html /camel-quarkus/3.2.x/reference/extensions/aws2-mq.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/box.html /camel-quarkus/3.2.x/reference/extensions/box.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/braintree.html /camel-quarkus/3.2.x/reference/extensions/braintree.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/consul.html /camel-quarkus/3.2.x/reference/extensions/consul.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/core-cloud.html /camel-quarkus/3.2.x/reference/extensions/core-cloud.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/core.html /camel-quarkus/3.2.x/reference/extensions/core.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/exec.html /camel-quarkus/3.2.x/reference/extensions/exec.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/google-drive.html /camel-quarkus/3.2.x/reference/extensions/google-drive.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/http.html /camel-quarkus/3.2.x/reference/extensions/http.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/ical.html /camel-quarkus/3.2.x/reference/extensions/ical.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/kotlin.html /camel-quarkus/3.2.x/reference/extensions/kotlin.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/kudu.html /camel-quarkus/3.2.x/reference/extensions/kudu.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/reactive-executor.html /camel-quarkus/3.2.x/reference/extensions/reactive-executor.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/soap.html /camel-quarkus/3.2.x/reference/extensions/soap.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/tarfile.html /camel-quarkus/3.2.x/reference/extensions/tarfile.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ec2.html /camel-quarkus/3.2.x/reference/extensions/aws2-ec2.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-ecs.html /camel-quarkus/3.2.x/reference/extensions/aws2-ecs.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-iam.html /camel-quarkus/3.2.x/reference/extensions/aws2-iam.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/aws2-msk.html /camel-quarkus/3.2.x/reference/extensions/aws2-msk.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/base64.html /camel-quarkus/3.2.x/reference/extensions/base64.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/olingo4.html /camel-quarkus/3.2.x/reference/extensions/olingo4.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/openstack.html /camel-quarkus/3.2.x/reference/extensions/openstack.html
+Redirect 301 /camel-quarkus/3.2.x/extensions/slack.html /camel-quarkus/3.2.x/reference/extensions/slack.html
+Redirect 301 /camel-quarkus/3.2.x/cdi.html /camel-quarkus/3.2.x/user-guide/cdi.html
+Redirect 301 /camel-quarkus/3.2.x/user-guide/bootstrap.html /camel-quarkus/3.2.x/user-guide/configuration.html
+Redirect 301 /camel-quarkus/3.2.x/first-steps.html /camel-quarkus/3.2.x/user-guide/first-steps.html
+Redirect 301 /camel-quarkus/3.2.x/user-guide.html /camel-quarkus/3.2.x/user-guide/index.html
+Redirect 301 /camel-quarkus/3.2.x/kubernetes.html /camel-quarkus/3.2.x/user-guide/kubernetes.html
+Redirect 301 /camel-quarkus/3.2.x/native-mode.html /camel-quarkus/3.2.x/user-guide/native-mode.html
+Redirect 301 /camel-quarkus/3.2.x/testing.html /camel-quarkus/3.2.x/user-guide/testing.html
+Redirect 301 /camel-quarkus/3.2.x/ci.html /camel-quarkus/3.2.x/contributor-guide/ci.html
+Redirect 301 /camel-quarkus/3.2.x/create-new-extension.html /camel-quarkus/3.2.x/contributor-guide/create-new-extension.html
+Redirect 301 /camel-quarkus/3.2.x/extension-documentation.html /camel-quarkus/3.2.x/contributor-guide/extension-documentation.html
+Redirect 301 /camel-quarkus/3.2.x/extension-metadata.html /camel-quarkus/3.2.x/contributor-guide/extension-metadata.html
+Redirect 301 /camel-quarkus/3.2.x/contributor-guide.html /camel-quarkus/3.2.x/contributor-guide/index.html
+Redirect 301 /camel-quarkus/3.2.x/promote-jvm-to-native.html /camel-quarkus/3.2.x/contributor-guide/promote-jvm-to-native.html
+Redirect 301 /camel-quarkus/3.2.x/release-guide.html /camel-quarkus/3.2.x/contributor-guide/release-guide.html
Redirect 301 /camel-quarkus/3.7.x/ci.html /camel-quarkus/3.7.x/contributor-guide/ci.html
Redirect 301 /camel-quarkus/3.7.x/create-new-extension.html /camel-quarkus/3.7.x/contributor-guide/create-new-extension.html
Redirect 301 /camel-quarkus/3.7.x/extension-documentation.html /camel-quarkus/3.7.x/contributor-guide/extension-documentation.html
@@ -1300,10 +1300,10 @@ Redirect 301 /camel-quarkus/3.7.x/user-guide.html /camel-quarkus/3.7.x/user-guid
Redirect 301 /camel-quarkus/3.7.x/kubernetes.html /camel-quarkus/3.7.x/user-guide/kubernetes.html
Redirect 301 /camel-quarkus/3.7.x/native-mode.html /camel-quarkus/3.7.x/user-guide/native-mode.html
Redirect 301 /camel-quarkus/3.7.x/testing.html /camel-quarkus/3.7.x/user-guide/testing.html
-Redirect 301 /camel-quarkus/3.7.x/extensions/activemq.html /camel-quarkus/3.7.x/reference/extensions/activemq.html
Redirect 301 /camel-quarkus/3.7.x/extensions/amqp.html /camel-quarkus/3.7.x/reference/extensions/amqp.html
Redirect 301 /camel-quarkus/3.7.x/extensions/as2.html /camel-quarkus/3.7.x/reference/extensions/as2.html
Redirect 301 /camel-quarkus/3.7.x/extensions/attachments.html /camel-quarkus/3.7.x/reference/extensions/attachments.html
+Redirect 301 /camel-quarkus/3.7.x/extensions/activemq.html /camel-quarkus/3.7.x/reference/extensions/activemq.html
Redirect 301 /camel-quarkus/3.7.x/extensions/avro.html /camel-quarkus/3.7.x/reference/extensions/avro.html
Redirect 301 /camel-quarkus/3.7.x/extensions/aws2-athena.html /camel-quarkus/3.7.x/reference/extensions/aws2-athena.html
Redirect 301 /camel-quarkus/3.7.x/extensions/aws2-cw.html /camel-quarkus/3.7.x/reference/extensions/aws2-cw.html
@@ -1455,8 +1455,8 @@ Redirect 301 /camel-quarkus/next/extensions/amqp.html /camel-quarkus/next/refere
Redirect 301 /camel-quarkus/next/extensions/as2.html /camel-quarkus/next/reference/extensions/as2.html
Redirect 301 /camel-quarkus/next/extensions/attachments.html /camel-quarkus/next/reference/extensions/attachments.html
Redirect 301 /camel-quarkus/next/extensions/avro.html /camel-quarkus/next/reference/extensions/avro.html
-Redirect 301 /camel-quarkus/next/extensions/aws2-cw.html /camel-quarkus/next/reference/extensions/aws2-cw.html
Redirect 301 /camel-quarkus/next/extensions/aws2-athena.html /camel-quarkus/next/reference/extensions/aws2-athena.html
+Redirect 301 /camel-quarkus/next/extensions/aws2-cw.html /camel-quarkus/next/reference/extensions/aws2-cw.html
Redirect 301 /camel-quarkus/next/extensions/aws2-ddb.html /camel-quarkus/next/reference/extensions/aws2-ddb.html
Redirect 301 /camel-quarkus/next/extensions/aws2-ec2.html /camel-quarkus/next/reference/extensions/aws2-ec2.html
Redirect 301 /camel-quarkus/next/extensions/aws2-ecs.html /camel-quarkus/next/reference/extensions/aws2-ecs.html
@@ -1479,10 +1479,10 @@ Redirect 301 /camel-quarkus/next/extensions/braintree.html /camel-quarkus/next/r
Redirect 301 /camel-quarkus/next/extensions/cassandraql.html /camel-quarkus/next/reference/extensions/cassandraql.html
Redirect 301 /camel-quarkus/next/extensions/consul.html /camel-quarkus/next/reference/extensions/consul.html
Redirect 301 /camel-quarkus/next/extensions/controlbus.html /camel-quarkus/next/reference/extensions/controlbus.html
+Redirect 301 /camel-quarkus/next/extensions/core-cloud.html /camel-quarkus/next/reference/extensions/core-cloud.html
Redirect 301 /camel-quarkus/next/extensions/core.html /camel-quarkus/next/reference/extensions/core.html
Redirect 301 /camel-quarkus/next/extensions/couchbase.html /camel-quarkus/next/reference/extensions/couchbase.html
Redirect 301 /camel-quarkus/next/extensions/couchdb.html /camel-quarkus/next/reference/extensions/couchdb.html
-Redirect 301 /camel-quarkus/next/extensions/core-cloud.html /camel-quarkus/next/reference/extensions/core-cloud.html
Redirect 301 /camel-quarkus/next/extensions/cron.html /camel-quarkus/next/reference/extensions/cron.html
Redirect 301 /camel-quarkus/next/extensions/csv.html /camel-quarkus/next/reference/extensions/csv.html
Redirect 301 /camel-quarkus/next/extensions/dataformat.html /camel-quarkus/next/reference/extensions/dataformat.html
@@ -1525,7 +1525,6 @@ Redirect 301 /camel-quarkus/next/extensions/jsonpath.html /camel-quarkus/next/re
Redirect 301 /camel-quarkus/next/extensions/jta.html /camel-quarkus/next/reference/extensions/jta.html
Redirect 301 /camel-quarkus/next/extensions/kafka.html /camel-quarkus/next/reference/extensions/kafka.html
Redirect 301 /camel-quarkus/next/extensions/kotlin.html /camel-quarkus/next/reference/extensions/kotlin.html
-Redirect 301 /camel-quarkus/next/extensions/kubernetes.html /camel-quarkus/next/reference/extensions/kubernetes.html
Redirect 301 /camel-quarkus/next/extensions/kudu.html /camel-quarkus/next/reference/extensions/kudu.html
Redirect 301 /camel-quarkus/next/extensions/log.html /camel-quarkus/next/reference/extensions/log.html
Redirect 301 /camel-quarkus/next/extensions/lzf.html /camel-quarkus/next/reference/extensions/lzf.html
@@ -1547,10 +1546,9 @@ Redirect 301 /camel-quarkus/next/extensions/openstack.html /camel-quarkus/next/r
Redirect 301 /camel-quarkus/next/extensions/paho.html /camel-quarkus/next/reference/extensions/paho.html
Redirect 301 /camel-quarkus/next/extensions/pdf.html /camel-quarkus/next/reference/extensions/pdf.html
Redirect 301 /camel-quarkus/next/extensions/platform-http.html /camel-quarkus/next/reference/extensions/platform-http.html
-Redirect 301 /camel-quarkus/next/extensions/protobuf.html /camel-quarkus/next/reference/extensions/protobuf.html
Redirect 301 /camel-quarkus/next/extensions/pubnub.html /camel-quarkus/next/reference/extensions/pubnub.html
+Redirect 301 /camel-quarkus/next/extensions/protobuf.html /camel-quarkus/next/reference/extensions/protobuf.html
Redirect 301 /camel-quarkus/next/extensions/quartz.html /camel-quarkus/next/reference/extensions/quartz.html
-Redirect 301 /camel-quarkus/next/extensions/qute.html /camel-quarkus/next/reference/extensions/qute.html
Redirect 301 /camel-quarkus/next/extensions/reactive-executor.html /camel-quarkus/next/reference/extensions/reactive-executor.html
Redirect 301 /camel-quarkus/next/extensions/reactive-streams.html /camel-quarkus/next/reference/extensions/reactive-streams.html
Redirect 301 /camel-quarkus/next/extensions/ref.html /camel-quarkus/next/reference/extensions/ref.html
@@ -1560,10 +1558,10 @@ Redirect 301 /camel-quarkus/next/extensions/salesforce.html /camel-quarkus/next/
Redirect 301 /camel-quarkus/next/extensions/sap-netweaver.html /camel-quarkus/next/reference/extensions/sap-netweaver.html
Redirect 301 /camel-quarkus/next/extensions/scheduler.html /camel-quarkus/next/reference/extensions/scheduler.html
Redirect 301 /camel-quarkus/next/extensions/seda.html /camel-quarkus/next/reference/extensions/seda.html
-Redirect 301 /camel-quarkus/next/extensions/servicenow.html /camel-quarkus/next/reference/extensions/servicenow.html
Redirect 301 /camel-quarkus/next/extensions/servlet.html /camel-quarkus/next/reference/extensions/servlet.html
-Redirect 301 /camel-quarkus/next/extensions/sjms.html /camel-quarkus/next/reference/extensions/sjms.html
+Redirect 301 /camel-quarkus/next/extensions/servicenow.html /camel-quarkus/next/reference/extensions/servicenow.html
Redirect 301 /camel-quarkus/next/extensions/sjms2.html /camel-quarkus/next/reference/extensions/sjms2.html
+Redirect 301 /camel-quarkus/next/extensions/sjms.html /camel-quarkus/next/reference/extensions/sjms.html
Redirect 301 /camel-quarkus/next/extensions/slack.html /camel-quarkus/next/reference/extensions/slack.html
Redirect 301 /camel-quarkus/next/extensions/smallrye-reactive-messaging.html /camel-quarkus/next/reference/extensions/smallrye-reactive-messaging.html
Redirect 301 /camel-quarkus/next/extensions/snakeyaml.html /camel-quarkus/next/reference/extensions/snakeyaml.html
@@ -1584,6 +1582,8 @@ Redirect 301 /camel-quarkus/next/extensions/xpath.html /camel-quarkus/next/refer
Redirect 301 /camel-quarkus/next/extensions/xslt.html /camel-quarkus/next/reference/extensions/xslt.html
Redirect 301 /camel-quarkus/next/extensions/zip-deflater.html /camel-quarkus/next/reference/extensions/zip-deflater.html
Redirect 301 /camel-quarkus/next/extensions/zipfile.html /camel-quarkus/next/reference/extensions/zipfile.html
+Redirect 301 /camel-quarkus/next/extensions/qute.html /camel-quarkus/next/reference/extensions/qute.html
+Redirect 301 /camel-quarkus/next/extensions/kubernetes.html /camel-quarkus/next/reference/extensions/kubernetes.html
Redirect 301 /camel-kafka-connector/4.0.x/release-guide.html /camel-kafka-connector/4.0.x/contributor-guide/release-guide.html
Redirect 301 /camel-kafka-connector/next/release-guide.html /camel-kafka-connector/next/contributor-guide/release-guide.html
diff --git a/.well-known/security.txt b/.well-known/security.txt
index 0b4b21a7..bc300667 100644
--- a/.well-known/security.txt
+++ b/.well-known/security.txt
@@ -2,4 +2,4 @@ Canonical: https://camel.apache.com/.well-known/security.txt
Contact: mailto:security@apache.org
Encryption: https://www.apache.org/security/KEYS.txt
Policy: https://www.apache.org/security/
-Expires: 2025-02-26T11:10:17Z
+Expires: 2025-02-28T13:32:55Z
diff --git a/camel-k/next/apis/camel-k.html b/camel-k/next/apis/camel-k.html
index 93fe09ab..47be26ec 100644
--- a/camel-k/next/apis/camel-k.html
+++ b/camel-k/next/apis/camel-k.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel K API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/apis/camel-k.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Camel K API"> <meta property= [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel K API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/apis/camel-k.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Camel K API"> <meta property= [...]
\ No newline at end of file
diff --git a/camel-k/next/contributing/uninstalling.html b/camel-k/next/contributing/uninstalling.html
index 6fb0db26..7bd4307c 100644
--- a/camel-k/next/contributing/uninstalling.html
+++ b/camel-k/next/contributing/uninstalling.html
@@ -7,4 +7,5 @@ customresourcedefinition.apiextensions.k8s.io/builds.camel.apache.org
customresourcedefinition.apiextensions.k8s.io/camelcatalogs.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrationkits.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrationplatforms.camel.apache.org 2020-05-28T20:31:39Z
-customresourcedefinition.apiextensions.k8s.io/integrations.camel.apache.org 2020-05-28T20:31:39Z</code></pre> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee [...]
\ No newline at end of file
+customresourcedefinition.apiextensions.k8s.io/integrations.camel.apache.org 2020-05-28T20:31:39Z
+customresourcedefinition.apiextensions.k8s.io/integrationprofiles.camel.apache.org 2020-05-28T20:31:39Z</code></pre> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee [...]
\ No newline at end of file
diff --git a/camel-k/next/installation/advanced/multi.html b/camel-k/next/installation/advanced/multi.html
index 05940604..2a99111e 100644
--- a/camel-k/next/installation/advanced/multi.html
+++ b/camel-k/next/installation/advanced/multi.html
@@ -3,9 +3,9 @@ apiVersion: camel.apache.org/v1
metadata:
annotations:
camel.apache.org/operator.id: operator-2
-# ...</code></pre> </div> </div> <div class="paragraph"> <p>By default, Camel K custom resources use the default operator id <code>camel-k</code> as a value in this annotation. And more precisely the default operator with id <code>camel-k</code> and only this specific operator is allowed to also reconcile resources that are missing the operator id annotation.</p> </div> <div class="paragraph"> <p>The annotation can be put on any resource belonging to the "camel.apache.org" group.</p> </d [...]
+# ...</code></pre> </div> </div> <div class="paragraph"> <p>By default, Camel K custom resources use the default operator id <code>camel-k</code> as a value in this annotation. And more precisely the default operator with id <code>camel-k</code> and only this specific operator is allowed to also reconcile resources that are missing the operator id annotation.</p> </div> <div class="paragraph"> <p>The annotation can be put on any resource belonging to the "camel.apache.org" group.</p> </d [...]
apiVersion: camel.apache.org/v1
metadata:
annotations:
- camel.apache.org/platform.id: my-platform-name
-# ...</code></pre> </div> </div> <div class="paragraph"> <p>The value of the <code>camel.apache.org/platform.id</code> annotation must match the name of an IntegrationPlatform custom resource, in the annotated resource namespace or also in the operator namespace.</p> </div> <div class="paragraph"> <p>The selection of a secondary IntegrationPlatform enables new configuration scenarios, for example, sharing global configuration options for groups of integrations, or also providing per-oper [...]
\ No newline at end of file
+ camel.apache.org/integration-profile.id: my-profile-name
+# ...</code></pre> </div> </div> <div class="paragraph"> <p>The value of the <code>camel.apache.org/integration-profile.id</code> annotation must match the name of an IntegrationProfile custom resource. The profile gets automatically resolved from the annotated resource namespace or from the operator namespace. In case you need to explicitly set the integration profile namespace you can do so with the <code>camel.apache.org/integration-profile.namespace</code> annotation.</p> </div> <div [...]
\ No newline at end of file
diff --git a/camel-k/next/running/quarkus-native.html b/camel-k/next/running/quarkus-native.html
index d6009357..1c0b56be 100644
--- a/camel-k/next/running/quarkus-native.html
+++ b/camel-k/next/running/quarkus-native.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Run Quarkus native applications :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/running/quarkus-native.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content= [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Run Quarkus native applications :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/running/quarkus-native.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content= [...]
\ No newline at end of file
diff --git a/camel-k/next/traits/knative.html b/camel-k/next/traits/knative.html
index d742bc2e..32cd46e3 100755
--- a/camel-k/next/traits/knative.html
+++ b/camel-k/next/traits/knative.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative Trait :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/traits/knative.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Knative Trait"> <meta pro [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative Trait :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-k/2.2.x/traits/knative.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Knative Trait"> <meta pro [...]
\ No newline at end of file
diff --git a/camel-quarkus/next/contributor-guide/release-guide.html b/camel-quarkus/next/contributor-guide/release-guide.html
index 97463fd9..edcee2a6 100644
--- a/camel-quarkus/next/contributor-guide/release-guide.html
+++ b/camel-quarkus/next/contributor-guide/release-guide.html
@@ -56,7 +56,7 @@ $ ./mvnw -Dsync
# Then commit the generated changes
$ git add -A
$ git commit -m "Upgrade to Camel Quarkus $NEW_VERSION"</code></pre> </div> </div> </li> <li> <p>Run Camel Quarkus integration tests at least in JVM mode:</p> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-shell hljs" data-lang="shell">cd generated-platform-project/quarkus-camel/integration-tests
-mvn clean test</code></pre> </div> </div> </li> <li> <p>If all tests are passing, send a pull request to the Platform. If there are some new features, fixes, etc. in the release that would be worth to mention in the upcoming Quarkus announcement, you can tag the pull request with <code>release/noteworthy-feature</code> label and provide a short text about those features in the PR description.</p> </li> </ul> </div> </div> </div> <div class="sect1"> <h2 id="_create_a_github_release"><a cl [...]
+mvn clean test</code></pre> </div> </div> </li> <li> <p>If all tests are passing, send a pull request to the Platform. If there are some new features, fixes, etc. in the release that would be worth to mention in the upcoming Quarkus announcement, you can tag the pull request with <code>release/noteworthy-feature</code> label and provide a short text about those features in the PR description.</p> </li> </ul> </div> </div> </div> <div class="sect1"> <h2 id="_create_a_github_release"><a cl [...]
$ git fetch upstream
$ git checkout camel-quarkus-main
$ git reset --hard upstream/camel-quarkus-main
diff --git a/camel-quarkus/next/reference/dataformats.html b/camel-quarkus/next/reference/dataformats.html
index cb466b46..234dd34d 100644
--- a/camel-quarkus/next/reference/dataformats.html
+++ b/camel-quarkus/next/reference/dataformats.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel data formats supported on Quarkus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-quarkus/3.7.x/reference/dataformats.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:ti [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel data formats supported on Quarkus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-quarkus/3.7.x/reference/dataformats.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:ti [...]
\ No newline at end of file
diff --git a/camel-quarkus/next/reference/extensions/beanio.html b/camel-quarkus/next/reference/extensions/beanio.html
index 360fcbf4..ea61c9e5 100644
--- a/camel-quarkus/next/reference/extensions/beanio.html
+++ b/camel-quarkus/next/reference/extensions/beanio.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BeanIO :: Apache Camel</title> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="BeanIO"> <meta property="og:site_name" content="Apache Camel"> <meta property="og:url" content="https://camel.apache.o [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BeanIO :: Apache Camel</title> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="BeanIO"> <meta property="og:site_name" content="Apache Camel"> <meta property="og:url" content="https://camel.apache.o [...]
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-beanio</artifactId>
</dependency></code></pre> </div> </div> <div class="paragraph"> <p>Check the <a href="../../user-guide/index.html" class="xref page">User guide</a> for more information about writing Camel Quarkus applications.</p> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back [...]
\ No newline at end of file
diff --git a/camel-quarkus/next/reference/index.html b/camel-quarkus/next/reference/index.html
index bdeeb74b..21563d09 100644
--- a/camel-quarkus/next/reference/index.html
+++ b/camel-quarkus/next/reference/index.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel Quarkus extensions reference :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-quarkus/3.7.x/reference/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" conten [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Camel Quarkus extensions reference :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-quarkus/3.7.x/reference/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" conten [...]
\ No newline at end of file
diff --git a/camel-spring-boot/next/list.html b/camel-spring-boot/next/list.html
index 4ffe8307..dbfb927c 100644
--- a/camel-spring-boot/next/list.html
+++ b/camel-spring-boot/next/list.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Component Starters :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-spring-boot/4.4.x/list.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Component Starters"> <m [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Component Starters :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/camel-spring-boot/4.4.x/list.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Component Starters"> <m [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/aggregate-eip.html b/components/4.4.x/eips/aggregate-eip.html
index e00b86c2..7b5b9f97 100644
--- a/components/4.4.x/eips/aggregate-eip.html
+++ b/components/4.4.x/eips/aggregate-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Aggregate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/aggregate-eip.html"> <meta name="description" content="Aggregates many messages into a single message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Aggregate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/aggregate-eip.html"> <meta name="description" content="Aggregates many messages into a single message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
class StringAggregationStrategy implements AggregationStrategy {
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
@@ -31,21 +31,21 @@ class ArrayListAggregationStrategy implements AggregationStrategy {
}
}
}</code></pre> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> The <code>org.apache.camel.builder.AggregationStrategies</code> is a builder that can be used for creating commonly used aggregation strategies without having to create a class. </td> </tr> </table></div> </div> <div class="sect2"> <h3 id="_exchange_properties"><a class="anchor" href="#_exchange_propert [...]
- // aggregate all using same expression and group the
- // exchanges so we get one single exchange containing all
+ // aggregates all using the same expression and group the
+ // exchanges, so we get one single exchange containing all
// the others
.aggregate(new GroupedExchangeAggregationStrategy()).constant(true)
// wait for 0.5 seconds to aggregate
- .completionTimeout(500L).to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>As a result we have one outgoing <code>Exchange</code> being routed to the <code>"mock:result"</code> endpoint. The exchange is a holder containing all the incoming Exchanges.</p> </div> <div class="paragraph"> <p>The output of the aggregator will then contain the exchanges grouped together in a list as shown below:</p> </div> <div class="listingblock"> <div class="content"> <pre class=" [...]
+ .completionTimeout(500L).to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>As a result we have one outgoing <code>Exchange</code> being routed to the <code>"mock:result"</code> endpoint. The exchange is a holder containing all the incoming Exchanges.</p> </div> <div class="paragraph"> <p>The output of the aggregator will then contain the exchanges grouped together in a list as shown below:</p> </div> <div class="listingblock"> <div class="content"> <pre class=" [...]
@Override
public Integer getValue(Exchange exchange) {
- // the message body contains a number, so just return that as-is
+ // the message body contains a number, so return that as-is
return exchange.getIn().getBody(Integer.class);
}
}</code></pre> </div> </div> <div class="paragraph"> <p>The <code>org.apache.camel.builder.AggregationStrategies</code> is a builder that can be used for creating commonly used aggregation strategies without having to create a class.</p> </div> <div class="paragraph"> <p>The previous example can also be built using the builder as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Aggregat [...]
.accumulateInCollection(ArrayList.class)
- .pick(body());</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_aggregating_on_timeout"><a class="anchor" href="#_aggregating_on_timeout"></a>Aggregating on timeout</h3> <div class="paragraph"> <p>If your aggregation strategy implements <code>TimeoutAwareAggregationStrategy</code>, then Camel will invoke the <code>timeout</code> method when the timeout occurs. Notice that the values for index and total parameters will be -1, and the timeout parameter will be provided on [...]
+ .pick(body());</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_aggregating_on_timeout"><a class="anchor" href="#_aggregating_on_timeout"></a>Aggregating on timeout</h3> <div class="paragraph"> <p>If your aggregation strategy implements <code>TimeoutAwareAggregationStrategy</code>, then Camel will invoke the <code>timeout</code> method when the timeout occurs. Notice that the values for index and total parameters will be -1, and the timeout parameter will be provided on [...]
* Determines if the aggregation should complete the current group, and start a new group, or the aggregation
* should continue using the current group.
*
@@ -53,7 +53,7 @@ class ArrayListAggregationStrategy implements AggregationStrategy {
* @param newExchange the newest exchange (can be <tt>null</tt> if there was no data possible to acquire)
* @return <tt>true</tt> to complete current group and start a new group, or <tt>false</tt> to keep using current
*/
-boolean preComplete(Exchange oldExchange, Exchange newExchange);</code></pre> </div> </div> <div class="paragraph"> <p>If the <code>preComplete</code> method returns <code>true</code>, then the existing correlation groups is completed (without aggregating the incoming exchange (<code>newExchange</code>). Then the <code>newExchange</code> is used to start the correlation group from scratch, so the group would contain only that new incoming exchange. This is known as pre-completion mode.</ [...]
+boolean preComplete(Exchange oldExchange, Exchange newExchange);</code></pre> </div> </div> <div class="paragraph"> <p>If the <code>preComplete</code> method returns <code>true</code>, then the existing correlation group is completed (without aggregating the incoming exchange (<code>newExchange</code>). Then the <code>newExchange</code> is used to start the correlation group from scratch, so the group would contain only that new incoming exchange. This is known as pre-completion mode.</p [...]
@Override
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
@@ -67,7 +67,7 @@ boolean preComplete(Exchange oldExchange, Exchange newExchange);</code></pre> </
}
return oldExchange;
}
-}</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_completing_all_previous_group_decided_from_the_aggregationstrategy"><a class="anchor" href="#_completing_all_previous_group_decided_from_the_aggregationstrategy"></a>Completing all previous group decided from the AggregationStrategy</h3> <div class="paragraph"> <p>The <code>AggregationStrategy</code> checks an exchange property, from the returned exchange, indicating if all previous groups should be completed.</p> </div> <d [...]
+}</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_completing_all_previous_group_decided_from_the_aggregationstrategy"><a class="anchor" href="#_completing_all_previous_group_decided_from_the_aggregationstrategy"></a>Completing all previous group decided from the AggregationStrategy</h3> <div class="paragraph"> <p>The <code>AggregationStrategy</code> checks an exchange property, from the returned exchange, indicating if all previous groups should be completed.</p> </div> <d [...]
@Override
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
@@ -82,13 +82,13 @@ boolean preComplete(Exchange oldExchange, Exchange newExchange);</code></pre> </
oldExchange.getIn().setBody(body1 + body2);
return oldExchange;
}
-}</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_manually_force_the_completion_of_all_aggregated_exchanges_immediately"><a class="anchor" href="#_manually_force_the_completion_of_all_aggregated_exchanges_immediately"></a>Manually force the completion of all aggregated Exchanges immediately</h3> <div class="paragraph"> <p>You can manually trigger completion of all current aggregated exchanges by sending an exchange containing the exchange property <code>Exchange.AGGREGATIO [...]
+}</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_manually_force_the_completion_of_all_aggregated_exchanges_immediately"><a class="anchor" href="#_manually_force_the_completion_of_all_aggregated_exchanges_immediately"></a>Manually force the completion of all aggregated Exchanges immediately</h3> <div class="paragraph"> <p>You can manually trigger completion of all current aggregated exchanges by sending an exchange containing the exchange property <code>Exchange.AGGREGATIO [...]
from("direct:start")
.aggregate(header("id"), new MyAggregationStrategy())
.completionSize(10).id("myAggregator")
.aggregateController(controller)
- .to("mock:aggregated");</code></pre> </div> </div> <div class="paragraph"> <p>Then there is API on <code>AggregateController</code> to force completion. For example to complete a group with key foo:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">int groups = controller.forceCompletionOfGroup("foo");</code></pre> </div> </div> <div class="paragraph"> <p>The returned value is the number [...]
+ .to("mock:aggregated");</code></pre> </div> </div> <div class="paragraph"> <p>Then there is API on <code>AggregateController</code> to force completion. For example, to complete a group with key foo:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">int groups = controller.forceCompletionOfGroup("foo");</code></pre> </div> </div> <div class="paragraph"> <p>The returned value is the number [...]
<camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
@@ -101,14 +101,14 @@ from("direct:start")
<to uri="mock:result"/>
</aggregate>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>There is also JMX API on the aggregator which is available under the processors node in the Camel JMX tree.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_aggregating_with_beans"><a class="anchor" href="#_aggregating_with_beans"></a>Aggregating with Beans</h2> <div class="sectionbody"> <div class="paragraph"> <p>To use the <code>AggregationStrategy</code> you had to implement the <code>org.apache.ca [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>There is also JMX API on the aggregator which is available under the processors node in the Camel JMX tree.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_aggregating_with_beans"><a class="anchor" href="#_aggregating_with_beans"></a>Aggregating with Beans</h2> <div class="sectionbody"> <div class="paragraph"> <p>To use the <code>AggregationStrategy</code> you had to implement the <code>org.apache.ca [...]
return existing + next;
-}</code></pre> </div> </div> <div class="paragraph"> <p>In the method below, we have only 4 parameters, so the 1st parameter is the body of the <code>oldExchange</code>, and the 2nd is the <code>Map</code> of the <code>oldExchange</code> headers, and the 3rd is paired to the body of the <code>newExchange</code>, and the 4th parameter is the <code>Map</code> of the <code>newExchange</code> headers:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlig [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>In the method below, we have only four parameters, so the first parameter is the body of the <code>oldExchange</code>, and the second is the <code>Map</code> of the <code>oldExchange</code> headers, and the third is paired to the body of the <code>newExchange</code>, and the fourth parameter is the <code>Map</code> of the <code>newExchange</code> headers:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highli [...]
return existing + next;
-}</code></pre> </div> </div> <div class="paragraph"> <p>And finally if we have 6 parameters, that includes the exchange properties:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public String append(String existing, Map existingHeaders, Map existingProperties,
+}</code></pre> </div> </div> <div class="paragraph"> <p>And finally, if we have six parameters, that includes the exchange properties:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public String append(String existing, Map existingHeaders, Map existingProperties,
String next, Map nextHeaders, Map nextProperties) {
return existing + next;
-}</code></pre> </div> </div> <div class="paragraph"> <p>To use this with the aggregate EIP we can use a bean with the aggregate logic as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyBodyAppender {
+}</code></pre> </div> </div> <div class="paragraph"> <p>To use this with the aggregate EIP, we can use a bean with the aggregate logic as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyBodyAppender {
public String append(String existing, String next) {
return next + existing;
@@ -126,7 +126,7 @@ public void configure() throws Exception {
.aggregate(constant(true), AggregationStrategies.bean(MyBodyAppender.class, "append"))
.completionSize(3)
.to("mock:result");
-}</code></pre> </div> </div> <div class="paragraph"> <p>And if the bean has only one method we do not need to specify the name of the method:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public void configure() throws Exception {
+}</code></pre> </div> </div> <div class="paragraph"> <p>And if the bean has only one method, we do not need to specify the name of the method:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public void configure() throws Exception {
from("direct:start")
.aggregate(constant(true), AggregationStrategies.bean(MyBodyAppender.class))
.completionSize(3)
@@ -137,7 +137,7 @@ public void configure() throws Exception {
return next + existing;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>If you are using XML DSL then we need to declare a <code><bean></code> with the bean:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id="myAppender" class="com.foo.MyBodyAppender"/></code></pre> </div> </div> <div class="paragraph"> <p>And in the Camel route we use <code>aggregationStrategy</code> to refer to the bean by [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>If you are using XML DSL, then we need to declare a <code><bean></code> with the bean:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id="myAppender" class="com.foo.MyBodyAppender"/></code></pre> </div> </div> <div class="paragraph"> <p>And in the Camel route we use <code>aggregationStrategy</code> to refer to the bean b [...]
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="myAppender" aggregationStrategyMethodName="append" completionSize="3">
@@ -147,7 +147,7 @@ public void configure() throws Exception {
<to uri="mock:result"/>
</aggregate>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>When using XML DSL you can also specify the bean class directly in <code>aggregationStrategy</code> using the <code>#class:</code> syntax as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>When using XML DSL, you can also specify the bean class directly in <code>aggregationStrategy</code> using the <code>#class:</code> syntax as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="#class:com.foo.MyBodyAppender" aggregationStrategyMethodName="append" completionSize="3">
<correlationExpression>
@@ -155,7 +155,7 @@ public void configure() throws Exception {
</correlationExpression>
<to uri="mock:result"/>
</aggregate>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>You can use this in XML DSL when you are not using the classic Spring XML files; where you use XML only for Camel routes.</p> </div> <div class="sect2"> <h3 id="_aggregating_when_no_data"><a class="anchor" href="#_aggregating_when_no_data"></a>Aggregating when no data</h3> <div class="paragraph"> <p>When using bean as <code>AggregationStrategy</code>, then the method is <strong>only</strong> invoked when there is data t [...]
+</route></code></pre> </div> </div> <div class="paragraph"> <p>You can use this in XML DSL when you are not using the classic Spring XML files ( where you use XML only for Camel routes).</p> </div> <div class="sect2"> <h3 id="_aggregating_when_no_data"><a class="anchor" href="#_aggregating_when_no_data"></a>Aggregating when no data</h3> <div class="paragraph"> <p>When using bean as <code>AggregationStrategy</code>, then the method is <strong>only</strong> invoked when there is data [...]
from("direct:start")
.pollEnrich("seda:foo", 1000, AggregationStrategies.beanAllowNull(appender, "append"))
.to("mock:result");
@@ -169,7 +169,7 @@ public void configure() throws Exception {
}
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>In the example above we use the <a href="content-enricher.html" class="xref page">Content Enricher</a> EIP using <code>pollEnrich</code>. The <code>newExchange</code> will be <code>null</code> in the situation we could not get any data from the "seda:foo" endpoint, and a timeout was hit after 1 second.</p> </div> <div class="paragraph"> <p>So if we need to do special merge logic we would need to set <code>setAllowNullNewExchange=tru [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>In the example above we use the <a href="content-enricher.html" class="xref page">Content Enricher</a> EIP using <code>pollEnrich</code>. The <code>newExchange</code> will be <code>null</code> in the situation we could not get any data from the "seda:foo" endpoint, and a timeout was hit after 1 second.</p> </div> <div class="paragraph"> <p>So if we need to do special merge logic, we would need to set <code>setAllowNullNewExchange=tr [...]
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="myAppender"
@@ -182,7 +182,7 @@ public void configure() throws Exception {
<to uri="mock:result"/>
</aggregate>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_aggregating_with_different_body_types"><a class="anchor" href="#_aggregating_with_different_body_types"></a>Aggregating with different body types</h3> <div class="paragraph"> <p>When for example using <code>strategyMethodAllowNull</code> as <code>true</code>, then the parameter types of the message bodies does not have to be the same. For example suppose we want to aggregate from a <code>com.foo.User</co [...]
+</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_aggregating_with_different_body_types"><a class="anchor" href="#_aggregating_with_different_body_types"></a>Aggregating with different body types</h3> <div class="paragraph"> <p>When, for example, using <code>strategyMethodAllowNull</code> as <code>true</code>, then the parameter type of the message bodies does not have to be the same. For example suppose we want to aggregate from a <code>com.foo.User</c [...]
public List addUsers(List names, User user) {
if (names == null) {
@@ -191,4 +191,4 @@ public void configure() throws Exception {
names.add(user.getName());
return names;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>Notice that the return type is a <code>List</code> which we want to contain the name of the users. The 1st parameter is the <code>List</code> of names, and the 2nd parameter is the incoming <code>com.foo.User</code> type.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="fo [...]
\ No newline at end of file
+}</code></pre> </div> </div> <div class="paragraph"> <p>Notice that the return type is a <code>List</code> which we want to contain the name of the users. The first parameter is the <code>List</code> of names, and the second parameter is the incoming <code>com.foo.User</code> type.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div clas [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/bean-eip.html b/components/4.4.x/eips/bean-eip.html
index e4ada36c..dc4a2f1b 100644
--- a/components/4.4.x/eips/bean-eip.html
+++ b/components/4.4.x/eips/bean-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/bean-eip.html"> <meta name="description" content="Calls a Java bean"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta propert [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/bean-eip.html"> <meta name="description" content="Calls a Java bean"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta propert [...]
from("direct:foo").bean("myBean", "myMethod");
// lookup bean from registry and invoke best matching method
@@ -24,13 +24,13 @@ from("direct:bar").bean("myBean");</code></pre> </div> </div> </div> <div id="_t
ref: myBean
- beans:
- name: myBean
- type: com.foo.ExampleBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Instead of passing name of the reference to the bean (so that Camel will lookup for it in the registry), you can provide the bean:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> <li id="_tabs_2_yaml" c [...]
+ type: com.foo.ExampleBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Instead of passing the name of the reference to the bean (so that Camel will look up for it in the registry), you can provide the bean:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> <li id="_tabs_2_ya [...]
from("direct:foo").bean(new ExampleBean());
// Explicit selection of bean method to be invoked.
from("direct:bar").bean(new ExampleBean(), "myMethod");
-// Camel will create a singleton instance of the bean, and reuse the instance for following calls (see scope)
+// Camel will create a singleton instance of the bean, and reuse the instance for the following calls (see scope)
from("direct:cheese").bean(ExampleBean.class);</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><routes>
<route>
<from uri="direct:foo"/>
@@ -59,4 +59,4 @@ from("direct:cheese").bean(ExampleBean.class);</code></pre> </div> </div> </div>
uri: direct:cheese
steps:
- bean:
- beanType: com.foo.ExampleBean</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_bean_binding"><a class="anchor" href="#_bean_binding"></a>Bean binding</h2> <div class="sectionbody"> <div class="paragraph"> <p>How bean methods to be invoked are chosen (if they are not specified explicitly through the <strong>method</strong> parameter) and how parameter values are constructed from the <a href="message.html" class="xref page">Message</a> ar [...]
\ No newline at end of file
+ beanType: com.foo.ExampleBean</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_bean_binding"><a class="anchor" href="#_bean_binding"></a>Bean binding</h2> <div class="sectionbody"> <div class="paragraph"> <p>How bean methods to be invoked are chosen (if they are not specified explicitly through the <strong>method</strong> parameter) and how parameter values are constructed from the <a href="message.html" class="xref page">Message</a> ar [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/change-data-capture.html b/components/4.4.x/eips/change-data-capture.html
index ed972621..47ddd4c1 100644
--- a/components/4.4.x/eips/change-data-capture.html
+++ b/components/4.4.x/eips/change-data-capture.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Change Data Capture :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/change-data-capture.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Change [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Change Data Capture :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/change-data-capture.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Change [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/channel-adapter.html b/components/4.4.x/eips/channel-adapter.html
index b5fcdf94..0041b55a 100644
--- a/components/4.4.x/eips/channel-adapter.html
+++ b/components/4.4.x/eips/channel-adapter.html
@@ -1,5 +1,5 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Channel Adapter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/channel-adapter.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Channel Adapte [...]
- .to("bean:cheeseBean");</code></pre> </div> </div> <div class="paragraph"> <p>And the bean has method which accepts the message payload as a byte array.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class CheeseBean {
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Channel Adapter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/channel-adapter.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Channel Adapte [...]
+ .to("bean:cheeseBean");</code></pre> </div> </div> <div class="paragraph"> <p>And the bean has a method which accepts the message payload as a byte array.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class CheeseBean {
public void receiveCheeseData(byte[] data) {
// do something
diff --git a/components/4.4.x/eips/choice-eip.html b/components/4.4.x/eips/choice-eip.html
index 87c75e39..1e6724e2 100644
--- a/components/4.4.x/eips/choice-eip.html
+++ b/components/4.4.x/eips/choice-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Choice :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/choice-eip.html"> <meta name="description" content="Route messages based on a series of predicates"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Choice :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/choice-eip.html"> <meta name="description" content="Route messages based on a series of predicates"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
.choice()
.when(simple("${header.foo} == 'bar'"))
.to("direct:b")
@@ -36,12 +36,12 @@
otherwise:
steps:
- to:
- uri: direct:d</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_why_can_i_not_use_otherwise_in_java_dsl"><a class="anchor" href="#_why_can_i_not_use_otherwise_in_java_dsl"></a>Why can I not use otherwise in Java DSL</h3> <div class="paragraph"> <p>When using the Choice EIP in the Java DSL you may have a situation where the compiler will not accept <code>when()</code> or <code>otherwise()</code> statements.</p> </div> <div class="paragraph"> <p [...]
+ uri: direct:d</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_why_can_i_not_use_otherwise_in_java_dsl"><a class="anchor" href="#_why_can_i_not_use_otherwise_in_java_dsl"></a>Why can I not use otherwise in Java DSL?</h3> <div class="paragraph"> <p>When using the Choice EIP in the Java DSL you may have a situation where the compiler will not accept <code>when()</code> or <code>otherwise()</code> statements.</p> </div> <div class="paragraph"> < [...]
.choice()
.when(body().contains("Camel"))
.loadBalance().roundRobin().to("mock:foo").to("mock:bar")
.otherwise()
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Well the first issue is that the <a href="loadBalance-eip.html" class="xref page">Load Balancer</a> EIP uses the additional routing to know what to use in the load balancing. In this example that would be the:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">.to("mock:foo").to("mock:bar")</code></pre> </div> [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Well, the first issue is that the <a href="loadBalance-eip.html" class="xref page">Load Balancer</a> EIP uses the additional routing to know what to use in the load balancing. In this example, that would be:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">.to("mock:foo").to("mock:bar")</code></pre> </div> </ [...]
.choice()
.when(body().contains("Camel"))
.loadBalance().roundRobin().to("mock:foo").to("mock:bar").end()
@@ -51,7 +51,7 @@
.when(body().contains("Camel"))
.loadBalance().roundRobin().to("mock:foo").to("mock:bar").endChoice()
.otherwise()
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>You only need to use <code>.endChoice()</code> when using certain <a href="enterprise-integration-patterns.html" class="xref page">EIP</a>s which often have additional methods to configure or as part of the EIP itself. For example the <a href="split-eip.html" class="xref page">Split</a> EIP has a sub-route which denotes the routing of each <em>split</em> message. You would also have to use <code>.endCho [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>You only need to use <code>.endChoice()</code> when using certain <a href="enterprise-integration-patterns.html" class="xref page">EIP</a>s which often have additional methods to configure or as part of the EIP itself. For example, the <a href="split-eip.html" class="xref page">Split</a> EIP has a sub-route which denotes the routing of each <em>split</em> message. You would also have to use <code>.endCh [...]
.choice().precondition()
.when(simple("{{?foo}}")).to("direct:foo")
.when(simple("{{?bar}}")).to("direct:bar")
@@ -84,4 +84,4 @@
- to: "direct:bar"
otherwise:
steps:
- - to: "direct:other"</code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> Otherwise, is optional, and if none of the predicates would match, then no branches is selected. </td> </tr> </table></div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-le [...]
\ No newline at end of file
+ - to: "direct:other"</code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> Otherwise, it is optional, and if none of the predicate matches, then no branches are selected. </td> </tr> </table></div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-lev [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/circuitBreaker-eip.html b/components/4.4.x/eips/circuitBreaker-eip.html
index a74ea904..a95fac34 100644
--- a/components/4.4.x/eips/circuitBreaker-eip.html
+++ b/components/4.4.x/eips/circuitBreaker-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Circuit Breaker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/circuitBreaker-eip.html"> <meta name="description" content="Route messages in a fault tolerance way using Circuit Breaker"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Circuit Breaker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/circuitBreaker-eip.html"> <meta name="description" content="Route messages in a fault tolerance way using Circuit Breaker"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
.circuitBreaker()
.to("http://fooservice.com/slow")
.onFallback()
@@ -15,4 +15,4 @@
</onFallback>
</circuitBreaker>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_circuit_breaker_components"><a class="anchor" href="#_circuit_breaker_components"></a>Circuit Breaker components</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides two implementations of this pattern:</p> </div> <div class="ulist"> <ul> <li> <p><a href="resilience4j-eip.html" class="xref page">Resilience4j</a> - Using the Resilience4j implementation</p> </li> <l [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_circuit_breaker_components"><a class="anchor" href="#_circuit_breaker_components"></a>Circuit Breaker components</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides two implementations of this pattern:</p> </div> <div class="ulist"> <ul> <li> <p><a href="resilience4j-eip.html" class="xref page">Resilience4j</a>: Using the Resilience4j implementation</p> </li> <li [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/claimCheck-eip.html b/components/4.4.x/eips/claimCheck-eip.html
index 534e5fbf..0124ac50 100644
--- a/components/4.4.x/eips/claimCheck-eip.html
+++ b/components/4.4.x/eips/claimCheck-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Claim Check :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/claimCheck-eip.html"> <meta name="description" content="The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time."> <meta name="generator" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Claim Check :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/claimCheck-eip.html"> <meta name="description" content="The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time."> <meta name="generator" co [...]
.to("mock:a")
.claimCheck(ClaimCheckOperation.Set, "${header.myKey}")
.transform().constant("Bye World")
diff --git a/components/4.4.x/eips/competing-consumers.html b/components/4.4.x/eips/competing-consumers.html
index 09eff50e..3a35cfcf 100644
--- a/components/4.4.x/eips/competing-consumers.html
+++ b/components/4.4.x/eips/competing-consumers.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Competing Consumers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/competing-consumers.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Compet [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Competing Consumers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/competing-consumers.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Compet [...]
.to("bean:someBean");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:MyQueue?concurrentConsumers=5"/>
<to uri="bean:someBean"/>
@@ -8,7 +8,7 @@
concurrentConsumers: 5
steps:
- to:
- uri: bean:someBean</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_competing_consumers_with_thread_pool"><a class="anchor" href="#_competing_consumers_with_thread_pool"></a>Competing Consumers with Thread Pool</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can simulate competing consumers by using a thread pool which then continue processing the messages concurrently. Then the single thread consumer can quickly continue [...]
+ uri: bean:someBean</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_competing_consumers_with_thread_pool"><a class="anchor" href="#_competing_consumers_with_thread_pool"></a>Competing Consumers with Thread Pool</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can simulate competing consumers by using a thread pool which then continue processing the messages concurrently. Then the single thread consumer can quickly continue [...]
.to("bean:calculateBean");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file://inbox?move=../backup-${date:now:yyyyMMdd}"/>
<to uri="bean:calculateBean"/>
@@ -16,7 +16,7 @@
uri: "file://inbox?move=../backup-${date:now:yyyyMMdd}"
steps:
- to:
- uri: bean:calculateBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The route is synchronous and there is only a single consumer running at any given time. This scenario is well known, and it doesn’t affect thread safety as we only have one active thread involved at any given time.</p> </div> <div class="paragraph"> <p>Now imagine that the inbox folder is filled with filers quicker than we can process. So we want to speed up this process. Ho [...]
+ uri: bean:calculateBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The route is synchronous, and there is only a single consumer running at any given time. This scenario is well known, and it doesn’t affect thread safety as we only have one active thread involved at any given time.</p> </div> <div class="paragraph"> <p>Now imagine that the inbox folder is filled with filers quicker than we can process. So we want to speed up this process. H [...]
.threads(10)
.to("bean:calculateBean");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file://inbox?move=../backup-${date:now:yyyyMMdd}"/>
@@ -28,4 +28,4 @@
- threads:
poolSize: 10
- to:
- uri: bean:calculateBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>So by inserting <code>threads(10)</code> we have instructed Camel that from this point forward in the route it should use a thread pool with up till 10 concurrent threads. So when the file consumer delivers a message to the threads, then the threads take it from there, and the file consumer can return and continue to poll the next file.</p> </div> <div class="paragraph"> <p>By lev [...]
\ No newline at end of file
+ uri: bean:calculateBean</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>So by inserting <code>threads(10)</code> we have instructed Camel that from this point forward in the route it should use a thread pool with up till 10 concurrent threads. So when the file consumer delivers a message to the threads, then the threads take it from there, and the file consumer can return and continue to poll the next file.</p> </div> <div class="paragraph"> <p>By lev [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/composed-message-processor.html b/components/4.4.x/eips/composed-message-processor.html
index e9ca0faf..550c60f9 100644
--- a/components/4.4.x/eips/composed-message-processor.html
+++ b/components/4.4.x/eips/composed-message-processor.html
@@ -1,6 +1,6 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Composed Message Processor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/composed-message-processor.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Composed Message Processor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/composed-message-processor.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" c [...]
// the body is then split based on @ separator
-// the splitter in Camel supports InOut as well and for that we need
+// the splitter in Camel supports InOut as well, and for that we need
// to be able to aggregate what response we need to send back, so we provide our
// own strategy with the class MyOrderStrategy.
from("direct:start")
@@ -10,7 +10,7 @@ from("direct:start")
// this is important to end the splitter route as we do not want to do more routing
// on each split message
.end()
- // after we have split and handled each message we want to send a single combined
+ // after we have split and handled each message, we want to send a single combined
// response back to the original caller, so we let this bean build it for us
// this bean will receive the result of the aggregate strategy: MyOrderStrategy
.to("bean:MyOrderService?method=buildCombinedResponse")</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_more_details"><a class="anchor" href="#_more_details"></a>More details</h2> <div class="sectionbody"> <div class="paragraph"> <p>See the <a href="split-eip.html" class="xref page">Splitter</a> EIP.</p> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </ [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/content-enricher.html b/components/4.4.x/eips/content-enricher.html
index 486885d6..e6e2e796 100644
--- a/components/4.4.x/eips/content-enricher.html
+++ b/components/4.4.x/eips/content-enricher.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Enricher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-enricher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Enri [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Enricher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-enricher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Enri [...]
.to("velocity:com/acme/MyResponse.vm")
.to("activemq:Another.Queue");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:My.Queue"/>
@@ -10,7 +10,7 @@
- to:
uri: velocity:com/acme/MyResponse.vm
- to:
- uri: activemq:Another.Queue</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>You can also enrich the message in Java DSL directly (using fluent builder) as an <a href="../../../manual/expression.html" class="xref page">Expression</a>. In the example below the message is enriched by appending ` World!` to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data [...]
+ uri: activemq:Another.Queue</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>You can also enrich the message in Java DSL directly (using fluent builder) as an <a href="../../../manual/expression.html" class="xref page">Expression</a>. In the example below, the message is enriched by appending ` World!` to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" dat [...]
.setBody(body().append(" World!"))
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>The fluent builder is not available in XML or YAML DSL, instead you can use <a href="../languages/simple-language.html" class="xref page">Simple</a> language:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -18,7 +18,7 @@
<simple>${body} World!</simple>
</setBody>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_content_enrichment_using_a_processor"><a class="anchor" href="#_content_enrichment_using_a_processor"></a>Content enrichment using a Processor</h2> <div class="sectionbody"> <div class="paragraph"> <p>In this example we add our own <a href="../../../manual/processor.html" class="xref page">Processor</a> using explicit Java to enrich the message:</p> </div> <div class="listingblock"> <div class="content"> [...]
+</route></code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_content_enrichment_using_a_processor"><a class="anchor" href="#_content_enrichment_using_a_processor"></a>Content enrichment using a Processor</h2> <div class="sectionbody"> <div class="paragraph"> <p>In this example, we add our own <a href="../../../manual/processor.html" class="xref page">Processor</a> using explicit Java to enrich the message:</p> </div> <div class="listingblock"> <div class="content" [...]
.process(new Processor() {
public void process(Exchange exchange) {
Message msg = exchange.getMessage();
@@ -38,4 +38,4 @@
ref: myBeanName
method: doTransform
- to:
- uri: activemq:Output</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_content_enrichment_using_enrich_eip"><a class="anchor" href="#_content_enrichment_using_enrich_eip"></a>Content enrichment using Enrich EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with two kinds of Content Enricher EIPs:</p> </div> <div class="ulist"> <ul> <li> <p><a href="enrich-eip.html" class="xref page">Enrich</a> EIP - This is the mo [...]
\ No newline at end of file
+ uri: activemq:Output</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_content_enrichment_using_enrich_eip"><a class="anchor" href="#_content_enrichment_using_enrich_eip"></a>Content enrichment using Enrich EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with two kinds of Content Enricher EIPs:</p> </div> <div class="ulist"> <ul> <li> <p><a href="enrich-eip.html" class="xref page">Enrich</a> EIP: This is the mos [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/content-filter-eip.html b/components/4.4.x/eips/content-filter-eip.html
index b0ddd009..670f8372 100644
--- a/components/4.4.x/eips/content-filter-eip.html
+++ b/components/4.4.x/eips/content-filter-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-filter-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Filt [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-filter-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Filt [...]
.process(new Processor() {
public void process(Exchange exchange) {
String body = exchange.getMessage().getBody(String.class);
@@ -7,7 +7,7 @@
exchange.getMessage().setBody(body);
}
})
- .to("mock:result");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_message_content_filtering_using_a_bean_eip"><a class="anchor" href="#_message_content_filtering_using_a_bean_eip"></a>Message Content filtering using a Bean EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>We can use <a href="bean-eip.html" class="xref page">Bean EIP</a> to use any Java method on any bean to act as content filter:</p> </div> <div id="_tabs_1" class="openblock tabs i [...]
+ .to("mock:result");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_message_content_filtering_using_a_bean_eip"><a class="anchor" href="#_message_content_filtering_using_a_bean_eip"></a>Message Content filtering using a Bean EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>We can use <a href="bean-eip.html" class="xref page">Bean EIP</a> to use any Java method on any bean to act as a content filter:</p> </div> <div id="_tabs_1" class="openblock tabs [...]
.bean("myBeanName", "doFilter")
.to("activemq:Another.Queue");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:Input"/>
diff --git a/components/4.4.x/eips/convertBodyTo-eip.html b/components/4.4.x/eips/convertBodyTo-eip.html
index 6c06a955..000db018 100644
--- a/components/4.4.x/eips/convertBodyTo-eip.html
+++ b/components/4.4.x/eips/convertBodyTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Body To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertBodyTo-eip.html"> <meta name="description" content="Converts the message body to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Body To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertBodyTo-eip.html"> <meta name="description" content="Converts the message body to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
.convertBodyTo(String.class)
.log("The file content: ${body}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
diff --git a/components/4.4.x/eips/convertHeaderTo-eip.html b/components/4.4.x/eips/convertHeaderTo-eip.html
index 068c2b83..d5d52270 100644
--- a/components/4.4.x/eips/convertHeaderTo-eip.html
+++ b/components/4.4.x/eips/convertHeaderTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Header To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertHeaderTo-eip.html"> <meta name="description" content="Converts the message header to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Header To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertHeaderTo-eip.html"> <meta name="description" content="Converts the message header to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
.convertHeaderTo("foo", String.class)
.log("The header content: ${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
@@ -25,7 +25,7 @@
toName: bar
type: String
- log:
- message: "The header content: ${header.bar}"</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamic_header_name"><a class="anchor" href="#_dynamic_header_name"></a>Dynamic header name</h3> <div class="paragraph"> <p>The ConvertHeaderTo supports using <a href="../languages/simple-language.html" class="xref page">Simple</a> language for dynamic header name.</p> </div> <div class="paragraph"> <p>Suppose you have multiple headers:</p> </div> <di [...]
+ message: "The header content: ${header.bar}"</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamic_header_name"><a class="anchor" href="#_dynamic_header_name"></a>Dynamic header name</h3> <div class="paragraph"> <p>The ConvertHeaderTo supports using <a href="../languages/simple-language.html" class="xref page">Simple</a> language for dynamic header name.</p> </div> <div class="paragraph"> <p>Suppose you have multiple headers:</p> </div> <di [...]
.convertHeaderTo("${header.region}", String.class)
.log("Order from EMEA: ${header.emea}");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/4.4.x/eips/convertVariableTo-eip.html b/components/4.4.x/eips/convertVariableTo-eip.html
index ab6061dd..41363322 100644
--- a/components/4.4.x/eips/convertVariableTo-eip.html
+++ b/components/4.4.x/eips/convertVariableTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Variable To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertVariableTo-eip.html"> <meta name="description" content="Converts the variable to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Variable To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertVariableTo-eip.html"> <meta name="description" content="Converts the variable to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
.convertVariableTo("foo", String.class)
.log("The variable content: ${variable.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
@@ -25,7 +25,7 @@
toName: bar
type: String
- log:
- message: "The variable content: ${variable.bar}"</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamic_variable_name"><a class="anchor" href="#_dynamic_variable_name"></a>Dynamic variable name</h3> <div class="paragraph"> <p>The ConvertVariableTo supports using <a href="../languages/simple-language.html" class="xref page">Simple</a> language for dynamic variable name.</p> </div> <div class="paragraph"> <p>Suppose you have multiple variables [...]
+ message: "The variable content: ${variable.bar}"</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamic_variable_name"><a class="anchor" href="#_dynamic_variable_name"></a>Dynamic variable name</h3> <div class="paragraph"> <p>The ConvertVariableTo supports using <a href="../languages/simple-language.html" class="xref page">Simple</a> language for dynamic variable name.</p> </div> <div class="paragraph"> <p>Suppose you have multiple variables [...]
.convertVariableTo("${variable.region}", String.class)
.log("Order from EMEA: ${variable.emea}");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/4.4.x/eips/correlation-identifier.html b/components/4.4.x/eips/correlation-identifier.html
index 200111e4..0de751fc 100644
--- a/components/4.4.x/eips/correlation-identifier.html
+++ b/components/4.4.x/eips/correlation-identifier.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Correlation Identifier :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/correlation-identifier.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Correlation Identifier :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/correlation-identifier.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.to(ExchangePattern.InOut, "jms:queue:foo")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
diff --git a/components/4.4.x/eips/customLoadBalancer-eip.html b/components/4.4.x/eips/customLoadBalancer-eip.html
index 37db57a5..cf54777e 100644
--- a/components/4.4.x/eips/customLoadBalancer-eip.html
+++ b/components/4.4.x/eips/customLoadBalancer-eip.html
@@ -19,7 +19,7 @@
<to uri="seda:z"/>
</loadBalance>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To implement a custom load balancer you can extend some support classes such as <code>LoadBalancerSupport</code> and <code>SimpleLoadBalancerSupport</code>. The former supports the asynchronous routing engine, and the latter does not. Here is an example of a custom load balancer implementation:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><cod [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To implement a custom load balancer, you can extend some support classes such as <code>LoadBalancerSupport</code> and <code>SimpleLoadBalancerSupport</code>. The former supports the asynchronous routing engine, and the latter does not. Here is an example of a custom load balancer implementation:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><co [...]
public boolean process(Exchange exchange, AsyncCallback callback) {
String body = exchange.getIn().getBody(String.class);
diff --git a/components/4.4.x/eips/dead-letter-channel.html b/components/4.4.x/eips/dead-letter-channel.html
index 8b843d87..4fdf184f 100644
--- a/components/4.4.x/eips/dead-letter-channel.html
+++ b/components/4.4.x/eips/dead-letter-channel.html
@@ -1,5 +1,5 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dead Letter Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dead-letter-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Dead L [...]
- deadLetterUri="log:dead?level=ERROR"/></code></pre> </div> </div> <div class="paragraph"> <p>Pay attention to Spring XML DSL, the type attribute is used to declare which error handler to use, here its <code>DeadLetterChannel</code>. And in XML the <code><errorHandler></code> must be configured with an id. The id must then be enabled on either the <code><camelContext></code> (global scope), or per route that should use this error handler.</p> </div> <div class [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dead Letter Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dead-letter-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Dead L [...]
+ deadLetterUri="log:dead?level=ERROR"/></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Pay attention to Spring XML DSL. The type attribute is used to declare which error handler to use, here its <code>DeadLetterChannel</code>. And in XML the <code><errorHandler></code> must be configured with an id. The id must then be enabled on either the <code><camelContext></code> (global scope), or per route that should use this error handler.< [...]
<errorHandler id="myErrorHandler" type="DeadLetterChannel"
deadLetterUri="log:dead?level=ERROR"/>
<route>
@@ -7,43 +7,43 @@
<bean ref="orderService" method="validate"/>
<bean ref="orderService" method="store"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how we have enabled the error handler on the <code><camelContext></code> via <code>errorHandlerRef</code> which means this error handler is used globally. You can override this per route, and have individual routes used another error handler.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td clas [...]
- .maximumRedeliveries(3).redeliveryDelay(5000));</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><errorHandler id="myErrorHandler" type="DeadLetterChannel"
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how we have enabled the error handler on the <code><camelContext></code> via <code>errorHandlerRef</code> which means this error handler is used globally. You can override this per route, and have individual routes used another error handler.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td clas [...]
+ .maximumRedeliveries(3).redeliveryDelay(5000));</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><errorHandler id="myErrorHandler" type="DeadLetterChannel"
deadLetterUri="jms:queue:dead">
<redeliveryPolicy maximumRedeliveries="3" redeliveryDelay="5000"/>
-</errorHandler></code></pre> </div> </div> <div class="paragraph"> <p>The Dead Letter error handler will clear the caused exception (<code>setException(null)</code>), by moving the caused exception to a property on the <a href="../../../manual/exchange.html" class="xref page">Exchange</a>, with the key <code>Exchange.EXCEPTION_CAUGHT</code>. Then the <a href="../../../manual/exchange.html" class="xref page">Exchange</a> is moved to the <code>jms:queue:dead</code> destination, and t [...]
+</errorHandler></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The Dead Letter error handler will clear the caused exception (<code>setException(null)</code>), by moving the caused exception to a property on the <a href="../../../manual/exchange.html" class="xref page">Exchange</a>, with the key <code>Exchange.EXCEPTION_CAUGHT</code>. Then the <a href="../../../manual/exchange.html" class="xref page">Exchange</a> is moved to the <code>jms:queue:dead</cod [...]
.to("bean:validateOrder")
.to("bean:transformOrder")
- .to("bean:handleOrder");</code></pre> </div> </div> <div class="paragraph"> <p>The route listen for JMS messages and validates, transforms and handle it. During this the <a href="../../../manual/exchange.html" class="xref page">Exchange</a> payload is transformed/modified in the various bean stages.</p> </div> <div class="paragraph"> <p>Now suppose that if an exception is thrown we want to move the message to the dead letter queue. However the message that is moved to the dead letter [...]
+ .to("bean:handleOrder");</code></pre> </div> </div> <div class="paragraph"> <p>The route listens for JMS messages and validates, transforms and handles it. During this the <a href="../../../manual/exchange.html" class="xref page">Exchange</a> payload is transformed/modified in the various bean stages.</p> </div> <div class="paragraph"> <p>Now suppose that if an exception is thrown, we want to move the message to the dead letter queue. However, the message moved to the dead letter queu [...]
errorHandler(deadLetterChannel("jms:queue:dead")
- .useOriginalMessage().maximumRedeliveries(5).redeliveryDelay(5000);</code></pre> </div> </div> <div class="paragraph"> <p>And in XML, you set <code>useOriginalMessage=true</code> on the <code><errorHandler></code> as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><errorHandler id="myErrorHandler" type="DeadLetterChannel" useOriginalMessage="true"
+ .useOriginalMessage().maximumRedeliveries(5).redeliveryDelay(5000);</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="paragraph"> <p>And in XML, you set <code>useOriginalMessage=true</code> on the <code><errorHandler></code> as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><errorHandler id="myErrorHand [...]
deadLetterUri="jms:queue:dead">
<redeliveryPolicy maximumRedeliveries="5" redeliveryDelay="5000"/>
-</errorHandler></code></pre> </div> </div> <div class="paragraph"> <p>Then the messages routed to the <code>jms:queue:dead</code> is the original input. If we want to manually retry we can move the JMS message from the failed to the input queue, with no problem as the message is the same as the original we received.</p> </div> <div class="sect3"> <h4 id="_boundary_of_original_message"><a class="anchor" href="#_boundary_of_original_message"></a>Boundary of original message</h4> <div [...]
+</errorHandler></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then the messages routed to the <code>jms:queue:dead</code> is the original input. If we want to manually retry, we can move the JMS message from the failed to the input queue, with no problem as the message is the same as the original we received.</p> </div> <div class="sect3"> <h4 id="_boundary_of_the_original_message"><a class="anchor" href="#_boundary_of_the_original_message"></a>Boundary [...]
.maximumRedeliveries(3)
- .onRedeliver(new MyOnRedeliveryProcessor());</code></pre> </div> </div> <div class="paragraph"> <p>And in XML DSL, you specify a bean id via <code>onRedeliveryRef</code> on the <code><errorHandler></code> as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id="myRedeliveryProcessor" class="com.foo.MyRedeliveryProcessor"/>
+ .onRedeliver(new MyOnRedeliveryProcessor());</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="paragraph"> <p>And in XML DSL, you specify a bean id via <code>onRedeliveryRef</code> on the <code><errorHandler></code> as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id="myRedeliveryProcessor" class= [...]
<errorHandler id="myErrorHandler" type="DeadLetterChannel" onRedeliveryRef="myRedeliveryProcessor"
deadLetterUri="jms:queue:dead">
<redeliveryPolicy maximumRedeliveries="3"/>
-</errorHandler></code></pre> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> Camel also supports <a href="../../../manual/exception-clause.html" class="xref page">onException</a> to use <code>onRedeliver</code>. This means you can do special on redelivery for different exceptions, as opposed to <code>onRedelivery</code> set on Dead Letter Channel (or <a href= [...]
+</errorHandler></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> Camel also supports <a href="../../../manual/exception-clause.html" class="xref page">onException</a> to use <code>onRedeliver</code>. This means you can do special on redelivery for different exceptions, as opposed to <code>onRedelivery</code> set on Dead Letter [...]
@Override
public void process(Exchange exchange) throws Exception {
Exception cause = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class);
exchange.getIn().setHeader("FailedBecause", cause.getMessage());
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>Then configure the error handler to use the processor as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">errorHandler(deadLetterChannel("jms:dead").onPrepareFailure(new MyPrepareProcessor()));</code></pre> </div> </div> <div class="paragraph"> <p>Configuring this from Spring XML is done with the <code>onPrepareFailureRef</code> [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>Then configure the error handler to use the processor as follows:</p> </div> <div id="_tabs_5" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_5_java" class="tab"> <p>Java</p> </li> <li id="_tabs_5_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_5_java--panel" class="tabpanel" aria-labelledby="_tabs_5_java"> <div class="listingblock"> <div class="content"> <pre c [...]
class="org.apache.camel.processor.DeadLetterChannelOnPrepareTest.MyPrepareProcessor"/>
-<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="jms:dead" onPrepareFailureRef="myPrepare"/></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_calling_a_processor_when_an_exception_occurred"><a class="anchor" href="#_calling_a_processor_when_an_exception_occurred"></a>Calling a processor when an exception occurred</h3> <div class="paragraph"> <p>With the <code>onExceptionOccurred</code> you can call a custom processor right after an exception was thrown, [...]
+<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="jms:dead" onPrepareFailureRef="myPrepare"/></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_calling_a_processor_when_an_exception_occurred"><a class="anchor" href="#_calling_a_processor_when_an_exception_occurred"></a>Calling a processor when an exception occurred</h3> <div class="paragraph"> <p>With the <code>onExceptionOccurred</code> you can call a custom processor right after an e [...]
@Override
public void process(Exchange exchange) throws Exception {
Exception cause = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class);
String msg = "Something went wrong due to " + cause.getMessage();
// do some custom logging here
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>You can then configure the Dead Letter Channel to use this as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">errorHandler(deadLetterChannel("jms:dead").onExceptionOccurred(new OnErrorLogger()));</code></pre> </div> </div> <div class="paragraph"> <p>Configuring this from Spring XML is done with the <code>onExceptionOccurredRef</co [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>You can then configure the Dead Letter Channel to use this as shown:</p> </div> <div id="_tabs_6" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_6_java" class="tab"> <p>Java</p> </li> <li id="_tabs_6_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_6_java--panel" class="tabpanel" aria-labelledby="_tabs_6_java"> <div class="listingblock"> <div class="content"> <pr [...]
-<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="jms:dead" onExceptionOccurredRef="myErrorLogger"/></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_redeliver_delay_pattern"><a class="anchor" href="#_redeliver_delay_pattern"></a>Redeliver Delay Pattern</h3> <div class="paragraph"> <p>Delay pattern is used as a single option to set a range pattern for delays. If used then the following options does not apply: (delay, backOffMultiplier, useExponentialBackO [...]
+<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="jms:dead" onExceptionOccurredRef="myErrorLogger"/></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_redeliver_delay_pattern"><a class="anchor" href="#_redeliver_delay_pattern"></a>Redeliver Delay Pattern</h3> <div class="paragraph"> <p>Delay pattern is used as a single option to set a range pattern for delays. If used, then the following options do not apply: (delay, <code>backOffMulti [...]
.to("http://someserver/somepath")
- .bean("foo");</code></pre> </div> </div> <div class="paragraph"> <p>Now suppose the route above, and a failure happens in the <code>foo</code> bean. Then the <code>Exchange.TO_ENDPOINT</code> and <code>Exchange.FAILURE_ENDPOINT</code> will still contain the value of <code>http://someserver/somepath</code>.</p> </div> </div> <div class="sect2"> <h3 id="_which_route_failed"><a class="anchor" href="#_which_route_failed"></a>Which route failed</h3> <div class="paragraph"> <p>When a messa [...]
\ No newline at end of file
+ .bean("foo");</code></pre> </div> </div> <div class="paragraph"> <p>Now suppose the route above, and a failure happens in the <code>foo</code> bean. Then the <code>Exchange.TO_ENDPOINT</code> and <code>Exchange.FAILURE_ENDPOINT</code> will still contain the value of <code>http://someserver/somepath</code>.</p> </div> </div> <div class="sect2"> <h3 id="_which_route_failed"><a class="anchor" href="#_which_route_failed"></a>Which route failed?</h3> <div class="paragraph"> <p>When a mess [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/delay-eip.html b/components/4.4.x/eips/delay-eip.html
index c9ab38c5..8ddc1c0d 100644
--- a/components/4.4.x/eips/delay-eip.html
+++ b/components/4.4.x/eips/delay-eip.html
@@ -22,7 +22,7 @@
.end() // we must end the delay or else the log statement will be executed in each loop iteration
.to("direct:getJobState")
.end()
- .log("and we're done");</code></pre> </div> </div> <div class="paragraph"> <p>The delayed value can be a dynamic <a href="../../../manual/expression.html" class="xref page">Expression</a>.</p> </div> <div class="paragraph"> <p>For example to delay a random between 1 and 5 seconds, we can use the <a href="../languages/simple-language.html" class="xref page">Simple</a> language:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ul [...]
+ .log("and we're done");</code></pre> </div> </div> <div class="paragraph"> <p>The delayed value can be a dynamic <a href="../../../manual/expression.html" class="xref page">Expression</a>.</p> </div> <div class="paragraph"> <p>For example, to delay a random between 1 and 5 seconds, we can use the <a href="../languages/simple-language.html" class="xref page">Simple</a> language:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="u [...]
.delay(simple("${random(1000,5000)}"))
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
@@ -52,7 +52,7 @@
<delay asyncDelayed="true">
<constant>1000</constant>
</delay>
- <to uri="activemq:aDealyedQueue"/>
+ <to uri="activemq:aDelayedQueue"/>
</route></code></pre> </div> </div> </div> <div id="_tabs_3_yaml--panel" class="tabpanel" aria-labelledby="_tabs_3_yaml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-yaml hljs" data-lang="yaml">- from:
uri: activemq:queue:foo
steps:
@@ -61,4 +61,4 @@
constant: 1000
asyncDelayed: true
- to:
- uri: activemq:aDealyedQueue</code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" [...]
\ No newline at end of file
+ uri: activemq:aDelayedQueue</code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/dynamicRouter-eip.html b/components/4.4.x/eips/dynamicRouter-eip.html
index 77f0690f..aed8d31d 100644
--- a/components/4.4.x/eips/dynamicRouter-eip.html
+++ b/components/4.4.x/eips/dynamicRouter-eip.html
@@ -49,7 +49,7 @@ public String slip(String body, @ExchangeProperties Map<String, Object> pr
int invoked = 0;
Object current = properties.get("invoked");
if (current != null) {
- invoked = Integer.valueOf(current.toString());
+ invoked = Integer.parseInt(current.toString());
}
invoked++;
// and store the state back on the properties
@@ -72,7 +72,7 @@ public String slip(String body, @ExchangeProperties Map<String, Object> pr
@Consume(uri = "activemq:foo")
@DynamicRouter
public String route(@XPath("/customer/id") String customerId, @Header("Location") String location, Document body) {
- // query a database to find the best match of the endpoint based on the input parameters
+ // Query a database to find the best match of the endpoint based on the input parameters
// return the next endpoint uri, where to go. Return null to indicate the end.
}
}</code></pre> </div> </div> <div class="paragraph"> <p>The parameters on the <code>route</code> method is bound to information from the Exchange using <a href="../../../manual/bean-binding.html" class="xref page">Bean Parameter Binding</a>.</p> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach th [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/enrich-eip.html b/components/4.4.x/eips/enrich-eip.html
index 6e77300f..d011677e 100644
--- a/components/4.4.x/eips/enrich-eip.html
+++ b/components/4.4.x/eips/enrich-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enrich-eip.html"> <meta name="description" content="Enriches a message with data from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enrich-eip.html"> <meta name="description" content="Enriches a message with data from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
public Exchange aggregate(Exchange newExchange, Exchange oldExchange) {
// this is just an example, for real-world use-cases the
@@ -38,7 +38,7 @@ from("direct:start")
uri: mock:result
- beans:
- name: myStrategy
- type: com.foo.ExampleAggregationStrategy</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_aggregation_strategy_is_optional"><a class="anchor" href="#_aggregation_strategy_is_optional"></a>Aggregation Strategy is optional</h3> <div class="paragraph"> <p>The aggregation strategy is optional. If not provided then Camel will just use the result exchange as the result.</p> </div> <div class="paragraph"> <p>The following example:</p> </div> <div id="_tabs_2" c [...]
+ type: com.foo.ExampleAggregationStrategy</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_aggregation_strategy_is_optional"><a class="anchor" href="#_aggregation_strategy_is_optional"></a>Aggregation Strategy is optional</h3> <div class="paragraph"> <p>The aggregation strategy is optional. If not provided, then Camel will just use the result exchange as the result.</p> </div> <div class="paragraph"> <p>The following example:</p> </div> <div id="_tabs_2" [...]
.enrich("http:remoteserver/foo")
.to("direct:result");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -65,7 +65,7 @@ from("direct:start")
- to:
uri: http:remoteserver/foo
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_using_dynamic_uris"><a class="anchor" href="#_using_dynamic_uris"></a>Using dynamic uris</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed based on information from the current Exchange. For example to enrich from a HTTP endpoint where the header with key orderId is used as part of the content-path of the HT [...]
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_using_dynamic_uris"><a class="anchor" href="#_using_dynamic_uris"></a>Using dynamic uris</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed based on information from the current Exchange. For example, to enrich from a HTTP endpoint where the header with key orderId is used as part of the content-path of the H [...]
.enrich().simple("http:myserver/${header.orderId}/order")
.to("direct:result");</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -80,4 +80,4 @@ from("direct:start")
expression:
simple: "http:myserver/${header.orderId}/order"
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> See the <code>cacheSize</code> option for more details on <em>how much cache</em> to use depending on how many or few unique endpoints are used. </td> </tr> </table></div> </div> </div> <div class="sect2"> <h3 id="_using_out_of_the_box_aggregation_strategies [...]
\ No newline at end of file
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> See the <code>cacheSize</code> option for more details on <em>how much cache</em> to use depending on how many or few unique endpoints are used. </td> </tr> </table></div> </div> </div> <div class="sect2"> <h3 id="_using_out_of_the_box_aggregation_strategies [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/enterprise-integration-patterns.html b/components/4.4.x/eips/enterprise-integration-patterns.html
index 401a6c8e..424a0d12 100644
--- a/components/4.4.x/eips/enterprise-integration-patterns.html
+++ b/components/4.4.x/eips/enterprise-integration-patterns.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enterprise Integration Patterns :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enterprise-integration-patterns.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="o [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enterprise Integration Patterns :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enterprise-integration-patterns.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="o [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/event-message.html b/components/4.4.x/eips/event-message.html
index fedaff13..9b730946 100644
--- a/components/4.4.x/eips/event-message.html
+++ b/components/4.4.x/eips/event-message.html
@@ -1,8 +1,8 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/event-message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Event Message"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/event-message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Event Message"> <m [...]
.to("activemq:queue:one-way");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="mq:someQueue?exchangePattern=InOnly"/>
<to uri="activemq:queue:one-way"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_setexchangepattern_eip"><a class="anchor" href="#_using_setexchangepattern_eip"></a>Using setExchangePattern EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can specify the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> using <code>setExchangePattern</code> in the DSL.</p> </div> <div id="_tabs_2" class="openblock tabs i [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_setexchangepattern_eip"><a class="anchor" href="#_using_setexchangepattern_eip"></a>Using <code>setExchangePattern</code> EIP</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can specify the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> using <code>setExchangePattern</code> in the DSL.</p> </div> <div id="_tabs_2" class="ope [...]
.setExchangePattern(ExchangePattern.InOnly)
.to("activemq:queue:one-way");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="mq:someQueue"/>
@@ -13,4 +13,4 @@
.to("activemq:queue:one-way");
.setExchangePattern(ExchangePattern.InOut)
.to("activemq:queue:in-and-out")
- .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
+ .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/eventDrivenConsumer-eip.html b/components/4.4.x/eips/eventDrivenConsumer-eip.html
index 5c7ebb9b..7865ad03 100644
--- a/components/4.4.x/eips/eventDrivenConsumer-eip.html
+++ b/components/4.4.x/eips/eventDrivenConsumer-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Driven Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/eventDrivenConsumer-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Driven Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/eventDrivenConsumer-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.bean(MyBean.class);</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:foo"/>
<bean beanType="com.foo.MyBean"/>
diff --git a/components/4.4.x/eips/failover-eip.html b/components/4.4.x/eips/failover-eip.html
index bf7051f3..8c434ffa 100644
--- a/components/4.4.x/eips/failover-eip.html
+++ b/components/4.4.x/eips/failover-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Failover :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/failover-eip.html"> <meta name="description" content="In case of failures the exchange will be tried on the next endpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Failover :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/failover-eip.html"> <meta name="description" content="In case of failures the exchange will be tried on the next endpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
.loadBalance().failover()
.to("http:service1")
.to("http:service2")
.to("http:service3")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<failover/>
@@ -11,12 +11,12 @@
<to uri="http:service2"/>
<to uri="http:service3"/>
</loadBalance>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>In the default mode the fail-over load balancer will always start with the first processor (i.e. "http:service1"). And in case this fails, then try the next, until either it succeeded or all of them failed. If all failed then Camel will throw the caused exception which means the Exchange is failed.</p> </div> <div class="sect2"> <h3 id="_using_round_robin_mode"><a class="anchor" href="#_using_round_robin_mode"></a>Using [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the default mode, the fail-over load balancer will always start with the first processor (i.e., "http:service1"). And in case this fails, then try the next, until either it succeeded or all of them failed. If all failed, then Camel will throw the caused exception which means the Exchange is failed.</p> </div> <div class="sect2"> <h3 id="_using_round_robin_mode"><a class="anchor" href="#_using_rou [...]
.loadBalance().failover(10, false, true)
.to("http:service1")
.to("http:service2")
.to("http:service3")
- .end();</code></pre> </div> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">.failover(10, false, true)</code></pre> </div> </div> <div class="paragraph"> <p>Where <code>10</code> is the maximum failover attempts, And <code>false</code> is a special feature related to inheriting error handler. The last parameter <code>true</code> is to use round robin mode.</p> </div> <div class="paragraph"> < [...]
+ .end();</code></pre> </div> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">.failover(10, false, true)</code></pre> </div> </div> <div class="paragraph"> <p>Where <code>10</code> is the maximum fail over attempts, And <code>false</code> is a special feature related to inheriting error handler. The last parameter <code>true</code> is to use round-robin mode.</p> </div> <div class="paragraph"> [...]
<from uri="direct:start"/>
<loadBalance>
<failover roundRobin="true" maximumFailoverAttempts="10"/>
@@ -24,12 +24,12 @@
<to uri="http:service2"/>
<to uri="http:service3"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_sticky_mode"><a class="anchor" href="#_using_sticky_mode"></a>Using sticky mode</h3> <div class="paragraph"> <p>The sticky mode is used for remember the last known good endpoint, so the next exchange will start from there, instead from the beginning.</p> </div> <div class="paragraph"> <p>For example support that http:service1 is down, and that service2 is up. With sticky mode enabled, then Camel will keep [...]
+</route></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_sticky_mode"><a class="anchor" href="#_using_sticky_mode"></a>Using sticky mode</h3> <div class="paragraph"> <p>The sticky mode is used for remember the last known good endpoint, so the next exchange will start from there, instead from the beginning.</p> </div> <div class="paragraph"> <p>For example, support that http:service1 is down, and that service2 is up. With sticky mode enabled, then Camel will kee [...]
.loadBalance().failover(10, false, true, true)
.to("http:service1")
.to("http:service2")
.to("http:service3")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>The last <code>true</code> is to enable sticky mode.</p> </div> <div class="paragraph"> <p>In XML it is straightforward as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> The last <code>true</code> argument is to enable sticky mode. </td> </tr> </table></div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml h [...]
<from uri="direct:start"/>
<loadBalance>
<failover roundRobin="true" maximumFailoverAttempts="10" stickyMode="true"/>
@@ -37,7 +37,7 @@
<to uri="http:service2"/>
<to uri="http:service3"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_fail_over_on_specific_exceptions"><a class="anchor" href="#_fail_over_on_specific_exceptions"></a>Fail-over on specific exceptions</h3> <div class="paragraph"> <p>The fail-over load balancer can be configured to only apply for a specific set of exceptions. Suppose you only want to fail-over in case of <code>java.io.Exception</code> or <code>HttpOperationFailedException</code> then you can do:</p> </div> <div cl [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_fail_over_on_specific_exceptions"><a class="anchor" href="#_fail_over_on_specific_exceptions"></a>Fail-over on specific exceptions</h3> <div class="paragraph"> <p>The fail-over load balancer can be configured to only apply for a specific set of exceptions. Suppose you only want to fail-over in case of <code>java.io.Exception</code> or <code>HttpOperationFailedException</code> then you can d [...]
.loadBalance().failover(IOException.class, HttpOperationFailedException.class)
.to("http:service1")
.to("http:service2")
diff --git a/components/4.4.x/eips/fault-tolerance-eip.html b/components/4.4.x/eips/fault-tolerance-eip.html
index c2e16acd..ca366d7e 100644
--- a/components/4.4.x/eips/fault-tolerance-eip.html
+++ b/components/4.4.x/eips/fault-tolerance-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/fault-tolerance-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Fault [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/fault-tolerance-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Fault [...]
.circuitBreaker()
.to("http://fooservice.com/faulty")
.onFallback()
@@ -15,9 +15,9 @@
</onFallback>
</circuitBreaker>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown, then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip [...]
.circuitBreaker()
- // use 2 second timeout
+ // use a 2-second timeout
.faultToleranceConfiguration().timeoutEnabled(true).timeoutDuration(2000).end()
.log("Fault Tolerance processing start: ${threadName}")
.to("http://fooservice.com/faulty")
@@ -32,7 +32,7 @@
<log message="Fault Tolerance processing end: ${threadName}"/>
</circuitBreaker>
<log message="After Fault Tolerance: ${body}"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example if calling the downstream service does not return a response within 2 seconds, a timeout is triggered, and the exchange will fail with a TimeoutException.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_camels_error_handler_and_circuit_breaker_eip"><a class="anchor" href="#_camels_error_handler_and_circuit_breaker_eip"></a>Camel’s Error Handler and Circuit Breaker [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example, if calling the downstream service does not return a response within 2 seconds, a timeout is triggered, and the exchange will fail with a TimeoutException.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_camels_error_handler_and_circuit_breaker_eip"><a class="anchor" href="#_camels_error_handler_and_circuit_breaker_eip"></a>Camel’s Error Handler and Circuit Breaker [...]
errorHandler(deadLetterChannel("mock:dead").maximumRedeliveries(3).redeliveryDelay(0));
from("direct:start")
@@ -43,7 +43,7 @@ from("direct:start")
.throwException(new IllegalArgumentException("Forced"))
.end()
.to("log:result")
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-microprofile-fault-tolerance</artifactId>
<version>x.x.x</version><!-- use the same version as your Camel core version -->
diff --git a/components/4.4.x/eips/filter-eip.html b/components/4.4.x/eips/filter-eip.html
index d2095247..a8f58db7 100644
--- a/components/4.4.x/eips/filter-eip.html
+++ b/components/4.4.x/eips/filter-eip.html
@@ -27,7 +27,7 @@
return level.equals("gold");
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>And in XML we can call the bean in <code><method></code> where we can specify the FQN classname of the bean as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+}</code></pre> </div> </div> <div class="paragraph"> <p>And in XML we can call the bean in <code><method></code> where we can specify the FQN class name of the bean as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<filter>
<method type="com.foo.MyBean" method="isGoldCustomer"/>
@@ -45,14 +45,14 @@
<to uri="mock:gold"/>
</filter>
<to uri="mock:all"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above then Camel will store an exchange property with key <code>gold</code> with the result of the filtering, whether it was <code>true</code> or <code>false</code>.</p> </div> </div> <div class="sect2"> <h3 id="_filtering_and_stopping"><a class="anchor" href="#_filtering_and_stopping"></a>Filtering and stopping</h3> <div class="paragraph"> <p>When using the Message Filter EIP, then i [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above then Camel will store an exchange property with key <code>gold</code> with the result of the filtering, whether it was <code>true</code> or <code>false</code>.</p> </div> </div> <div class="sect2"> <h3 id="_filtering_and_stopping"><a class="anchor" href="#_filtering_and_stopping"></a>Filtering and stopping</h3> <div class="paragraph"> <p>When using the Message Filter EIP, then i [...]
<from uri="direct:start"/>
<filter>
<method type="com.foo.MyBean" method="isGoldCustomer"/>
<to uri="mock:gold"/>
</filter>
<to uri="mock:all"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>Then for a message that is a gold customer will be routed to both mock:gold and mock:all (predicate is true). However, for a non-gold message (predicate is false) then the message will not be routed in the filter block, but will be routed to mock:all.</p> </div> <div class="paragraph"> <p>Sometimes you may want to stop continue routing for messages that was filtered. To do this, you can use the <a href="stop-eip.html" c [...]
+</route></code></pre> </div> </div> <div class="paragraph"> <p>Then for a message that is a gold customer will be routed to both <code>mock:gold</code> and <code>mock:all</code> (predicate is true). However, for a non-gold message (predicate is false) then the message will not be routed in the filter block, but will be routed to mock:all.</p> </div> <div class="paragraph"> <p>Sometimes you may want to stop routing for messages that were filtered. To do this, you can use the <a href [...]
<from uri="direct:start"/>
<filter>
<method type="com.foo.MyBean" method="isGoldCustomer"/>
diff --git a/components/4.4.x/eips/from-eip.html b/components/4.4.x/eips/from-eip.html
index bae5b93a..d0268eb2 100644
--- a/components/4.4.x/eips/from-eip.html
+++ b/components/4.4.x/eips/from-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>From :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/from-eip.html"> <meta name="description" content="Act as a message source as input to a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>From :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/from-eip.html"> <meta name="description" content="Act as a message source as input to a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.to("log:inbox");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<to uri="log:inbox"/>
diff --git a/components/4.4.x/eips/guaranteed-delivery.html b/components/4.4.x/eips/guaranteed-delivery.html
index 81191dac..08cd94cd 100644
--- a/components/4.4.x/eips/guaranteed-delivery.html
+++ b/components/4.4.x/eips/guaranteed-delivery.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guaranteed Delivery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/guaranteed-delivery.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Guaran [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guaranteed Delivery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/guaranteed-delivery.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Guaran [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<to uri="jms:queue:foo"/>
diff --git a/components/4.4.x/eips/idempotentConsumer-eip.html b/components/4.4.x/eips/idempotentConsumer-eip.html
index 032f10fe..fefd6541 100644
--- a/components/4.4.x/eips/idempotentConsumer-eip.html
+++ b/components/4.4.x/eips/idempotentConsumer-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Idempotent Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/idempotentConsumer-eip.html"> <meta name="description" content="Filters out duplicate messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Idempotent Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/idempotentConsumer-eip.html"> <meta name="description" content="Filters out duplicate messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/intercept.html b/components/4.4.x/eips/intercept.html
index 49e2ec14..19606a1b 100644
--- a/components/4.4.x/eips/intercept.html
+++ b/components/4.4.x/eips/intercept.html
@@ -1,19 +1,19 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Intercept :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/intercept.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Intercept"> <meta property [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Intercept :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/intercept.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Intercept"> <meta property [...]
.intercept().to("log:hello").end() // intercepts only in this route
.to("bean:validateOrder")
- .to("bean:processOrder");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"> <route>
+ .to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"> <route>
<from uri="jms:queue:order"/>
<intercept>
<to uri="log:hello"/>
</intercept>
<to uri="bean:validateOrder"/>
<to uri="bean:processOrder"/>
- </route></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_common_features_of_the_interceptors"><a class="anchor" href="#_common_features_of_the_interceptors"></a>Common features of the interceptors</h3> <div class="paragraph"> <p>All these interceptors support the following features:</p> </div> <div class="ulist"> <ul> <li> <p><a href="../../../manual/predicate.html" class="xref page">Predicate</a> using <code>when</code> to only trigger the interceptor in certain c [...]
+ </route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_common_features_of_the_interceptors"><a class="anchor" href="#_common_features_of_the_interceptors"></a>Common features of the interceptors</h3> <div class="paragraph"> <p>All these interceptors support the following features:</p> </div> <div class="ulist"> <ul> <li> <p><a href="../../../manual/predicate.html" class="xref page">Predicate</a> using <code>when</code> to only trigger the int [...]
intercept().to("log:hello");
from("jms:queue:order")
.to("bean:validateOrder")
- .to("bean:processOrder");</code></pre> </div> </div> <div class="paragraph"> <p>What happens is that the <code>Exchange</code> is intercepted before each processing step, that means that it will be intercepted before</p> </div> <div class="ulist"> <ul> <li> <p><code>.to("bean:validateOrder")</code></p> </li> <li> <p><code>.to("bean:processOrder")</code></p> </li> </ul> </div> <div class="paragraph"> <p>So in this example we intercept the <code>Exchange</code> twice.</p> </div> <div cla [...]
+ .to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<!-- global interceptor for all routes -->
<intercept>
@@ -26,11 +26,11 @@ from("jms:queue:order")
<to uri="bean:processOrder"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_controlling_when_to_intercept_using_a_predicate"><a class="anchor" href="#_controlling_when_to_intercept_using_a_predicate"></a>Controlling when to intercept using a predicate</h3> <div class="paragraph"> <p>If you only want to intercept "sometimes", then you can use a <a href="../../../manual/predicate.html" class="xref page">predicate</a>.</p> </div> <div class="paragraph"> <p>For instance in the sampl [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>What happens is that the <code>Exchange</code> is intercepted before each processing step, that means that it will be intercepted before</p> </div> <div class="ulist"> <ul> <li> <p><code>.to("bean:validateOrder")</code></p> </li> <li> <p><code>.to("bean:processOrder")</code></p> </li> </ul> </div> <div class="paragraph"> <p>So in this example we intercept the <code>Exchange</code> twice.</p> [...]
from("jms:queue:order")
.to("bean:validateOrder")
- .to("bean:processOrder");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<intercept>
<when>
@@ -45,13 +45,13 @@ from("jms:queue:order")
<to uri="bean:processOrder"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_stop_routing_after_being_intercepted"><a class="anchor" href="#_stop_routing_after_being_intercepted"></a>Stop routing after being intercepted</h3> <div class="paragraph"> <p>It is also possible to stop continue routing after being intercepted. Now suppose that if the message body contains the word Hello we want to log and stop, then we can do:</p> </div> <div class="listingblock"> <div class="content"> [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_stop_routing_after_being_intercepted"><a class="anchor" href="#_stop_routing_after_being_intercepted"></a>Stop routing after being intercepted</h3> <div class="paragraph"> <p>It is also possible to stop routing after being intercepted. Now suppose that if the message body contains the word Hello we want to log and stop, then we can do:</p> </div> <div id="_tabs_4" class="openblock ta [...]
.to("log:test")
.stop(); // stop continue routing
from("jms:queue:order")
.to("bean:validateOrder")
- .to("bean:processOrder");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<intercept>
<when>
@@ -67,12 +67,12 @@ from("jms:queue:order")
<to uri="bean:processOrder"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_intercept_from"><a class="anchor" href="#_using_intercept_from"></a>Using intercept from</h2> <div class="sectionbody"> <div class="paragraph"> <p>The <code>interceptFrom</code> is for intercepting any incoming Exchange, in any route (it intercepts all the <a href="from-eip.html" class="xref page">from</a> EIPs)</p> </div> <div class="paragraph"> <p>This allows you to do some custom b [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="Intercept-InterceptFrom"><a class="anchor" href="#Intercept-InterceptFrom"></a>Using <code>interceptFrom</code></h2> <div class="sectionbody"> <div class="paragraph"> <p>The <code>interceptFrom</code> is for intercepting any incoming Exchange, in any route (it intercepts all the <a href="from-eip.html" class="xref page"><code>from</code></a> EIPs)</p> </div> <div class=" [...]
.to("log:incoming");
from("jms:queue:order")
.to("bean:validateOrder")
- .to("bean:processOrder");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<intercept>
<to uri="log:incoming"/>
@@ -84,7 +84,7 @@ from("jms:queue:order")
<to uri="bean:processOrder"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>If you want to only apply a specific endpoint, such as all jms endpoints, you can do:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">interceptFrom("jms*")
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>If you want to only apply a specific endpoint, such as all jms endpoints, you can do:</p> </div> <div id="_tabs_6" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_6_java" class="tab"> <p>Java</p> </li> <li id="_tabs_6_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_6_java--panel" class="tabpanel" aria-labelledby="_tabs_6_j [...]
.to("log:incoming");
from("jms:queue:order")
@@ -92,7 +92,7 @@ from("jms:queue:order")
.to("bean:processOrder");
from("file:inbox")
- .to("ftp:someserver/backup")</code></pre> </div> </div> <div class="paragraph"> <p>In this example then only messages from the JMS route are intercepted, because we specified a pattern in the <code>interceptFrom</code> as <code>jms*</code> (uses a wildcard).</p> </div> <div class="paragraph"> <p>The pattern syntax is documented in more details later.</p> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs hig [...]
+ .to("ftp:someserver/backup")</code></pre> </div> </div> </div> <div id="_tabs_6_xml--panel" class="tabpanel" aria-labelledby="_tabs_6_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<interceptFrom uri="jms*">
<to uri="log:incoming"/>
@@ -108,13 +108,13 @@ from("file:inbox")
<to uri="ftp:someserver/backup"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_intercept_when_sending_to_an_endpoint"><a class="anchor" href="#_using_intercept_when_sending_to_an_endpoint"></a>Using intercept when sending to an endpoint</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can also intercept when Camel is sending a message to an <a href="message-endpoint.html" class="xref page">endpoint</a>.</p> </div> <div class="paragraph"> <p>This can be use [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example then only messages from the JMS route are intercepted, because we specified a pattern in the <code>interceptFrom</code> as <code>jms*</code> (uses a wildcard).</p> </div> <div class="paragraph"> <p>The pattern syntax is documented in more details later.</p> </div> </div> </div> <div class="sect1"> <h2 id="Intercept-InterceptSendToEndpoint"><a class="anchor" href="#Intercept-In [...]
.to("bean:beforeKafka");
from("jms:queue:order")
.to("bean:validateOrder")
.to("bean:processOrder")
- .to("kafka:order");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("kafka:order");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<interceptSendToEndpoint uri="kafka*">
<to uri="bean:beforeKafka"/>
@@ -127,14 +127,14 @@ from("jms:queue:order")
<to uri="kafka:order"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>When you also want to process the message after it has been sent to the intended destination, then the example is slightly <em>odd</em> because you have to use the <code>afterUri</code> as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">interceptSendToEndpoint("kafka*")
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When you also want to process the message after it has been sent to the intended destination, then the example is slightly <em>odd</em> because you have to use the <code>afterUri</code> as shown:</p> </div> <div id="_tabs_8" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_8_java" class="tab"> <p>Java</p> </li> <li id="_tabs_8_xml" class= [...]
.to("bean:beforeKafka")
.afterUri("bean:afterKafka");
from("jms:queue:order")
.to("bean:validateOrder")
.to("bean:processOrder")
- .to("kafka:order");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("kafka:order");</code></pre> </div> </div> </div> <div id="_tabs_8_xml--panel" class="tabpanel" aria-labelledby="_tabs_8_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<interceptSendToEndpoint uri="kafka*" afterUri="bean:afterKafka">
<to uri="bean:beforeKafka"/>
@@ -147,13 +147,13 @@ from("jms:queue:order")
<to uri="kafka:order"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="sect2"> <h3 id="_skip_sending_to_original_endpoint"><a class="anchor" href="#_skip_sending_to_original_endpoint"></a>Skip sending to original endpoint</h3> <div class="paragraph"> <p>Sometimes you want to <strong>intercept and skip</strong> sending messages to a specific endpoint.</p> </div> <div class="paragraph"> <p>For example to avoid sending any message to kafka, but detour them to a <a href="../mock-component.html" class= [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_skip_sending_to_original_endpoint"><a class="anchor" href="#_skip_sending_to_original_endpoint"></a>Skip sending to original endpoint</h3> <div class="paragraph"> <p>Sometimes you want to <strong>intercept and skip</strong> sending messages to a specific endpoint.</p> </div> <div class="paragraph"> <p>For example, to avoid sending any message to kafka, but detour them to a <a href="../mock- [...]
.to("mock:kafka");
from("jms:queue:order")
.to("bean:validateOrder")
.to("bean:processOrder")
- .to("kafka:order");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("kafka:order");</code></pre> </div> </div> </div> <div id="_tabs_9_xml--panel" class="tabpanel" aria-labelledby="_tabs_9_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<interceptSendToEndpoint uri="kafka*" skipSendToOriginalEndpoint="true">
<to uri="mock:kafka"/>
@@ -166,14 +166,14 @@ from("jms:queue:order")
<to uri="kafka:order"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_conditional_skipping_sending_to_endpoint"><a class="anchor" href="#_conditional_skipping_sending_to_endpoint"></a>Conditional skipping sending to endpoint</h3> <div class="paragraph"> <p>You can combine both a <a href="../../../manual/predicate.html" class="xref page">predicate</a> and skip sending to the original endpoint. For example suppose you have some "test" messages that sometimes occur, and that [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_conditional_skipping_sending_to_endpoint"><a class="anchor" href="#_conditional_skipping_sending_to_endpoint"></a>Conditional skipping sending to endpoint</h3> <div class="paragraph"> <p>You can combine both a <a href="../../../manual/predicate.html" class="xref page">predicate</a> and skip sending to the original endpoint. For example, suppose you have some "test" messages that some [...]
.when(simple("${header.biztype} == 'TEST'")
.log("TEST message detected - is NOT send to kafka");
from("jms:queue:order")
.to("bean:validateOrder")
.to("bean:processOrder")
- .to("kafka:order");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
+ .to("kafka:order");</code></pre> </div> </div> </div> <div id="_tabs_10_xml--panel" class="tabpanel" aria-labelledby="_tabs_10_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext>
<interceptSendToEndpoint uri="kafka*" skipSendToOriginalEndpoint="true">
<when><simple>${header.biztype} == 'TEST'</simple></when>
@@ -187,4 +187,4 @@ from("jms:queue:order")
<to uri="kafka:order"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_intercepting_endpoints_using_pattern_matching"><a class="anchor" href="#_intercepting_endpoints_using_pattern_matching"></a>Intercepting endpoints using pattern matching</h2> <div class="sectionbody"> <div class="paragraph"> <p>The <code>interceptFrom</code> and <code>interceptSendToEndpoint</code> support endpoint pattern matching by the following rules in the given order:</p> </div> <div [...]
\ No newline at end of file
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_intercepting_endpoints_using_pattern_matching"><a class="anchor" href="#_intercepting_endpoints_using_pattern_matching"></a>Intercepting endpoints using pattern matching</h2> <div class="sectionbody"> <div class="paragraph"> <p>The <code>interceptFrom</code> and <code>interceptSendToEndpoint</code> support endpoint pattern matching by the following rules in the given or [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/kamelet-eip.html b/components/4.4.x/eips/kamelet-eip.html
index f2282ac7..61b185a4 100644
--- a/components/4.4.x/eips/kamelet-eip.html
+++ b/components/4.4.x/eips/kamelet-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/kamelet-eip.html"> <meta name="description" content="To call Kamelets in special situations"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/kamelet-eip.html"> <meta name="description" content="To call Kamelets in special situations"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
.templateParameter("count")
.from("kamelet:source")
.aggregate(constant(true))
@@ -13,13 +13,13 @@
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Then this does not work, instead you <strong>must</strong> use Kamelet EIP instead:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.kamelet("my-aggregate?count=5")
.to("log:info")
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>When calling a Kamelet you may just refer to the name (template id) of the Kamelet in the EIP as shown below:</p> </div> </div> </div> <div class="sect1"> <h2 id="_options"><a class="anchor" href="#_options"></a>Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Kamelet eip supports 2 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all gri [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>When calling a Kamelet, you may refer to the name (template id) of the Kamelet in the EIP as shown below:</p> </div> </div> </div> <div class="sect1"> <h2 id="_options"><a class="anchor" href="#_options"></a>Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Kamelet eip supports 2 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-al [...]
.kamelet("foo")
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<kamelet name="foo"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>Camel will then, when starting:</p> </div> <div class="ulist"> <ul> <li> <p>Lookup the <a href="../../../manual/route-template.html" class="xref page">Route Template</a> with the given id (in the example above its foo) from the <code>CamelContext</code></p> </li> <li> <p>Create a new route based on the <a href="../../../manual/route-template.html" class="xref page">Route Template</a></p> </li> </ul> </div> </div> </div> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Camel will then, when starting:</p> </div> <div class="ulist"> <ul> <li> <p>Lookup the <a href="../../../manual/route-template.html" class="xref page">Route Template</a> with the given id (in the example above its foo) from the <code>CamelContext</code></p> </li> <li> <p>Create a new route based on the <a href="../../../manual/route-template.html" class="xref page">Route Template</a></p> </li> </ul> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/4.4.x/eips/loadBalance-eip.html b/components/4.4.x/eips/loadBalance-eip.html
index abe09543..49d88ea6 100644
--- a/components/4.4.x/eips/loadBalance-eip.html
+++ b/components/4.4.x/eips/loadBalance-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Load Balance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loadBalance-eip.html"> <meta name="description" content="Balances message processing among a number of nodes"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Load Balance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loadBalance-eip.html"> <meta name="description" content="Balances message processing among a number of nodes"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/log-eip.html b/components/4.4.x/eips/log-eip.html
index 0baa6ee2..1653c64a 100644
--- a/components/4.4.x/eips/log-eip.html
+++ b/components/4.4.x/eips/log-eip.html
@@ -1,18 +1,18 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/log-eip.html"> <meta name="description" content="Logs the defined message to the logger"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/log-eip.html"> <meta name="description" content="Logs the defined message to the logger"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
.log("Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<log message="Processing ${id}"/>
<to uri="bean:foo"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>This will be evaluated using the <a href="../languages/simple-language.html" class="xref page">Simple</a> to construct the <code>String</code> containg the message to be logged.</p> </div> <div class="sect2"> <h3 id="_logging_message_body_with_streaming"><a class="anchor" href="#_logging_message_body_with_streaming"></a>Logging message body with streaming</h3> <div class="paragraph"> <p>If the message body is stream bas [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This will be evaluated using the <a href="../languages/simple-language.html" class="xref page">Simple</a> to construct the <code>String</code> containing the message to be logged.</p> </div> <div class="sect2"> <h3 id="_logging_message_body_with_streaming"><a class="anchor" href="#_logging_message_body_with_streaming"></a>Logging message body with streaming</h3> <div class="paragraph"> <p>If the mes [...]
.log(LoggingLevel.DEBUG, "Processing ${id}")
.to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>and to set a logger name</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.log(LoggingLevel.DEBUG, "com.mycompany.MyCoolRoute", "Processing ${id}")
.to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>The logger instance may be used as well:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.log(LoggingLevel.DEBUG, org.slf4j.LoggerFactory.getLogger("com.mycompany.mylogger"), "Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>For example you can use this to log the file name being processed if you consume files.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file://target/files")
+ .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>For example, you can use this to log the file name being processed if you consume files.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file://target/files")
.log(LoggingLevel.DEBUG, "Processing file ${file:name}")
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>In XML DSL it is also easy to use log DSL as shown below:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="foo">
+ .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>In XML DSL, it is also easy to use log DSL as shown below:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="foo">
<from uri="direct:foo"/>
<log message="Got ${body}"/>
<to uri="mock:foo"/>
@@ -28,23 +28,23 @@
<from uri="direct:moo"/>
<log message="Me Got ${body}" loggerRef="myLogger"/>
<to uri="mock:baz"/>
-</route></code></pre> </div> </div> <div class="sect2"> <h3 id="_configuring_logging_name"><a class="anchor" href="#_configuring_logging_name"></a>Configuring logging name</h3> <div class="paragraph"> <p>The log message will be logged at <code>INFO</code> level using the route id as the logger name (or source name:line if source location is enabled, see TIP below). So for example, if you have not assigned an id to the route, then Camel will use <code>route-1</code>, <code>route-2</ [...]
+</route></code></pre> </div> </div> <div class="sect2"> <h3 id="_configuring_logging_name"><a class="anchor" href="#_configuring_logging_name"></a>Configuring logging name</h3> <div class="paragraph"> <p>The log message will be logged at <code>INFO</code> level using the route id as the logger name (or source name:line if source location is enabled, see TIP below). So for example, if you have not assigned an id to the route, then Camel will use <code>route-1</code>, <code>route-2</ [...]
.log("Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="fooRoute">
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="fooRoute">
<from uri="direct:start"/>
<log message="Processing ${id}"/>
<to uri="bean:foo"/>
-</route></code></pre> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> If you enable <code>sourceLocationEnabled=true</code> on <code>CamelContext</code> then Camel will use source file:line as logger name, instead of the route id. This is for example what <code>camel-jbang</code> do, to make it easy to see where in the source code the log is located. </td> </ [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> If you enable <code>sourceLocationEnabled=true</code> on <code>CamelContext</code> then Camel will use source file:line as logger name, instead of the route id. This is for example what <code>camel-jbang</code> do, to make it easy to see where in the source code the log [...]
<properties>
<property key="CamelLogEipName" value="com.foo.myapp"/>
</properties>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_masking_sensitive_information_like_password"><a class="anchor" href="#_masking_sensitive_information_like_password"></a>Masking sensitive information like password</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can enable security masking for logging by setting <code>logMask</code> flag to <code>true</code>. Note that this option also affects <a href="../log-component.html" c [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_masking_sensitive_information_like_password"><a class="anchor" href="#_masking_sensitive_information_like_password"></a>Masking sensitive information like password</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can enable security masking for logging by setting <code>logMask</code> flag to <code>true</code>. Note that this option also affects the <a href= [...]
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>You can also turn it on|off at route level. To enable mask in Java DSL at route level:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start").logMask()
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>You can also turn it on|off at route level. To enable mask in at route level:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_5_java" class="tab"> <p>Java</p> </li> <li id="_tabs_5_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_5_java--panel" class="tabpanel" aria-labelledby="_tabs_5_j [...]
.log("Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route logMask="true">
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route logMask="true">
-</route></code></pre> </div> </div> <div class="sect2"> <h3 id="_using_custom_masking_formatter"><a class="anchor" href="#_using_custom_masking_formatter"></a>Using custom masking formatter</h3> <div class="paragraph"> <p><code>org.apache.camel.support.processor.DefaultMaskingFormatter</code> is used for the masking by default. If you want to use a custom masking formatter, put it into registry with the name <code>CamelCustomLogMask</code>. Note that the masking formatter must impl [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_using_custom_masking_formatter"><a class="anchor" href="#_using_custom_masking_formatter"></a>Using custom masking formatter</h3> <div class="paragraph"> <p><code>org.apache.camel.support.processor.DefaultMaskingFormatter</code> is used for the masking by default. If you want to use a custom masking formatter, put it into registry with the name <code>CamelCustomLogMask</code>. Note that the maskin [...]
formatter.addKeyword("mySpecialKeyword");
formatter.addKeyword("verySecret");
diff --git a/components/4.4.x/eips/loop-eip.html b/components/4.4.x/eips/loop-eip.html
index 019cb360..625aab61 100644
--- a/components/4.4.x/eips/loop-eip.html
+++ b/components/4.4.x/eips/loop-eip.html
@@ -16,7 +16,7 @@
</loop>
</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>And with the <a href="../languages/xpath-language.html" class="xref page">XPath</a> language:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:c")
.loop(xpath("/hello/@times"))
- .to("mock:result");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_copy_mode"><a class="anchor" href="#_using_copy_mode"></a>Using copy mode</h2> <div class="sectionbody"> <div class="paragraph"> <p>Now suppose we send a message to direct:start endpoint containing the letter A. The output of processing this route will be that, each mock:loop endpoint will receive AB as message.</p> </div> <div id="_tabs_3" class="openblock tabs is-sync is-loading"> <d [...]
+ .to("mock:result");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_copy_mode"><a class="anchor" href="#_using_copy_mode"></a>Using copy mode</h2> <div class="sectionbody"> <div class="paragraph"> <p>Now suppose we send a message to direct:start endpoint containing the letter A. The output of processing this route will be that, each mock:loop endpoint will receive AB as the message.</p> </div> <div id="_tabs_3" class="openblock tabs is-sync is-loading" [...]
// instruct loop to use copy mode, which mean it will use a copy of the input exchange
// for each loop iteration, instead of keep using the same exchange all over
.loop(3).copy()
@@ -34,7 +34,7 @@
<to uri="mock:loop"/>
</loop>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>However, if we do <strong>not</strong> enable copy mode then mock:loop will receive "AB", "ABB", "ABBB", etc. messages.</p> </div> </div> </div> <div class="sect1"> <h2 id="_looping_using_while"><a class="anchor" href="#_looping_using_while"></a>Looping using while</h2> <div class="sectionbody"> <div class="paragraph"> <p>The loop can act like a while loop that loops until the expression evaluates t [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>However, if we do <strong>not</strong> enable copy mode, then mock:loop will receive <code><em>"AB"</em></code>, <code><em>"ABB"</em></code>, <code><em>"ABBB"</em></code>, etc. messages.</p> </div> </div> </div> <div class="sect1"> <h2 id="_looping_using_while"><a class="anchor" href="#_looping_using_while"></a>Looping using while</h2> <div class="sectionbody"> <div class="paragraph"> <p>The loop ca [...]
.loopDoWhile(simple("${body.length} <= 5"))
.to("mock:loop")
.transform(body().append("A"))
diff --git a/components/4.4.x/eips/marshal-eip.html b/components/4.4.x/eips/marshal-eip.html
index 400d4e29..975fc8ee 100644
--- a/components/4.4.x/eips/marshal-eip.html
+++ b/components/4.4.x/eips/marshal-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Marshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/marshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Marshal EIP"> <meta pr [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Marshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/marshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Marshal EIP"> <meta pr [...]
.unmarshal().jaxb()
.to("bean:validateOrder")
.marshal().jaxb()
diff --git a/components/4.4.x/eips/message-broker.html b/components/4.4.x/eips/message-broker.html
index 61fe92fe..723e8be8 100644
--- a/components/4.4.x/eips/message-broker.html
+++ b/components/4.4.x/eips/message-broker.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Broker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-broker.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Broker"> [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Broker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-broker.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Broker"> [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/message-bus.html b/components/4.4.x/eips/message-bus.html
index 81b99ef6..6121730f 100644
--- a/components/4.4.x/eips/message-bus.html
+++ b/components/4.4.x/eips/message-bus.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-bus.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Bus"> <meta pr [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-bus.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Bus"> <meta pr [...]
.to("jms:inbox");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<to uri="jms:inbox"/>
diff --git a/components/4.4.x/eips/message-dispatcher.html b/components/4.4.x/eips/message-dispatcher.html
index 6dde7069..4f0416a4 100644
--- a/components/4.4.x/eips/message-dispatcher.html
+++ b/components/4.4.x/eips/message-dispatcher.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Dispatcher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-dispatcher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Dispatcher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-dispatcher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/message-endpoint.html b/components/4.4.x/eips/message-endpoint.html
index 28f1e6a6..d14f39c3 100644
--- a/components/4.4.x/eips/message-endpoint.html
+++ b/components/4.4.x/eips/message-endpoint.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Endpoint :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-endpoint.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Endp [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Endpoint :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-endpoint.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Endp [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:messages/foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/4.4.x/eips/message-expiration.html b/components/4.4.x/eips/message-expiration.html
index 5ed69aed..4cf6f309 100644
--- a/components/4.4.x/eips/message-expiration.html
+++ b/components/4.4.x/eips/message-expiration.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Expiration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-expiration.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Expiration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-expiration.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
.to("jms:queue:cheese?timeToLive=5000");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
<to uri="jms:queue:cheese?timeToLive=5000"/>
diff --git a/components/4.4.x/eips/message-history.html b/components/4.4.x/eips/message-history.html
index 8d48f2e0..c1a61249 100644
--- a/components/4.4.x/eips/message-history.html
+++ b/components/4.4.x/eips/message-history.html
@@ -1,21 +1,21 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message History :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-history.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Histor [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message History :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-history.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Histor [...]
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Or when using Spring Boot or Quarkus, you can enable this in the configuration file:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">camel.springboot.message-history = true</code></pre> </div> </div> <div class="paragraph"> <p>And in Quarkus:</p> </div> <div class="listingblock"> <div class="content"> <pre [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Or when using Spring Boot or Quarkus, you can enable this in the configuration file:</p> </div> <div id="_tabs_2" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_quarkus" class="tab"> <p>Quarkus</p> </li> <li id="_tabs_2_spring_boot" class="tab"> <p>Spring Boot</p> </li> </ul> </div> <div id="_tabs_2_quarkus--panel" class="tabpanel" ar [...]
.messageHistory()
.to("bean:validate")
.to("bean:transform")
- .to("jms:wine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also turn off message history per route:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("jms:cheese")
+ .to("jms:wine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also turn off message history per route:</p> </div> <div id="_tabs_3" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_3_java" class="tab"> <p>Java</p> </li> <li id="_tabs_3_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_3_java--panel" class="tabpanel" aria-labelledby="_tabs_3_java"> <div class="listingblock"> <div class="content"> <pre c [...]
.messageHistory(false)
.to("bean:validate")
.to("bean:transform")
- .to("jms:wine");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route messageHistory="true">
+ .to("jms:wine");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route messageHistory="true">
<from uri="jms:cheese"/>
<to uri="bean:validate"/>
<to uri="bean:transform"/>
<to uri="jms:wine"/>
-</route></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_enabling_source_location_information"><a class="anchor" href="#_enabling_source_location_information"></a>Enabling source location information</h3> <div class="paragraph"> <p>Camel is capable of gathering precise source file:line-number for each EIPs in the routes. When enabled, then the message history will output this information in the route stack-trace.</p> </div> <div class="paragraph"> <p>To enable source [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_enabling_source_location_information"><a class="anchor" href="#_enabling_source_location_information"></a>Enabling source location information</h3> <div class="paragraph"> <p>Camel is capable of gathering precise source file:line-number for each EIPs in the routes. When enabled, then the message history will output this information in the route stack-trace.</p> </div> <div class="paragraph" [...]
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Or when using Spring Boot or Quarkus, you can enable this in the configuration file:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">camel.springboot.source-location-enabled = true</code></pre> </div> </div> <div class="paragraph"> <p>And in Quarkus:</p> </div> <div class="listingblock"> <div class="conten [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Or when using Spring Boot or Quarkus, you can enable this in the configuration file:</p> </div> <div id="_tabs_5" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_5_quarkus" class="tab"> <p>Quarkus</p> </li> <li id="_tabs_5_spring_boot" class="tab"> <p>Spring Boot</p> </li> </ul> </div> <div id="_tabs_5_quarkus--panel" class="tabpanel" ar [...]
Message History (source location is disabled)
---------------------------------------------------------------------------------------------------------------------------------------
@@ -32,7 +32,7 @@ Stacktrace
java.lang.IllegalArgumentException: The number is too low
at sample.camel.MyJavaRouteBuilder.configure(MyJavaRouteBuilder.java:34) ~[classes/:na]
at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:607) ~[camel-core-model-3.20.0.jar:3.20.0]
- at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>When Message History is enabled then the full history is logged as shown above. Here we can see the full path the message has been routed.</p> </div> <div class="paragraph"> <p>When Message History is disabled (by default) then the error handler logs a brief history with the last node where the exception occurred as s [...]
+ at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>When Message History is enabled, then the full history is logged as shown above. Here we can see the full path the message has been routed.</p> </div> <div class="paragraph"> <p>When Message History is disabled, as it is by default, then the error handler logs a brief history with the last node where the exception occ [...]
Message History (source location and message history is disabled)
---------------------------------------------------------------------------------------------------------------------------------------
@@ -47,13 +47,13 @@ Stacktrace
java.lang.IllegalArgumentException: The number is too low
at sample.camel.MyJavaRouteBuilder.configure(MyJavaRouteBuilder.java:34) ~[classes/:na]
at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:607) ~[camel-core-model-3.20.0.jar:3.20.0]
- at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>Here you can see the Message History only outputs the input (route1) and the last step where the exception occurred (throwException1).</p> </div> <div class="paragraph"> <p>Notice that the source column is empty, because source location is not enabled. When enabled then, you can see exactly which source file and line [...]
+ at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>Here you can see the Message History only outputs the input (route1) and the last step where the exception occurred (throwException1).</p> </div> <div class="paragraph"> <p>Notice that the source column is empty because the source location is not enabled. When enabled then, you can see exactly which source file and li [...]
Message History
---------------------------------------------------------------------------------------------------------------------------------------
Source ID Processor Elapsed (ms)
MyJavaRouteBuilder:29 route1/route1 from[timer://java?period=2s] 10
-MyJavaRouteBuilder:32 route1/setBody1 setBody[bean[MyJavaRouteBuilder method:randomNumbe 1
+MyJavaRouteBuilder:32 route1/setBody1 setBody[bean[MyJavaRouteBuilder method:randomNumber 1
MyJavaRouteBuilder:33 route1/log1 log 1
MyJavaRouteBuilder:34 route1/filter1 filter[simple{${body} < 30}] 0
MyJavaRouteBuilder:35 route1/throwException1 throwException[java.lang.IllegalArgumentException] 0
@@ -64,7 +64,7 @@ Stacktrace
java.lang.IllegalArgumentException: The number is too low
at sample.camel.MyJavaRouteBuilder.configure(MyJavaRouteBuilder.java:34) ~[classes/:na]
at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:607) ~[camel-core-model-3.20.0.jar:3.20.0]
- at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>In this case we can see its the <code>MyJavaRouteBuilder</code> class on line 35 that is the problem.</p> </div> <div class="sect2"> <h3 id="_configuring_route_stack_trace_from_error_handler"><a class="anchor" href="#_configuring_route_stack_trace_from_error_handler"></a>Configuring route stack-trace from error handle [...]
+ at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:553) ~[camel-core-model-3.20.0.jar:3.20.0]</code></pre> </div> </div> <div class="paragraph"> <p>In this case we can see its the <code>MyJavaRouteBuilder</code> class on line 35 that is the problem.</p> </div> <div class="sect2"> <h3 id="_configuring_route_stack_trace_from_error_handler"><a class="anchor" href="#_configuring_route_stack_trace_from_error_handler"></a>Configuring route stack-trace from error handle [...]
<errorHandler id="myErrorHandler">
<redeliveryPolicy logExhaustedMessageHistory="false" logExhaustedMessageBody="true"/>
@@ -76,7 +76,7 @@ java.lang.IllegalArgumentException: The number is too low
<to uri="bean:transform"/>
<to uri="jms:wine"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_messagehistory_api"><a class="anchor" href="#_messagehistory_api"></a>MessageHistory API</h2> <div class="sectionbody"> <div class="paragraph"> <p>When message history is enabled during routing Camel captures how the <code>Exchange</code> is routed, as an <code>org.apache.camel.MessageHistory</code> entity that is stored on the <code>Exchange</code>.</p> </div> <div class="paragraph"> <p>On [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_messagehistory_api"><a class="anchor" href="#_messagehistory_api"></a>MessageHistory API</h2> <div class="sectionbody"> <div class="paragraph"> <p>When message history is enabled during routing Camel captures how the <code>Exchange</code> is routed, as an <code>org.apache.camel.MessageHistory</code> entity that is stored on the <code>Exchange</code>.</p> </div> <div cla [...]
for (MessageHistory history : list) {
System.out.println("Routed at id: " + history.getNode().getId());
}</code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" aria-label="white silhouette of a [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/message-router.html b/components/4.4.x/eips/message-router.html
index 61062c4b..1b0e5935 100644
--- a/components/4.4.x/eips/message-router.html
+++ b/components/4.4.x/eips/message-router.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-router.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Router"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-router.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Router"> [...]
.choice()
.when(simple("${header.foo} == 'bar'"))
.to("direct:b")
diff --git a/components/4.4.x/eips/message-translator.html b/components/4.4.x/eips/message-translator.html
index d3aca32d..e0256692 100644
--- a/components/4.4.x/eips/message-translator.html
+++ b/components/4.4.x/eips/message-translator.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Translator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-translator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Translator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-translator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:cheese"/>
@@ -6,7 +6,7 @@
<simple>Hello ${body}</simple>
</transform>
<to uri="activemq:wine"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_message_translator_with_bean"><a class="anchor" href="#_message_translator_with_bean"></a>Message Translator with Bean</h3> <div class="paragraph"> <p>You can transform a message using Camels <a href="../../../manual/bean-integration.html" class="xref page">Bean Integration</a> to call any method on a bean that performs the message translation:</p> </div> <div id="_tabs_2" class="openblock [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_message_translator_with_bean"><a class="anchor" href="#_message_translator_with_bean"></a>Message Translator with Bean</h3> <div class="paragraph"> <p>You can transform a message using Camel’s <a href="../../../manual/bean-integration.html" class="xref page">Bean Integration</a> to call any method on a bean that performs the message translation:</p> </div> <div id="_tabs_2" class="ope [...]
.bean("myTransformerBean", "doTransform")
.to("activemq:wine");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:cheese"/>
@@ -18,7 +18,7 @@
<from uri="activemq:cheese"/>
<process ref="myTransformerProcessor"/>
<to uri="activemq:wine"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_message_translator_using_templating_components"><a class="anchor" href="#_message_translator_using_templating_components"></a>Message Translator using Templating Components</h3> <div class="paragraph"> <p>You can also consume a message from one destination, transform it with something like <a href="../velocity-component.html" class="xref page">Velocity</a> or <a href="../xquery-component.ht [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_message_translator_using_templating_components"><a class="anchor" href="#_message_translator_using_templating_components"></a>Message Translator using Templating Components</h3> <div class="paragraph"> <p>You can also consume a message from one destination, transform it with something like <a href="../velocity-component.html" class="xref page">Velocity</a> or <a href="../xquery-component.ht [...]
.to("velocity:com/acme/MyResponse.vm")
.to("activemq:wine");</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:cheese"/>
diff --git a/components/4.4.x/eips/message.html b/components/4.4.x/eips/message.html
index 9737289b..bce10d97 100644
--- a/components/4.4.x/eips/message.html
+++ b/components/4.4.x/eips/message.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message"> <meta property="og:s [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message"> <meta property="og:s [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/messaging-gateway.html b/components/4.4.x/eips/messaging-gateway.html
index 15916902..6cbbb187 100644
--- a/components/4.4.x/eips/messaging-gateway.html
+++ b/components/4.4.x/eips/messaging-gateway.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-gateway.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-gateway.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/messaging-mapper.html b/components/4.4.x/eips/messaging-mapper.html
index 2bfdf732..f32bbbf2 100644
--- a/components/4.4.x/eips/messaging-mapper.html
+++ b/components/4.4.x/eips/messaging-mapper.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Mapper :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-mapper.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Ma [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Mapper :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-mapper.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Ma [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/multicast-eip.html b/components/4.4.x/eips/multicast-eip.html
index 957575e8..8a8314d0 100644
--- a/components/4.4.x/eips/multicast-eip.html
+++ b/components/4.4.x/eips/multicast-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Multicast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/multicast-eip.html"> <meta name="description" content="Routes the same message to multiple paths either sequentially or in parallel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Multicast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/multicast-eip.html"> <meta name="description" content="Routes the same message to multiple paths either sequentially or in parallel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
.multicast()
.to("direct:x")
.to("direct:y")
@@ -9,7 +9,7 @@
<to uri="direct:c"/>
<to uri="direct:d"/>
</multicast>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>By default, Multicast EIP runs in single threaded mode, which mean that the next multicasted message is processed only when the previous is finished. This means that direct:b must be done before Camel will call direct:c and so on.</p> </div> <div class="sect2"> <h3 id="_multicasting_with_parallel_processing"><a class="anchor" href="#_multicasting_with_parallel_processing"></a>Multicasting with paral [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>By default, Multicast EIP runs in single threaded mode, which means that the next multicasted message is processed only when the previous is finished. This means that <code>direct:b</code> must be done before Camel will call <code>direct:c</code> and so on.</p> </div> <div class="sect2"> <h3 id="_multicasting_with_parallel_processing"><a class="anchor" href="#_multicasting_with_parallel_processing"> [...]
.multicast().parallelProcessing()
.to("direct:x")
.to("direct:y")
@@ -20,7 +20,7 @@
<to uri="direct:c"/>
<to uri="direct:d"/>
</multicast>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the multicast, then [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the multicast, then [...]
.multicast().parallelProcessing()
.to("direct:x")
.to("direct:y")
@@ -49,7 +49,7 @@
<to uri="direct:d"/>
</multicast>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure i [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure i [...]
.multicast()
.stopOnException().to("direct:foo", "direct:bar", "direct:baz")
.end()
@@ -85,4 +85,4 @@
<from uri="direct:baz"/>
<to uri="mock:baz"/>
</route>
-</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Multicast EIP will stop after this, and not the last route (direct:baz).</p> </div> </div> <div class="sect2"> <h3 id="_preparing_the_message_by_deep_copying_before_multicasting"><a class="anchor" href="#_preparing_the_message_by_deep_copying_before_multicasting"></a>Preparing the messag [...]
\ No newline at end of file
+</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Multicast EIP will stop after this, and not the last route (<code>direct:baz</code>).</p> </div> </div> <div class="sect2"> <h3 id="_preparing_the_message_by_deep_copying_before_multicasting"><a class="anchor" href="#_preparing_the_message_by_deep_copying_before_multicasting"></a>Prepari [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/normalizer.html b/components/4.4.x/eips/normalizer.html
index 4fdd942e..cffc87fb 100644
--- a/components/4.4.x/eips/normalizer.html
+++ b/components/4.4.x/eips/normalizer.html
@@ -1,24 +1,10 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Normalizer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/normalizer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Normalizer"> <meta prope [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Normalizer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/normalizer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Normalizer"> <meta prope [...]
from("direct:start")
.choice()
.when().xpath("/employee").to("bean:normalizer?method=employeeToPerson")
.when().xpath("/customer").to("bean:normalizer?method=customerToPerson")
.end()
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>In this case we’re using a Java <a href="../bean-component.html" class="xref page">Bean</a> as the normalizer.</p> </div> <div class="paragraph"> <p>The class looks like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">// Java
-public class MyNormalizer {
-
- public void employeeToPerson(Exchange exchange, @XPath("/employee/name/text()") String name) {
- exchange.getMessage().setBody(createPerson(name));
- }
-
- public void customerToPerson(Exchange exchange, @XPath("/customer/@name") String name) {
- exchange.getMessage().setBody(createPerson(name));
- }
-
- private String createPerson(String name) {
- return "<person name=\" + name + \"/>";
- }
-}</code></pre> </div> </div> <div class="paragraph"> <p>The same example in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="direct:start"/>
<choice>
@@ -35,4 +21,18 @@ public class MyNormalizer {
</route>
</camelContext>
-<bean id="normalizer" class="org.apache.camel.processor.MyNormalizer"/></code></pre> </div> </div> <div class="paragraph"> <p>In case there are many incoming formats, then the <a href="choice-eip.html" class="xref page">Content Based Router</a> may end up with too many choices. In this situation then an alternative is to use <a href="toD-eip.html" class="xref page">Dynamic to</a> that computes a <a href="../bean-component.html" class="xref page">Bean</a> endpoint, to be called that [...]
\ No newline at end of file
+<bean id="normalizer" class="org.apache.camel.processor.MyNormalizer"/></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this case, we’re using a Java <a href="../bean-component.html" class="xref page">Bean</a> as the normalizer.</p> </div> <div class="paragraph"> <p>The class looks like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">// Java
+public class MyNormalizer {
+
+ public void employeeToPerson(Exchange exchange, @XPath("/employee/name/text()") String name) {
+ exchange.getMessage().setBody(createPerson(name));
+ }
+
+ public void customerToPerson(Exchange exchange, @XPath("/customer/@name") String name) {
+ exchange.getMessage().setBody(createPerson(name));
+ }
+
+ private String createPerson(String name) {
+ return "<person name=\" + name + \"/>";
+ }
+}</code></pre> </div> </div> <div class="paragraph"> <p>In case there are many incoming formats, then the <a href="choice-eip.html" class="xref page">Content Based Router</a> may end up with too many choices. In this situation, then an alternative is to use <a href="toD-eip.html" class="xref page">Dynamic to</a> that computes a <a href="../bean-component.html" class="xref page">Bean</a> endpoint, to be called that acts as <a href="message-translator.html" class="xref page">Message Transl [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/onFallback-eip.html b/components/4.4.x/eips/onFallback-eip.html
index c9c99e38..21b3ce64 100644
--- a/components/4.4.x/eips/onFallback-eip.html
+++ b/components/4.4.x/eips/onFallback-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>On Fallback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/onFallback-eip.html"> <meta name="description" content="Route to be executed when Circuit Breaker EIP executes fallback"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>On Fallback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/onFallback-eip.html"> <meta name="description" content="Route to be executed when Circuit Breaker EIP executes fallback"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/pipeline-eip.html b/components/4.4.x/eips/pipeline-eip.html
index 6b64aadd..54b6237a 100644
--- a/components/4.4.x/eips/pipeline-eip.html
+++ b/components/4.4.x/eips/pipeline-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pipeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pipeline-eip.html"> <meta name="description" content="Routes the message to a sequence of processors."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pipeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pipeline-eip.html"> <meta name="description" content="Routes the message to a sequence of processors."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
.pipeline()
.to("bean:foo")
.to("bean:bar")
@@ -9,7 +9,7 @@
<to uri="bean:bar"/>
<to uri="activemq:wine"/>
</pipeline>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Though pipeline is the default mode of operation when you specify multiple outputs in Camel. Therefore, it’s much more common to see this with Camel:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> </ul> </div> <d [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Though a pipeline is the default mode of operation when you specify multiple outputs in Camel. Therefore, it’s much more common to see this with Camel:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> </ul> </div> [...]
.to("bean:foo")
.to("bean:bar")
.to("activemq:OutputQueue");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
@@ -17,7 +17,7 @@
<to uri="bean:foo"/>
<to uri="bean:bar"/>
<to uri="activemq:wine"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_pipeline_vs_multicast"><a class="anchor" href="#_pipeline_vs_multicast"></a>Pipeline vs Multicast</h3> <div class="paragraph"> <p>The opposite to <code>pipeline</code> is <a href="multicast-eip.html" class="xref page"><code>multicast</code></a>. A <a href="multicast-eip.html" class="xref page">Multicast</a> EIP routes a copy of the same message into each of its outputs, where these messages are pr [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_pipeline_vs_multicast"><a class="anchor" href="#_pipeline_vs_multicast"></a>Pipeline vs Multicast</h3> <div class="paragraph"> <p>The opposite to <code>pipeline</code> is <a href="multicast-eip.html" class="xref page"><code>multicast</code></a>. A <a href="multicast-eip.html" class="xref page">Multicast</a> EIP routes a copy of the same message into each of its outputs, where these messages are pr [...]
.multicast()
.pipeline()
.to("bean:something")
diff --git a/components/4.4.x/eips/point-to-point-channel.html b/components/4.4.x/eips/point-to-point-channel.html
index 54feb6f8..7ccdef83 100644
--- a/components/4.4.x/eips/point-to-point-channel.html
+++ b/components/4.4.x/eips/point-to-point-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Point to Point Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/point-to-point-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Point to Point Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/point-to-point-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.to("jms:queue:foo");
from("jms:queue:foo")
diff --git a/components/4.4.x/eips/pollEnrich-eip.html b/components/4.4.x/eips/pollEnrich-eip.html
index b29460a9..4a9e0cf1 100644
--- a/components/4.4.x/eips/pollEnrich-eip.html
+++ b/components/4.4.x/eips/pollEnrich-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Poll Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pollEnrich-eip.html"> <meta name="description" content="Enriches messages with data polled from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Poll Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pollEnrich-eip.html"> <meta name="description" content="Enriches messages with data polled from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
public Exchange aggregate(Exchange original, Exchange resource) {
// this is just an example, for real-world use-cases the
@@ -17,7 +17,7 @@
from("direct:start")
.pollEnrich("file:inbox?fileName=data.txt", 10000, aggregationStrategy)
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>In the example Camel will poll a file (timeout 10 seconds). The <code>AggregationStrategy</code> is then used to merge the file with the existing <code>Exchange</code>.</p> </div> <div class="paragraph"> <p>In XML DSL you use <code>pollEnrich</code> as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>In the example, Camel will poll a file (timeout 10 seconds). The <code>AggregationStrategy</code> is then used to merge the file with the existing <code>Exchange</code>.</p> </div> <div class="paragraph"> <p>In XML DSL you use <code>pollEnrich</code> as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean i [...]
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
@@ -27,7 +27,7 @@ from("direct:start")
</pollEnrich>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_poll_enrich_with_rest_dsl"><a class="anchor" href="#_using_poll_enrich_with_rest_dsl"></a>Using Poll Enrich with Rest DSL</h3> <div class="paragraph"> <p>You can also use <code>pollEnrich</code> with <a href="../../../manual/rest-dsl.html" class="xref page">Rest DSL</a> to for example download a file from <a href="../aws2-s3-component.html" class="xref page">AWS S3</a> as the response of an API cal [...]
+</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_poll_enrich_with_rest_dsl"><a class="anchor" href="#_using_poll_enrich_with_rest_dsl"></a>Using Poll Enrich with Rest DSL</h3> <div class="paragraph"> <p>You can also use <code>pollEnrich</code> with <a href="../../../manual/rest-dsl.html" class="xref page">Rest DSL</a> to, for example, download a file from <a href="../aws2-s3-component.html" class="xref page">AWS S3</a> as the response of an API c [...]
<description>Report REST API</description>
<get path="/{id}/payload">
<route id="report-payload-download">
@@ -36,7 +36,7 @@ from("direct:start")
</pollEnrich>
</route>
</get>
-</rest></code></pre> </div> </div> <div class="paragraph"> <p>Notice that the enriched endpoint is a constant, however Camel also supports dynamic endpoints which is covered next.</p> </div> </div> <div class="sect2"> <h3 id="_poll_enrich_with_dynamic_endpoints"><a class="anchor" href="#_poll_enrich_with_dynamic_endpoints"></a>Poll Enrich with Dynamic Endpoints</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed [...]
+</rest></code></pre> </div> </div> <div class="paragraph"> <p>Notice that the enriched endpoint is a constant, however, Camel also supports dynamic endpoints which is covered next.</p> </div> </div> <div class="sect2"> <h3 id="_poll_enrich_with_dynamic_endpoints"><a class="anchor" href="#_poll_enrich_with_dynamic_endpoints"></a>Poll Enrich with Dynamic Endpoints</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed [...]
.pollEnrich().simple("seda:${header.queueName}")
.to("direct:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
diff --git a/components/4.4.x/eips/polling-consumer.html b/components/4.4.x/eips/polling-consumer.html
index 9cf256e5..61fbfcf9 100644
--- a/components/4.4.x/eips/polling-consumer.html
+++ b/components/4.4.x/eips/polling-consumer.html
@@ -1,6 +1,6 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Polling Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/polling-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Polling Cons [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Polling Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/polling-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Polling Cons [...]
PollingConsumer consumer = endpoint.createPollingConsumer();
-Exchange exchange = consumer.receive();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_pollingconsumer_api"><a class="anchor" href="#_pollingconsumer_api"></a>PollingConsumer API</h3> <div class="paragraph"> <p>There are three main polling methods on <a href="https://github.com/apache/camel/blob/main/core/camel-api/src/main/java/org/apache/camel/PollingConsumer.java">PollingConsumer</a>:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all str [...]
+Exchange exchange = consumer.receive();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_pollingconsumer_api"><a class="anchor" href="#_pollingconsumer_api"></a>PollingConsumer API</h3> <div class="paragraph"> <p>There are three main polling methods on <a href="https://github.com/apache/camel/blob/main/core/camel-api/src/main/java/org/apache/camel/PollingConsumer.java">PollingConsumer</a>:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all str [...]
context.getEndpoint("file:inbox?pollingConsumerQueueSize=50");
PollingConsumer consumer = endpoint.createPollingConsumer();
Exchange exchange = consumer.receive(5000);</code></pre> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apa [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/process-eip.html b/components/4.4.x/eips/process-eip.html
index 60788695..dfe1260c 100644
--- a/components/4.4.x/eips/process-eip.html
+++ b/components/4.4.x/eips/process-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-eip.html"> <meta name="description" content="Calls a Camel processor"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-eip.html"> <meta name="description" content="Calls a Camel processor"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
public interface Processor {
/**
@@ -13,11 +13,11 @@ public interface Processor {
// do something...
}
}</code></pre> </div> </div> <div class="paragraph"> <p>Then in Camel you can call this processor:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("activemq:myQueue")
- .process(new MyProcessor());</code></pre> </div> </div> <div class="paragraph"> <p>You can also call a processor by its bean id, if the processor has been enlisted in the <a href="../../../manual/registry.html" class="xref page">Registry</a>, such as with the id <code>myProcessor</code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("activemq:myQueue")
- .process("myProcessor");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML you can refer to the fully qualified class name via <code>#class:</code> syntax:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .process(new MyProcessor());</code></pre> </div> </div> <div class="paragraph"> <p>You can also call a processor by its bean id, if the processor has been enlisted in the <a href="../../../manual/registry.html" class="xref page">Registry</a>, such as with the id <code>myProcessor</code>:</p> </div> <div id="_tabs_1" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_1_java" class="tab"> <p>Java</p> </li> <li id="_tabs_1_xml" [...]
+ .process("myProcessor");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="paragraph"> <p>And in XML you can refer to the fully qualified class name via <code>#class:</code> syntax:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:myQueue"/>
<process ref="#class:com.foo.MyProcessor"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>Or if you use Spring XML you can create the processor via <code><bean></code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><beans>
+</route></code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="paragraph"> <p>Or if you use Spring XML you can create the processor via <code><bean></code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><beans>
<bean id="myProcessor" class="com.foo.MyProcessor"/>
@@ -30,10 +30,10 @@ public interface Processor {
</routes>
</camelContext>
-</beans></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_why_use_process_when_you_can_use_to_instead"><a class="anchor" href="#_why_use_process_when_you_can_use_to_instead"></a>Why use process when you can use to instead?</h3> <div class="paragraph"> <p>The process can be used in routes as an anonymous inner class such:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> [...]
+</beans></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_why_use_process_when_you_can_use_to_instead"><a class="anchor" href="#_why_use_process_when_you_can_use_to_instead"></a>Why use <code>process</code> when you can use <code>to</code> instead?</h3> <div class="paragraph"> <p>The process can be used in routes as an anonymous inner class such:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code c [...]
public void process(Exchange exchange) throws Exception {
String payload = exchange.getMessage().getBody(String.class);
// do something with the payload and/or exchange here
exchange.getMessage().setBody("Changed body");
}
- }).to("activemq:myOtherQueue");</code></pre> </div> </div> <div class="paragraph"> <p>This is usable for quickly whirling up some code. If the code in the inner class gets a bit more complicated it is of course advised to refactor it into a separate class.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a h [...]
\ No newline at end of file
+ }).to("activemq:myOtherQueue");</code></pre> </div> </div> <div class="paragraph"> <p>This is usable for quickly whirling up some code. If the code in the inner class gets a bit more complicated, it is advised to refactor it into a separate class.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/process-manager.html b/components/4.4.x/eips/process-manager.html
index 3e8ab1d3..97bc103a 100644
--- a/components/4.4.x/eips/process-manager.html
+++ b/components/4.4.x/eips/process-manager.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-manager.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Process Manage [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-manager.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Process Manage [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/publish-subscribe-channel.html b/components/4.4.x/eips/publish-subscribe-channel.html
index 629b9e1b..41c525ba 100644
--- a/components/4.4.x/eips/publish-subscribe-channel.html
+++ b/components/4.4.x/eips/publish-subscribe-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Publish Subscribe Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/publish-subscribe-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Publish Subscribe Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/publish-subscribe-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" con [...]
.to("jms:topic:cheese");
from("jms:topic:cheese")
diff --git a/components/4.4.x/eips/random-eip.html b/components/4.4.x/eips/random-eip.html
index f12e01e6..195fae98 100644
--- a/components/4.4.x/eips/random-eip.html
+++ b/components/4.4.x/eips/random-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Random :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/random-eip.html"> <meta name="description" content="The destination endpoints are selected by random."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Random :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/random-eip.html"> <meta name="description" content="The destination endpoints are selected randomly."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
.loadBalance().ramdom()
.to("seda:x")
.to("seda:y")
diff --git a/components/4.4.x/eips/recipientList-eip.html b/components/4.4.x/eips/recipientList-eip.html
index 017a0ee6..490dce9e 100644
--- a/components/4.4.x/eips/recipientList-eip.html
+++ b/components/4.4.x/eips/recipientList-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Recipient List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/recipientList-eip.html"> <meta name="description" content="Route messages to a number of dynamically specified recipients"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Recipient List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/recipientList-eip.html"> <meta name="description" content="Route messages to a number of dynamically specified recipients"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
.recipientList(constant("seda:x,seda:y,seda:z"));</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:a"/>
<recipientList>
@@ -12,18 +12,18 @@
</recipientList>
</route></code></pre> </div> </div> </div> </div> </div> <div class="sect3"> <h4 id="_how_is_dynamic_destinations_evaluated"><a class="anchor" href="#_how_is_dynamic_destinations_evaluated"></a>How is dynamic destinations evaluated</h4> <div class="paragraph"> <p>The dynamic list of recipients that are defined in the header must be iterable such as:</p> </div> <div class="ulist"> <ul> <li> <p><code>java.util.Collection</code></p> </li> <li> <p><code>java.util.Iterator</code></p> </ [...]
<from uri="direct:a"/>
- <!-- use semi-colon as a delimiter for String based values -->
+ <!-- use semicolon as a delimiter for String-based values -->
<recipientList delimiter=";">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>So if <strong>myHeader</strong> contains a <code>String</code> with the value <code>"activemq:queue:foo;activemq:topic:hello ; log:bar"</code> then Camel will split the <code>String</code> using the delimiter given in the XML that was comma, resulting into 3 endpoints to send to. You can use spaces between the endpoints as Camel will trim the value when it look up the endpoint to send to.</p> </div> <div class="paragrap [...]
- .recipientList(header("myHeader"), ";");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_parallel_processing"><a class="anchor" href="#_using_parallel_processing"></a>Using parallel processing</h3> <div class="paragraph"> <p>The Recipient List supports <code>parallelProcessing</code> similar to what <a href="multicast-eip.html" class="xref page">Multicast</a> and <a href="split-eip.html" class="xref page">Split</a> EIPs have as well. When using parallel processin [...]
+</route></code></pre> </div> </div> <div class="paragraph"> <p>So if <strong>myHeader</strong> contains a <code>String</code> with the value <code>"activemq:queue:foo;activemq:topic:hello ; log:bar"</code> then Camel will split the <code>String</code> using the delimiter given in the XML that was comma, resulting into three endpoints to send to. You can use spaces between the endpoints as Camel will trim the value when it looks up the endpoint to send to.</p> </div> <div class="par [...]
+ .recipientList(header("myHeader"), ";");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_parallel_processing"><a class="anchor" href="#_using_parallel_processing"></a>Using parallel processing</h3> <div class="paragraph"> <p>The Recipient List supports <code>parallelProcessing</code> similar to what <a href="multicast-eip.html" class="xref page">Multicast</a> and <a href="split-eip.html" class="xref page">Split</a> EIPs have as well. When using parallel processin [...]
.recipientList(header("myHeader")).parallelProcessing();</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
<recipientList parallelProcessing="true">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the recipient list, [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the recipient list, [...]
.recipientList(header("whereTo")).stopOnException()
.to("mock:result");
@@ -55,13 +55,13 @@
<from uri="direct:baz"/>
<to uri="mock:baz"/>
</route>
-</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example suppose a message is sent with the header <code>whereTo=direct:foo,direct:bar,direct:baz</code> that means the recipient list sends messages to those 3 endpoints.</p> </div> <div class="paragraph"> <p>Now suppose that the <code>MyProcessor</code> is causing a failure and throws an exception. This means the Recipient List EIP will stop after this, and not the last route (direct:baz). [...]
+</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example suppose a message is sent with the header <code>whereTo=direct:foo,direct:bar,direct:baz</code> that means the recipient list sends messages to those three endpoints.</p> </div> <div class="paragraph"> <p>Now suppose that the <code>MyProcessor</code> is causing a failure and throws an exception. This means the Recipient List EIP will stop after this, and not the last route (<code>di [...]
.recipientList(header("myHeader")).ignoreInvalidEndpoints();</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
<recipientList ignoreInvalidEndpoints="true">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then let us say the <code>myHeader</code> contains the following two endpoints <code>direct:foo,xxx:bar</code>. The first endpoint is valid and works. However, the second one is invalid and will just be ignored. Camel logs at DEBUG level about it, so you can see why the endpoint was invalid.</p> </div> </div> <div class="sect2"> <h3 id="_using_timeout"><a class="anchor" href="#_using_timeout"></a>Us [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then let us say the <code>myHeader</code> contains the following two endpoints <code>direct:foo,xxx:bar</code>. The first endpoint is valid and works. However, the second one is invalid and will just be ignored. Camel logs at DEBUG level about it, so you can see why the endpoint was invalid.</p> </div> </div> <div class="sect2"> <h3 id="_using_timeout"><a class="anchor" href="#_using_timeout"></a>Us [...]
.multicast(new AggregationStrategy() {
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
@@ -82,7 +82,7 @@ from("direct:a").delay(1000).to("mock:A").setBody(constant("A"));
from("direct:b").to("mock:B").setBody(constant("B"));
-from("direct:c").to("mock:C").setBody(constant("C"));</code></pre> </div> </div> <div class="paragraph"> <p>By default, if a timeout occurs the <code>AggregationStrategy</code> is not invoked. However, you can implement the <code>timeout</code> method: This allows you to deal with the timeout in the <code>AggregationStrategy</code> if you really need to.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title=" [...]
+from("direct:c").to("mock:C").setBody(constant("C"));</code></pre> </div> </div> <div class="paragraph"> <p>By default, if a timeout occurs the <code>AggregationStrategy</code> is not invoked. However, you can implement the <code>timeout</code> method: This allows you to deal with the timeout in the <code>AggregationStrategy</code> if you really need to.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title=" [...]
// the exchange pattern is InOnly initially when using a file route
.recipientList().constant("activemq:queue:inbox?exchangePattern=InOut")
- .to("file:outbox");</code></pre> </div> </div> <div class="admonitionblock warning"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-warning" title="Warning"></i> </td> <td class="content"> <div class="paragraph"> <p>The recipient list will not alter the original exchange pattern. So in the example above the exchange pattern will still be <code>InOnly</code> when the message is routed to the <code>file:outbox endpoint</code>. If you want to alter the excha [...]
\ No newline at end of file
+ .to("file:outbox");</code></pre> </div> </div> <div class="admonitionblock warning"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-warning" title="Warning"></i> </td> <td class="content"> <div class="paragraph"> <p>The recipient list will not alter the original exchange pattern. So in the example above the exchange pattern will still be <code>InOnly</code> when the message is routed to the <code>file:outbox endpoint</code>. If you want to alter the excha [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/removeHeader-eip.html b/components/4.4.x/eips/removeHeader-eip.html
index 59055e42..afbab6e3 100644
--- a/components/4.4.x/eips/removeHeader-eip.html
+++ b/components/4.4.x/eips/removeHeader-eip.html
@@ -10,4 +10,4 @@
- removeHeader:
name: myHeader
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="#">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" class="xref page">Remove [...]
\ No newline at end of file
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="#">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" class="xref page">Remove H [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/removeHeaders-eip.html b/components/4.4.x/eips/removeHeaders-eip.html
index bf2bfd47..9ad14ff6 100644
--- a/components/4.4.x/eips/removeHeaders-eip.html
+++ b/components/4.4.x/eips/removeHeaders-eip.html
@@ -20,4 +20,4 @@
steps:
- removeHeaders: "Camel*"
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="#">Remove H [...]
\ No newline at end of file
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="#">Remove He [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/removeProperties-eip.html b/components/4.4.x/eips/removeProperties-eip.html
index 8ad9cf7b..cc46ff8e 100644
--- a/components/4.4.x/eips/removeProperties-eip.html
+++ b/components/4.4.x/eips/removeProperties-eip.html
@@ -10,4 +10,4 @@
<from uri="seda:b"/>
<removeProperties pattern="Foo*"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/removeProperty-eip.html b/components/4.4.x/eips/removeProperty-eip.html
index 30e75695..600aa1eb 100644
--- a/components/4.4.x/eips/removeProperty-eip.html
+++ b/components/4.4.x/eips/removeProperty-eip.html
@@ -4,4 +4,4 @@
<from uri="seda:b"/>
<removeProperty name="myProperty"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/requestReply-eip.html b/components/4.4.x/eips/requestReply-eip.html
index 996ac42d..96d5f8a6 100644
--- a/components/4.4.x/eips/requestReply-eip.html
+++ b/components/4.4.x/eips/requestReply-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Request Reply :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/requestReply-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Request Reply"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Request Reply :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/requestReply-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Request Reply"> [...]
.to("bean:processMessage");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:someQueue?exchangePattern=InOut"/>
<to uri="bean:processMessage"/>
@@ -13,4 +13,4 @@
.to("jms:queue:one-way");
.setExchangePattern(ExchangePattern.InOut)
.to("jms:queue:in-and-out")
- .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
+ .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/resequence-eip.html b/components/4.4.x/eips/resequence-eip.html
index d5a22e6b..c7fdf945 100644
--- a/components/4.4.x/eips/resequence-eip.html
+++ b/components/4.4.x/eips/resequence-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resequence :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resequence-eip.html"> <meta name="description" content="Resequences (re-order) messages based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resequence :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resequence-eip.html"> <meta name="description" content="Resequences (re-order) messages based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
.resequence().body()
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This is equivalent to:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.resequence(body()).batch()
@@ -17,7 +17,7 @@
<simple>${body}</simple>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This sets the batch size to 300 and the batch timeout to 4000 ms (by default, the batch size is 100 and the timeout is 1000 ms).</p> </div> <div class="paragraph"> <p>So the above example will reorder messages in order of their bodies. Typically, you’d use a header rather than the body to order things; or maybe a part of the body. So you could replace this expression with:</p> </div> <div id=" [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This sets the batch size to 300 and the batch timeout to 4000 ms (by default, the batch size is 100, and the timeout is 1000 ms).</p> </div> <div class="paragraph"> <p>So the above example will reorder messages in order of their bodies. Typically, you’d use a header rather than the body to order things; or maybe a part of the body. So you could replace this expression with:</p> </div> <div id= [...]
.resequence(header("mySeqNo"))
.to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -25,7 +25,7 @@
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This reorders messages using a custom sequence number with the header name mySeqNo.</p> </div> <div class="sect2"> <h3 id="_allow_duplicates"><a class="anchor" href="#_allow_duplicates"></a>Allow Duplicates</h3> <div class="paragraph"> <p>When allowing duplicates then the resequencer retain duplicate message instead of keeping only last duplicated message.</p> </div> <div class="paragraph"> <p>In ba [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This reorders messages using a custom sequence number with the header name mySeqNo.</p> </div> <div class="sect2"> <h3 id="_allow_duplicates"><a class="anchor" href="#_allow_duplicates"></a>Allow Duplicates</h3> <div class="paragraph"> <p>When allowing duplicates, then the resequencer retains the duplicate message instead of keeping only the last duplicated message.</p> </div> <div class="paragraph" [...]
.resequence(header("mySeqNo")).allowDuplicates()
.to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -34,50 +34,50 @@
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_reverse_ordering"><a class="anchor" href="#_reverse_ordering"></a>Reverse Ordering</h3> <div class="paragraph"> <p>You can reverse the expression ordering. By default, the order is based on 0..9,A..Z, which would let messages with low numbers be ordered first, and thus also outgoing first. In some cases you want to reverse the ordering.</p> </div> <div class="paragraph"> <p>In batch mode, y [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_reverse_ordering"><a class="anchor" href="#_reverse_ordering"></a>Reverse Ordering</h3> <div class="paragraph"> <p>You can reverse the expression ordering. By default, the order is based on <code>0..9,A..Z</code>, which would let messages with low numbers be ordered first, and thus also outgoing first. In some cases, you want to reverse the ordering.</p> </div> <div class="paragraph"> <p>In [...]
.resequence(header("mySeqNo")).reverse()
- .to("mock:result")</code></pre> </div> </div> <div class="dlist"> <dl> <dt class="hdlist1">XML</dt> <dd> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<batchConfig reverse="true"/>
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </dd> </dl> </div> </div> </div> </div> <div class="sect2"> <h3 id="_ignoring_invalid_messages"><a class="anchor" href="#_ignoring_invalid_messages"></a>Ignoring invalid messages</h3> <div class="paragraph"> <p>The Resequencer throws a <code>CamelExchangeException</code> if the incoming Exchange is not valid for the resequencer such as, the expression cannot be evaluated due to a missing header.</p> </div> <div class="paragraph"> <p>You can ignor [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_ignoring_invalid_messages"><a class="anchor" href="#_ignoring_invalid_messages"></a>Ignoring invalid messages</h3> <div class="paragraph"> <p>The Resequencer throws a <code>CamelExchangeException</code> if the incoming Exchange is not valid for the resequencer such as, the expression cannot be evaluated due to a missing header.</p> </div> <div class="paragraph"> <p>You can ignore these kind [...]
.resequence(header("seqno")).batch()
// ignore invalid exchanges (they are discarded)
.ignoreInvalidExchanges()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_6_xml--panel" class="tabpanel" aria-labelledby="_tabs_6_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<batchConfig ignoreInvalidExchanges="true"/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This option is available for both batch and stream mode.</p> </div> </div> <div class="sect2"> <h3 id="_resequence_jms_messages_based_on_jmspriority"><a class="anchor" href="#_resequence_jms_messages_based_on_jmspriority"></a>Resequence JMS messages based on JMSPriority</h3> <div class="paragraph"> <p>It’s now much easier to use the Resequencer to resequence messages from JMS queues based on J [...]
- // sort by JMSPriority by allowing duplicates (message can have same JMSPriority)
- // and use reverse ordering so 9 is first output (most important), and 0 is last
- // use batch mode and fire every 3th second
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This option is available for both batch and stream mode.</p> </div> </div> <div class="sect2"> <h3 id="_resequence_jms_messages_based_on_jmspriority"><a class="anchor" href="#_resequence_jms_messages_based_on_jmspriority"></a>Resequence JMS messages based on JMSPriority</h3> <div class="paragraph"> <p>It’s now much easier to use the Resequencer to resequence messages from JMS queues based on J [...]
+ // sort by JMSPriority by allowing duplicates (the message can have the same JMSPriority)
+ // and use reverse ordering so 9 is the first output (most important), and 0 is the last
+ // use batch mode and fire every 3rd second
.resequence(header("JMSPriority")).batch().timeout(3000).allowDuplicates().reverse()
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Notice this is <strong>only</strong> possible in the <code>batch</code> mode of the Resequencer.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_stream_resequencing"><a class="anchor" href="#_stream_resequencing"></a>Stream Resequencing</h2> <div class="sectionbody"> <div class="paragraph"> <p>In streaming mode then the Resequencer will send out messages as soon as possible when a message with the [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Notice this is <strong>only</strong> possible in the <code>batch</code> mode of the Resequencer.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_stream_resequencing"><a class="anchor" href="#_stream_resequencing"></a>Stream Resequencing</h2> <div class="sectionbody"> <div class="paragraph"> <p>In streaming mode, then the Resequencer will send out messages as soon as possible when a message with the [...]
.resequence(header("seqnum")).stream()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_6_xml--panel" class="tabpanel" aria-labelledby="_tabs_6_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The Resequencer keeps a backlog of pending messages in a backlog. The default capacity is 1000 elements, which can be configured:</p> </div> <div id="_tabs_7" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_7_java" class="tab"> <p>Java</p> </li> <li id="_tabs_7_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_7_java--panel [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The Resequencer keeps a backlog of pending messages in a backlog. The default capacity is 1000 elements, which can be configured:</p> </div> <div id="_tabs_8" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_8_java" class="tab"> <p>Java</p> </li> <li id="_tabs_8_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_8_java--panel [...]
.resequence(header("seqnum")).stream().capacity(5000).timeout(4000)
- .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_8_xml--panel" class="tabpanel" aria-labelledby="_tabs_8_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig capacity="5000" timeout="4000"/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This uses a capacity of 5000 elements. And the timeout has been set to 4 seconds. In case of a timeout, then the resequencer disreards the current exepected sequence number, and moves to the next expected number.</p> </div> <div class="sect2"> <h3 id="_how_streaming_mode_works"><a class="anchor" href="#_how_streaming_mode_works"></a>How streaming mode works</h3> <div class="paragraph"> <p>The stream [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This uses a capacity of 5000 elements. And the timeout has been set to 4 seconds. In case of a timeout, then the resequencer disregards the current expected sequence number, and moves to the next expected number.</p> </div> <div class="sect2"> <h3 id="_how_streaming_mode_works"><a class="anchor" href="#_how_streaming_mode_works"></a>How streaming mode works?</h3> <div class="paragraph"> <p>The strea [...]
public String getFileName(Exchange exchange) {
return exchange.getIn().getBody(String.class);
@@ -97,9 +97,9 @@
}
}</code></pre> </div> </div> <div class="paragraph"> <p>And then you can use this expression in a Camel route:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.resequence(new MyFileNameExpression()).stream().timeout(2000)
- .to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_rejecting_old_messages"><a class="anchor" href="#_rejecting_old_messages"></a>Rejecting old messages</h3> <div class="paragraph"> <p>Rejecting old messages is used to prevent out of order messages from being sent, regardless of the event that delivered messages downstream (capacity, timeout, etc).</p> </div> <div class="paragraph"> <p>If enabled, the Resequencer will throw a <code>MessageRejectedExcept [...]
+ .to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_rejecting_old_messages"><a class="anchor" href="#_rejecting_old_messages"></a>Rejecting old messages</h3> <div class="paragraph"> <p>Rejecting old messages is used to prevent out of order messages from being sent, regardless of the event that delivered messages downstream (capacity, timeout, etc).</p> </div> <div class="paragraph"> <p>If enabled, the Resequencer will throw a <code>MessageRejectedExcept [...]
.resequence(header("seqno")).stream().timeout(1000).rejectOld()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_8_xml--panel" class="tabpanel" aria-labelledby="_tabs_8_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_9_xml--panel" class="tabpanel" aria-labelledby="_tabs_9_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig rejectOld="true" timeout="1000"/>
diff --git a/components/4.4.x/eips/resilience4j-eip.html b/components/4.4.x/eips/resilience4j-eip.html
index 9dfa2995..e9d44042 100644
--- a/components/4.4.x/eips/resilience4j-eip.html
+++ b/components/4.4.x/eips/resilience4j-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4j-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Resilience4j [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4j-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Resilience4j [...]
.circuitBreaker()
.to("http://fooservice.com/faulty")
.onFallback()
@@ -15,9 +15,9 @@
</onFallback>
</circuitBreaker>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown, then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip [...]
.circuitBreaker()
- // use 2 second timeout
+ // use a 2-second timeout
.resilience4jConfiguration().timeoutEnabled(true).timeoutDuration(2000).end()
.log("Resilience processing start: ${threadName}")
.to("http://fooservice.com/faulty")
@@ -43,7 +43,7 @@ from("direct:start")
.throwException(new IllegalArgumentException("Forced"))
.end()
.to("log:result")
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-resilience4j</artifactId>
<version>x.x.x</version><!-- use the same version as your Camel core version -->
diff --git a/components/4.4.x/eips/resume-strategies.html b/components/4.4.x/eips/resume-strategies.html
index 723a4d6e..c35a07cd 100644
--- a/components/4.4.x/eips/resume-strategies.html
+++ b/components/4.4.x/eips/resume-strategies.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resume Strategies :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resume-strategies.html"> <meta name="description" content="Provide strategies to allow consuming data from specific offsets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resume Strategies :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resume-strategies.html"> <meta name="description" content="Provide strategies to allow consuming data from specific offsets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
.withBootstrapServers("kafka-address:9092")
.withTopic("offset")
.withProducerProperty("max.block.ms", "10000")
@@ -16,21 +16,21 @@ from("some:component")
from("some:component")
.resumable(new MyTestResumeStrategy())
- .process(this::process)</code></pre> </div> </div> <div class="paragraph"> <p>In some circumstances, such as when dealing with File I/O, it may be necessary to set the offset manually. There are <strong>supporting classes</strong> that can help work with resumables:</p> </div> <div class="ulist"> <ul> <li> <p><code>org.apache.camel.support.Resumables</code> - resumables handling support</p> </li> <li> <p><code>org.apache.camel.support.Offsets</code> - offset handling support</p> </li [...]
+ .process(this::process)</code></pre> </div> </div> <div class="paragraph"> <p>In some circumstances, such as when dealing with File I/O, it may be necessary to set the offset manually. There are <strong>supporting classes</strong> that can help work with resumables:</p> </div> <div class="ulist"> <ul> <li> <p><code>org.apache.camel.support.Resumables</code> - resumables handling support</p> </li> <li> <p><code>org.apache.camel.support.Offsets</code> - offset handling support</p> </li [...]
.resumable(new MyTestResumeStrategy()).intermittent(true)
-.process(this::process)</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_builtin_resume_strategies"><a class="anchor" href="#_builtin_resume_strategies"></a>Builtin Resume Strategies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with a few builtin strategies that can be used to store, retrieve and update the offsets. The following strategies are available:</p> </div> <div class="ulist"> <ul> <li> <p><code>SingleNodeKafkaResumeStrategy</ [...]
+.process(this::process)</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_builtin_resume_strategies"><a class="anchor" href="#_builtin_resume_strategies"></a>Builtin Resume Strategies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with a few builtin strategies that can be used to store, retrieve and update the offsets. The following strategies are available:</p> </div> <div class="ulist"> <ul> <li> <p><code>SingleNodeKafkaResumeStrategy</ [...]
.withBootstrapServers(bootStrapAddress)
.withTopic(kafkaTopic)
.build();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_implementing_new_builtin_resume_strategies"><a class="anchor" href="#_implementing_new_builtin_resume_strategies"></a>Implementing New Builtin Resume Strategies</h3> <div class="paragraph"> <p>New builtin resume strategies can be created by implementing the <code>ResumeStrategy</code> interface. Check the code for <code>SingleNodeKafkaResumeStrategy</code> for implementation details.</p> </div> </div> </ [...]
.resumable("testResumeStrategy")
.convertBodyTo(Reader.class)
- .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p>Is different from the behavior of:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:{{input.dir}}?noop=true&fileName={{input.file}}")
+ .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p>It is different from the behavior of:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:{{input.dir}}?noop=true&fileName={{input.file}}")
.resumable("testResumeStrategy")
.convertBodyTo(InputStream.class)
- .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p><strong>Reason</strong>: the <code>skip</code> method in the Reader will skip characters, whereas the same method on the InputStream will skip bytes.</p> </div> </div> </div> <div class="sect1"> <h2 id="_pausable_consumers_api"><a class="anchor" href="#_pausable_consumers_api"></a>Pausable Consumers API</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Pausable consumers API is a subset of the [...]
+ .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p><strong>Reason</strong>: the <code>skip</code> method in the Reader will skip characters, whereas the same method on the InputStream will skip bytes.</p> </div> </div> </div> <div class="sect1"> <h2 id="_pausable_consumers_api"><a class="anchor" href="#_pausable_consumers_api"></a>Pausable Consumers API</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Pausable consumers API is a subset of the [...]
.pausable(new KafkaConsumerListener(), o -> canContinue())
.process(exchange -> LOG.info("Received an exchange: {}", exchange.getMessage().getBody()))
- .to(destination);</code></pre> </div> </div> <div class="paragraph"> <p>You can also integrate the pausable API and the consumer listener with the circuit breaker EIP. For instance, it’s possible to configure the circuit breaker so that it can manipulate the state of the listener based on success or on error conditions on the circuit.</p> </div> <div class="paragraph"> <p>One example, would be to create a event watcher that checks for a downstream system availability. It watche [...]
+ .to(destination);</code></pre> </div> </div> <div class="paragraph"> <p>You can also integrate the pausable API and the consumer listener with the circuit breaker EIP. For instance, it’s possible to configure the circuit breaker so that it can manipulate the state of the listener based on success or on error conditions on the circuit.</p> </div> <div class="paragraph"> <p>One example would be to create an event watcher that checks for a downstream system availability. It watche [...]
circuitBreaker.getEventPublisher()
.onSuccess(event -> {
diff --git a/components/4.4.x/eips/rollback-eip.html b/components/4.4.x/eips/rollback-eip.html
index b401b11d..c5a79cc4 100644
--- a/components/4.4.x/eips/rollback-eip.html
+++ b/components/4.4.x/eips/rollback-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Rollback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/rollback-eip.html"> <meta name="description" content="Forces a rollback by stopping routing the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Rollback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/rollback-eip.html"> <meta name="description" content="Forces a rollback by stopping routing the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
.choice().when(body().contains("error"))
.rollback("That do not work")
.otherwise()
@@ -13,7 +13,7 @@
<to uri="direct:continue"/>
</otherwise>
</choice>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When Camel is rolling back, then a <code>RollbackExchangeException</code> is thrown with the caused message "That do not work".</p> </div> <div class="sect2"> <h3 id="_marking_for_rollback_only"><a class="anchor" href="#_marking_for_rollback_only"></a>Marking for Rollback only</h3> <div class="paragraph"> <p>When a message is rolled back, then Camel will by default throw a <code>RollbackExchangeExce [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When Camel is rolling back, then a <code>RollbackExchangeException</code> is thrown with the cause message <code><em>"That do not work"</em></code>.</p> </div> <div class="sect2"> <h3 id="_marking_for_rollback_only"><a class="anchor" href="#_marking_for_rollback_only"></a>Marking for Rollback only</h3> <div class="paragraph"> <p>When a message is rolled back, then Camel will by default throw a <code [...]
.choice().when(body().contains("error"))
.markRollbackOnly()
.otherwise()
@@ -28,4 +28,4 @@
<to uri="direct:continue"/>
</otherwise>
</choice>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then no exception is thrown, but the message is marked to rollback and stopped continue routing.</p> </div> </div> <div class="sect2"> <h3 id="_using_rollback_with_transactions"><a class="anchor" href="#_using_rollback_with_transactions"></a>Using Rollback with Transactions</h3> <div class="paragraph"> <p>Rollback can be used together with <a href="transactional-client.html" class="xref page">transa [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then no exception is thrown, but the message is marked to rollback and stopped routing.</p> </div> </div> <div class="sect2"> <h3 id="_using_rollback_with_transactions"><a class="anchor" href="#_using_rollback_with_transactions"></a>Using Rollback with Transactions</h3> <div class="paragraph"> <p>Rollback can be used together with <a href="transactional-client.html" class="xref page">transactions</a [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/roundRobin-eip.html b/components/4.4.x/eips/roundRobin-eip.html
index 84d822b9..cc642557 100644
--- a/components/4.4.x/eips/roundRobin-eip.html
+++ b/components/4.4.x/eips/roundRobin-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Round Robin :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/roundRobin-eip.html"> <meta name="description" content="The destination endpoints are selected in a round-robin fashion. This is a well known and classic policy, which spreads the load evenly."> <meta name="generator" content="Antora 3.1.7"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Round Robin :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/roundRobin-eip.html"> <meta name="description" content="The destination endpoints are selected in a round-robin fashion. This is a well-known and classic policy, which spreads the load evenly."> <meta name="generator" content="Antora 3.1.7"> < [...]
.loadBalance().roundRobin()
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML, you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<roundRobin/>
diff --git a/components/4.4.x/eips/routingSlip-eip.html b/components/4.4.x/eips/routingSlip-eip.html
index 639ece52..543e5ff2 100644
--- a/components/4.4.x/eips/routingSlip-eip.html
+++ b/components/4.4.x/eips/routingSlip-eip.html
@@ -4,7 +4,7 @@
<routingSlip>
<header>whereTo</header>
</routingSlip>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The value of the header ("whereTo") should be a comma-delimited string of endpoint URIs you wish the message to be routed to. The message will be routed in a <a href="pipeline-eip.html" class="xref page">pipeline</a> fashion, i.e., one after the other.</p> </div> <div class="paragraph"> <p>The Routing Slip sets a property, <code>Exchange.SLIP_ENDPOINT</code>, on the <code>Exchange</code> which conta [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The value of the header ("whereTo") should be a comma-delimited string of endpoint URIs you wish the message to be routed to. The message will be routed in a <a href="pipeline-eip.html" class="xref page">pipeline</a> fashion, i.e., one after the other.</p> </div> <div class="paragraph"> <p>The Routing Slip sets a property, <code>Exchange.SLIP_ENDPOINT</code>, on the <code>Exchange</code> which conta [...]
.routingSlip("myHeader").ignoreInvalidEndpoints();</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<routingSlip ignoreInvalidEndpoints="true">
diff --git a/components/4.4.x/eips/saga-eip.html b/components/4.4.x/eips/saga-eip.html
index ac13e7f5..dedc57ef 100644
--- a/components/4.4.x/eips/saga-eip.html
+++ b/components/4.4.x/eips/saga-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Saga :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/saga-eip.html"> <meta name="description" content="Enables Sagas on the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Saga :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/saga-eip.html"> <meta name="description" content="Enables Sagas on the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lra</artifactId>
<!-- use the same version as your Camel core version -->
@@ -8,7 +8,7 @@
<artifactId>camel-undertow</artifactId>
<!-- use the same version as your Camel core version -->
<version>x.y.z</version>
-</dependency></code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The LRA implementation of the Saga EIP will add some web endpoints under the "/lra-participant" path. Those endpoints will be used by the LRA coordinator for calling back the application.</p> </div> </td> </tr> </table></div> </div> <div class="listingbloc [...]
+</dependency></code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The LRA implementation of the Saga EIP will add some web endpoints under the <code><em>"/lra-participant"</em></code> path. Those endpoints will be used by the LRA coordinator for calling back the application.</p> </div> </td> </tr> </table></div> </div> < [...]
org.apache.camel.service.lra.LRASagaService sagaService = new org.apache.camel.service.lra.LRASagaService();
sagaService.setCoordinatorUrl("http://lra-service-host");
sagaService.setLocalParticipantUrl("http://my-host-as-seen-by-lra-service:8080/context-path");
@@ -30,19 +30,19 @@ context.addService(sagaService);</code></pre> </div> </div> <div class="sect3">
lra:
enabled: true
coordinator-url: http://lra-service-host
- local-participant-url: http://my-host-as-seen-by-lra-service:8080/context-path</code></pre> </div> </div> <div class="paragraph"> <p>Once done, the Saga EIP can be directly used inside Camel routes, and it will use the LRA Saga Service under the hood.</p> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_examples"><a class="anchor" href="#_examples"></a>Examples</h2> <div class="sectionbody"> <div class="paragraph"> <p>Suppose you want to place a new order, and you have [...]
+ local-participant-url: http://my-host-as-seen-by-lra-service:8080/context-path</code></pre> </div> </div> <div class="paragraph"> <p>Once done, the Saga EIP can be directly used inside Camel routes, and it will use the LRA Saga Service under the hood.</p> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_examples"><a class="anchor" href="#_examples"></a>Examples</h2> <div class="sectionbody"> <div class="paragraph"> <p>Suppose you want to place a new order, and you have [...]
.saga()
.to("direct:newOrder")
- .to("direct:reserveCredit");</code></pre> </div> </div> <div class="paragraph"> <p><strong>That’s it</strong>. The buy action will not change for the rest of the examples. We’ll just see different options that can be used to model the "New Order" and "Reserve Credit" actions in the following.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div clas [...]
+ .to("direct:reserveCredit");</code></pre> </div> </div> <div class="paragraph"> <p><strong>That’s it</strong>. The buy action will not change for the rest of the examples. We’ll just see different options that can be used to model the "New Order" and "Reserve Credit" actions in the following.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div clas [...]
.saga()
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "newOrder")
- .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>Here the propagation mode is set to <em>MANDATORY</em> meaning that any exchange flowing in this route must be already part of a saga (and it is the case in this example, since the saga is created in the <em>direct:buy</em> route).</p> </div> <div class="paragraph"> <p>The <em>direct:newOrder</em> route declares a compensating action that is called <em>direct:cancelOrder</em>, responsible for undoing [...]
+ .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>Here the propagation mode is set to <code>MANDATORY</code> meaning that any exchange flowing in this route must be already part of a saga. And it is the case in this example, since the saga is created in the <code>direct:buy</code> route.</p> </div> <div class="paragraph"> <p>The <code>direct:newOrder</code> route declares a compensating action called <code>direct:cancelOrder</code>, responsible for [...]
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "cancelOrder")
- .log("Order ${body} cancelled");</code></pre> </div> </div> <div class="paragraph"> <p>It is called automatically by the Saga EIP implementation when the order should be cancelled.</p> </div> <div class="paragraph"> <p>It should not terminate with error. In case an error is thrown in the <em>direct:cancelOrder</em> route, the EIP implementation should periodically retry to execute the compensating action up to a certain limit. This means that <strong>any compensating action must be ide [...]
+ .log("Order ${body} cancelled");</code></pre> </div> </div> <div class="paragraph"> <p>It is called automatically by the Saga EIP implementation when the order should be canceled.</p> </div> <div class="paragraph"> <p>It should not terminate with error. In case an error is thrown in the <code>direct:cancelOrder</code> route, the EIP implementation should periodically retry to execute the compensating action up to a certain limit. This means that <strong>any compensating action must be [...]
from("direct:reserveCredit")
.saga()
.propagation(SagaPropagation.MANDATORY)
@@ -55,7 +55,7 @@ from("direct:reserveCredit")
from("direct:refundCredit")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(creditService, "refundCredit")
- .log("Credit for action ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p>Here the compensating action for a credit reservation is a refund.</p> </div> <div class="paragraph"> <p>This completes the example. It can be run with both implementations of the Saga EIP, as it does not involve remote endpoints.</p> </div> <div class="paragraph"> <p>Further, options will be shown next.</p> </div> <div class="sect2"> <h3 id="_handling_completion_events"><a class="anchor" [...]
+ .log("Credit for action ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p>Here the compensating action for a credit reservation is a refund.</p> </div> <div class="paragraph"> <p>This completes the example. It can be run with both implementations of the Saga EIP, as it does not involve remote endpoints.</p> </div> <div class="paragraph"> <p>Further, options will be shown next.</p> </div> <div class="sect2"> <h3 id="_handling_completion_events"><a class="anchor" [...]
.saga()
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
@@ -71,9 +71,9 @@ from("direct:completeOrder")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "findExternalId")
.to("jms:prepareOrder")
- .log("Order ${body} sent for preparation");</code></pre> </div> </div> <div class="paragraph"> <p>When the Saga is completed, the order is sent to a JMS queue for preparation.</p> </div> <div class="paragraph"> <p>Like compensating actions, also completion actions may be called multiple times by the Saga coordinator (especially in case of errors, like network errors). In this example, the service listening to the <em>prepareOrder</em> JMS queue should be prepared to hold possible dupli [...]
+ .log("Order ${body} sent for preparation");</code></pre> </div> </div> <div class="paragraph"> <p>When the Saga is completed, the order is sent to a JMS queue for preparation.</p> </div> <div class="paragraph"> <p>Like compensating actions, also completion actions may be called multiple times by the Saga coordinator. Especially in case of errors, like network errors. In this example, the service listening to the <code>prepareOrder</code> JMS queue should be prepared to hold possible du [...]
from("direct:reserveCredit")
- .bean(idService, "generateCustomId") // generate a custom Id and set it in the body
+ .bean(idService, "generateCustomId") // generate a custom ID and set it in the body
.to("direct:creditReservation")
// delegate action
@@ -85,22 +85,22 @@ from("direct:creditReservation")
.bean(creditService, "reserveCredit")
.log("Credit ${header.amount} reserved. Custom Id used is ${body}");
-// called only if the saga is cancelled
+// called only if the saga is canceled
from("direct:creditRefund")
.transform(header("CreditId")) // retrieve the CreditId option from headers
.bean(creditService, "refundCredit")
- .log("Credit for Custom Id ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p><strong>Note how the previous listing is not using the <code>Exchange.SAGA_LONG_RUNNING_ACTION</code> header at all.</strong></p> </div> <div class="paragraph"> <p>Since the <em>direct:creditReservation</em> endpoint can be now called also from outside a Saga, the propagation mode can be set to <strong>SUPPORTS</strong>.</p> </div> <div class="paragraph"> <p><strong>Multiple options</st [...]
+ .log("Credit for Custom Id ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p><strong>Note how the previous listing is not using the <code>Exchange.SAGA_LONG_RUNNING_ACTION</code> header at all.</strong></p> </div> <div class="paragraph"> <p>Since the <code>direct:creditReservation</code> endpoint can be now called also from outside a Saga, the propagation mode can be set to <code>SUPPORTS</code>.</p> </div> <div class="admonitionblock note"> <div class="table-wr [...]
.saga()
.timeout(1, TimeUnit.MINUTES) // newOrder requires that the saga is completed within 1 minute
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
.completion("direct:completeOrder")
// ...
- .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>All participants (e.g. credit service, order service) can set their own timeout. When a participant joins an existing transaction, the timeout of the already active saga can be influenced. It should calculate the moment in time the saga would become eligible for cancellation based on the time which the request enters the method and the timeout. When this moment is earlier than the moment calculated f [...]
+ .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>All participants, e.g., credit service, order service, can set their own timeout. When a participant joins an existing transaction, the timeout of the already active saga can be influenced. It should calculate the moment in time the saga would become eligible for cancellation based on the time which the request enters the method and the timeout. When this moment is earlier than the moment calculated [...]
.saga()
.timeout(5, TimeUnit.MINUTES) // timeout at saga level
.to("direct:newOrder")
- .to("direct:reserveCredit");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_choosing_propagation"><a class="anchor" href="#_choosing_propagation"></a>Choosing Propagation</h3> <div class="paragraph"> <p>In the examples above, we have used the <em>MANDATORY</em> and <em>SUPPORTS</em> propagation modes, but also the <em>REQUIRED</em> propagation mode, that is the default propagation used when nothing else is specified.</p> </div> <div class="paragraph"> <p>These propaga [...]
+ .to("direct:reserveCredit");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_choosing_propagation"><a class="anchor" href="#_choosing_propagation"></a>Choosing Propagation</h3> <div class="paragraph"> <p>In the examples above, we have used the <code>MANDATORY</code> and <code>SUPPORTS</code> propagation modes, but also the <code>REQUIRED</code> propagation mode, that is the default propagation used when nothing else is specified.</p> </div> <div class="paragraph"> <p>T [...]
.saga()
.completionMode(SagaCompletionMode.MANUAL)
.completion("direct:finalize")
@@ -120,7 +120,7 @@ from("seda:operationCompleted") // an asynchronous callback
.to("saga:complete") // complete the current saga manually (saga component)
.end()
-// You can put here the direct:finalize endpoint to execute final actions</code></pre> </div> </div> <div class="paragraph"> <p>Setting the completion mode to <em>MANUAL</em> means that the saga is not completed when the exchange is processed in the route <em>direct:mysaga</em> but it will last longer (max duration is set to 2 hours).</p> </div> <div class="paragraph"> <p>When both asynchronous actions are completed the saga is completed. The call to complete is done using the Camel Saga [...]
+// You can put here the direct:finalize endpoint to execute final actions</code></pre> </div> </div> <div class="paragraph"> <p>Setting the completion mode to <code>MANUAL</code> means that the saga is not completed when the exchange is processed in the route <code>direct:mysaga</code> but it will last longer (max duration is set to 2 hours).</p> </div> <div class="paragraph"> <p>When both asynchronous actions are completed, the saga is completed. The call to complete is done using the C [...]
<from uri="direct:start"/>
<saga>
<compensation uri="direct:compensation" />
diff --git a/components/4.4.x/eips/sample-eip.html b/components/4.4.x/eips/sample-eip.html
index 194be741..d154f81f 100644
--- a/components/4.4.x/eips/sample-eip.html
+++ b/components/4.4.x/eips/sample-eip.html
@@ -1,18 +1,18 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sample :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sample-eip.html"> <meta name="description" content="Extract a sample of the messages passing through a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sample :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sample-eip.html"> <meta name="description" content="Extract a sample of the messages passing through a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.sample()
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
<sample>
<to uri="direct:sampled"/>
</sample>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_time_period"><a class="anchor" href="#_sampling_using_time_period"></a>Sampling using time period</h3> <div class="paragraph"> <p>The default time period is 1 second, but this can easily be configured. For example to sample 1 message per 5 seconds you can do:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_time_period"><a class="anchor" href="#_sampling_using_time_period"></a>Sampling using time period</h3> <div class="paragraph"> <p>The default time period is 1 second, but this can easily be configured. For example, to sample one message per 5 seconds, you can do:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> [...]
.sample(5, TimeUnit.SECONDS)
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
<sample samplePeriod="5000">
<to uri="direct:sampled"/>
</sample>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_message_frequency"><a class="anchor" href="#_sampling_using_message_frequency"></a>Sampling using message frequency</h3> <div class="paragraph"> <p>The Sample EIP can also be configured to sample based on frequency instead of time period.</p> </div> <div class="paragraph"> <p>For example to sample every 10th message you can do:</p> </div> <div id="_tabs_3" class="openblock ta [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_message_frequency"><a class="anchor" href="#_sampling_using_message_frequency"></a>Sampling using message frequency</h3> <div class="paragraph"> <p>The Sample EIP can also be configured to sample based on frequency instead of a time period.</p> </div> <div class="paragraph"> <p>For example, to sample every 10th message you can do:</p> </div> <div id="_tabs_3" class="openblock [...]
.sample(10)
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
diff --git a/components/4.4.x/eips/scatter-gather.html b/components/4.4.x/eips/scatter-gather.html
index d911f2d4..0a265208 100644
--- a/components/4.4.x/eips/scatter-gather.html
+++ b/components/4.4.x/eips/scatter-gather.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Scatter Gather :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/scatter-gather.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Scatter Gather"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Scatter-Gather :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/scatter-gather.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Scatter-Gather"> [...]
<route>
<from uri="servlet:cheese"/>
@@ -8,7 +8,7 @@
<to uri="log:response"/>
</route>
-</routes></code></pre> </div> </div> <div class="paragraph"> <p>This is a basic example that only uses basic functionality of the <a href="recipientList-eip.html" class="xref page">Recipient List</a>. For more details how the aggregation works, see the <a href="recipientList-eip.html" class="xref page">Recipient List</a> documentation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_using_recipient_list_and_aggregate_eip"><a class="anchor" href="#_using_recipient_list_and_agg [...]
+</routes></code></pre> </div> </div> <div class="paragraph"> <p>This is a basic example that only uses basic functionality of the <a href="recipientList-eip.html" class="xref page">Recipient List</a>. For more details on how the aggregation works, see the <a href="recipientList-eip.html" class="xref page">Recipient List</a> documentation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_using_recipient_list_and_aggregate_eip"><a class="anchor" href="#_using_recipient_list_and_ [...]
<route>
<from uri="direct:start"/>
@@ -27,7 +27,7 @@
</aggregate>
</route>
-</routes></code></pre> </div> </div> <div class="paragraph"> <p>So in the first route you see that the <a href="recipientList-eip.html" class="xref page">Recipient List</a> is looking at the listOfVendors header for the list of recipients. So, we need to send a message like:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Map<String, Object> headers = new HashMap<>();
+</routes></code></pre> </div> </div> <div class="paragraph"> <p>So in the first route, you see that the <a href="recipientList-eip.html" class="xref page">Recipient List</a> is looking at the listOfVendors header for the list of recipients. So, we need to send a message like:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Map<String, Object> headers = new HashMap<>();
headers.put("listOfVendors", "bean:vendor1,bean:vendor2,bean:vendor3");
headers.put("quoteRequestId", "quoteRequest-1");
@@ -65,7 +65,7 @@ template.sendBodyAndHeaders("direct:start", "<quote_request item=\"beer\"/>
<constructor-arg><value>3</value></constructor-arg>
</bean>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Each bean is loaded with a different price for beer. When the message is sent to each bean endpoint, it will arrive at the <code>MyVendor.quote</code> method. This method does a simple check whether this quote request is for beer and then sets the price of beer on the exchange for retrieval at a later step. The message is forwarded on to the next step using <a href="../../../manual/pojo-producing.html" class="xre [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Each bean is loaded with a different price for beer. When the message is sent to each bean endpoint, it will arrive at the <code>MyVendor.quote</code> method. This method does a simple check whether this quote request is for beer and then sets the price of beer on the exchange for retrieval at a later step. The message is forwarded on to the next step using <a href="../../../manual/pojo-producing.html" class="xre [...]
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
// the first time we only have the new exchange
@@ -79,4 +79,4 @@ template.sendBodyAndHeaders("direct:start", "<quote_request item=\"beer\"/>
return newExchange;
}
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>And finally the aggregator will assemble the response message with the best beer price (the lowest). Notice how the aggregator has timeout built-in, meaning that if one or more of the beer vendors does not respond, then the aggregator will discard those <em>late</em> responses, and send out a message with the <em>best price so far</em>.</p> </div> <div class="paragraph"> <p>The message is then continued to another route via the <cod [...]
\ No newline at end of file
+}</code></pre> </div> </div> <div class="paragraph"> <p>And finally, the aggregator will assemble the response message with the best beer price (the lowest). Notice how the aggregator has timeout built-in, meaning that if one or more of the beer vendors does not respond, then the aggregator will discard those <em>late</em> responses, and send out a message with the <em>best price so far</em>.</p> </div> <div class="paragraph"> <p>The message is then continued to another route via the <co [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/script-eip.html b/components/4.4.x/eips/script-eip.html
index 91f4aa0c..491c392a 100644
--- a/components/4.4.x/eips/script-eip.html
+++ b/components/4.4.x/eips/script-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Script :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/script-eip.html"> <meta name="description" content="Executes a script from a language which does not change the message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Script :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/script-eip.html"> <meta name="description" content="Executes a script from a language which does not change the message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
.script().groovy("some groovy code goes here")
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -12,7 +12,7 @@
<groovy><![CDATA[ some groovy script here that can be multiple lines and whatnot ]]></groovy>
</script>
<to uri="bean:myServiceBean.processLine"/>
-</route></code></pre> </div> </div> </div> </div> <div class="sect2"> <h3 id="_scripting_context"><a class="anchor" href="#_scripting_context"></a>Scripting Context</h3> <div class="paragraph"> <p>The scripting context has access to the current <code>Exchange</code> and can essentially change the message or headers directly.</p> </div> </div> <div class="sect2"> <h3 id="_using_external_script_files"><a class="anchor" href="#_using_external_script_files"></a>Using external script fi [...]
+</route></code></pre> </div> </div> </div> </div> <div class="sect2"> <h3 id="_scripting_context"><a class="anchor" href="#_scripting_context"></a>Scripting Context</h3> <div class="paragraph"> <p>The scripting context has access to the current <code>Exchange</code> and can essentially change the message or headers directly.</p> </div> </div> <div class="sect2"> <h3 id="_using_external_script_files"><a class="anchor" href="#_using_external_script_files"></a>Using external script fi [...]
<from uri="file:inbox"/>
<script>
<groovy>resource:classpath:com/foo/myscript.groovy</groovy>
diff --git a/components/4.4.x/eips/selective-consumer.html b/components/4.4.x/eips/selective-consumer.html
index e75dd8c3..3ceee6d3 100644
--- a/components/4.4.x/eips/selective-consumer.html
+++ b/components/4.4.x/eips/selective-consumer.html
@@ -1,8 +1,8 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Selective Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/selective-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Selectiv [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Selective Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/selective-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Selectiv [...]
.to("bean:red");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:hello?selector=color='red'"/>
<to uri="bean:red"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_selective_consumer_using_filter_eip"><a class="anchor" href="#_selective_consumer_using_filter_eip"></a>Selective Consumer using Filter EIP</h3> <div class="paragraph"> <p>The other approach is to use a <a href="filter-eip.html" class="xref page">Message Filter</a> which is applied; if the filter matches the message your "consumer" is invoked as shown in the following example:</p> </div> <d [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_selective_consumer_using_filter_eip"><a class="anchor" href="#_selective_consumer_using_filter_eip"></a>Selective Consumer using Filter EIP</h3> <div class="paragraph"> <p>The other approach is to use a <a href="filter-eip.html" class="xref page">Message Filter</a> which is applied; if the filter matches the message, your "consumer" is invoked as shown in the following example:</p> </div> < [...]
.filter(header("color").isEqualTo("red"))
.to("bean:red")</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:colors"/>
diff --git a/components/4.4.x/eips/serviceCall-eip.html b/components/4.4.x/eips/serviceCall-eip.html
index ff70d589..94b2260b 100644
--- a/components/4.4.x/eips/serviceCall-eip.html
+++ b/components/4.4.x/eips/serviceCall-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Call :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/serviceCall-eip.html"> <meta name="description" content="To call remote services"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Call :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/serviceCall-eip.html"> <meta name="description" content="To call remote services"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
.serviceCall("foo")
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
@@ -6,7 +6,7 @@
<serviceCall name="foo"/>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Camel will then:</p> </div> <div class="ulist"> <ul> <li> <p>search for a service call configuration from the Camel context and registry</p> </li> <li> <p>lookup a service with the name <code><code>foo</code></code> from an external service registry</p> </li> <li> <p>filter the servers</p> </li> <li> <p>select the server to use</p> </li> <li> <p>build a Camel URI using the chosen server info</p> </li> </ul> </div [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Camel will then:</p> </div> <div class="ulist"> <ul> <li> <p>search for a service call configuration from the Camel context and registry</p> </li> <li> <p>lookup a service with the name <code><code>foo</code></code> from an external service registry</p> </li> <li> <p>filter the servers</p> </li> <li> <p>select the server to use</p> </li> <li> <p>build a Camel URI using the chosen server info</p> </li> </ul> </div [...]
.serviceCall("foo/hello")
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>If you want to have more control over the uri construction, you can use the <strong>uri</strong> directive:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">URI</th> <th class="tableblock halign-left valign-top">Res [...]
.serviceCall("foo", "undertow:http://foo/hello")
@@ -14,7 +14,7 @@
.serviceCall()
.name("foo")
.expression()
- .simple("undertow:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_static_service_discovery"><a class="anchor" href="#_static_service_discovery"></a>Static Service Discovery</h3> <div class="paragraph"> <p>This service discovery implementation does not query any external services to find out the list of services associated to a named service but keep them in memory. Each [...]
+ .simple("undertow:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_static_service_discovery"><a class="anchor" href="#_static_service_discovery"></a>Static Service Discovery</h3> <div class="paragraph"> <p>This service discovery implementation does not query any external services to find out the list of services associated with a named service but keep them in memory. Eac [...]
.serviceCall("foo")
.staticServiceDiscovery()
.servers("service1@host1:80,service1@host2:80")
@@ -63,7 +63,7 @@
<artifactId>camel-kubernetes</artifactId>
<!-- use the same version as your Camel core version -->
<version>x.y.z</version>
-</dependency></code></pre> </div> </div> <div class="paragraph"> <p>Available options:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">Java Type</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top" [...]
+</dependency></code></pre> </div> </div> <div class="paragraph"> <p>Available options:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">Java Type</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top" [...]
.serviceCall("foo")
.kubernetesServiceDiscovery()
.lookup("dns")
@@ -101,7 +101,7 @@
</serviceCall>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect3"> <h4 id="_custom_service_filter"><a class="anchor" href="#_custom_service_filter"></a>Custom Service Filter</h4> <div class="paragraph"> <p>Service Filters choose suitable candidates from the service definitions found in the service discovery.</p> </div> <div class="paragraph"> <p>The service filter have access to the current exchange, which allows you to create service filters comparing service metadata with mess [...]
+</camelContext></code></pre> </div> </div> </div> <div class="sect3"> <h4 id="_custom_service_filter"><a class="anchor" href="#_custom_service_filter"></a>Custom Service Filter</h4> <div class="paragraph"> <p>Service Filters choose suitable candidates from the service definitions found in the service discovery.</p> </div> <div class="paragraph"> <p>The service filter has access to the current exchange, which allows you to create service filters comparing service metadata with messa [...]
Collections.singletonMap("supports", "foo")));</code></pre> </div> </div> <div class="paragraph"> <p>The current exchange has a property which says that it needs a foo service:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">exchange.setProperty("needs", "foo");</code></pre> </div> </div> <div class="paragraph"> <p>You can then use a <code>ServiceFilter</code> to select the service instan [...]
.serviceCall()
.name("service")
diff --git a/components/4.4.x/eips/setBody-eip.html b/components/4.4.x/eips/setBody-eip.html
index 6c7d0ba7..fdbf6cb2 100644
--- a/components/4.4.x/eips/setBody-eip.html
+++ b/components/4.4.x/eips/setBody-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Body :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setBody-eip.html"> <meta name="description" content="Sets the contents of the message body"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Body :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setBody-eip.html"> <meta name="description" content="Sets the contents of the message body"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
@@ -6,4 +6,4 @@
<simple>Hello ${body}</simple>
</setBody>
<to uri="log:hello"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_what_is_the_difference_between_transform_and_set_body"><a class="anchor" href="#_what_is_the_difference_between_transform_and_set_body"></a>What is the difference between Transform and Set Body</h3> <div class="paragraph"> <p>The Transform EIP always sets the result on the OUT message body.</p> </div> <div class="paragraph"> <p>Set Body sets the result accordingly to the <a href="../../../m [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_what_is_the_difference_between_transform_and_set_body"><a class="anchor" href="#_what_is_the_difference_between_transform_and_set_body"></a>What is the difference between Transform and Set Body?</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Transform EIP always sets the result on the OUT message body.</p> </div> <div class="paragraph"> <p>Set Body sets the resu [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/setHeader-eip.html b/components/4.4.x/eips/setHeader-eip.html
index 0a30db9f..cc933508 100644
--- a/components/4.4.x/eips/setHeader-eip.html
+++ b/components/4.4.x/eips/setHeader-eip.html
@@ -6,7 +6,7 @@
<constant>test</constant>
</setHeader>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example the header value is a <a href="../languages/constant-language.html" class="xref page">constant</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example, the header value is a <a href="../languages/constant-language.html" class="xref page">constant</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> [...]
.setHeader("randomNumber", simple("${random(1,100)}"))
.to("direct:b");</code></pre> </div> </div> <div class="paragraph"> <p>Header can be set using fluent syntax.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:a")
.setHeader("randomNumber").simple("${random(1,100)}")
@@ -16,7 +16,7 @@
<simple>${random(1,100)}</simple>
</setHeader>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>See <a href="../languages/jsonpath-language.html#_using_header_as_input" class="xref page">JSONPath</a> for another example.</p> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set a header with the value from another header.< [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>See <a href="../languages/jsonpath-language.html#_using_header_as_input" class="xref page">JSONPath</a> for another example.</p> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set a header with the value from another header.< [...]
.setHeader("foo", header("bar"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/4.4.x/eips/setHeaders-eip.html b/components/4.4.x/eips/setHeaders-eip.html
index 8823e9ed..f182ec8e 100644
--- a/components/4.4.x/eips/setHeaders-eip.html
+++ b/components/4.4.x/eips/setHeaders-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeaders-eip.html"> <meta name="description" content="Allows to set multiple headers on the message at the same time."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeaders-eip.html"> <meta name="description" content="Allows setting multiple headers on the message at the same time."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
.setHeaders("myHeader", constant("test"), "otherHeader", constant("other"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -21,7 +21,7 @@
- name: otherHeader
constant: other
- to:
- uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example the header values are <a href="../languages/constant-language.html" class="xref page">constants</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablis [...]
+ uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>For example, the header values are <a href="../languages/constant-language.html" class="xref page">constants</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist" [...]
.setHeaders("randomNumber", simple("${random(1,100)}"), "body", simple("${body}"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -44,7 +44,7 @@
- name: body
simple: "${body}"
- to:
- uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set several headers where later ones depend on earlier ones.</p> </div> <div class="paragraph"> <p>In the example we first set the header foo to the body and then set bar based on comparing foo with a val [...]
+ uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set several headers where later ones depend on earlier ones.</p> </div> <div class="paragraph"> <p>In the example, we first set the header foo to the body and then set bar based on comparing foo with a va [...]
.setHeaders("foo", simple("${body}"), "bar", simple("${header.foo} > 10", Boolean.class))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/4.4.x/eips/setProperty-eip.html b/components/4.4.x/eips/setProperty-eip.html
index b907f5fe..8e1a2066 100644
--- a/components/4.4.x/eips/setProperty-eip.html
+++ b/components/4.4.x/eips/setProperty-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setProperty-eip.html"> <meta name="description" content="Sets a named property on the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setProperty-eip.html"> <meta name="description" content="Sets a named property on the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.setProperty("myProperty", constant("test"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -6,7 +6,7 @@
<constant>test</constant>
</setProperty>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_from_another_exchange_property"><a class="anchor" href="#_setting_an_exchange_property_from_another_exchange_property"></a>Setting an exchange property from another exchange property</h3> <div class="paragraph"> <p>You can also set an exchange property with the value from another exchange property.</p> </div> <div class="paragraph"> <p>In the example we set the exchang [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_from_another_exchange_property"><a class="anchor" href="#_setting_an_exchange_property_from_another_exchange_property"></a>Setting an exchange property from another exchange property</h3> <div class="paragraph"> <p>You can also set an exchange property with the value from another exchange property.</p> </div> <div class="paragraph"> <p>In the example, we set the exchan [...]
.setProperty("foo", exchangeProperty("bar"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -14,7 +14,7 @@
<exchangeProperty>bar</exchangeProperty>
</setProperty>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_with_the_current_message_body"><a class="anchor" href="#_setting_an_exchange_property_with_the_current_message_body"></a>Setting an exchange property with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set an exchange property with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> < [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_with_the_current_message_body"><a class="anchor" href="#_setting_an_exchange_property_with_the_current_message_body"></a>Setting an exchange property with the current message body</h3> <div class="paragraph"> <p>It is also possible to set an exchange property with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_t [...]
.setProperty("myBody", body())
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="paragraph"> <p>We use the <a href="../languages/simple-language.html" class="xref page">Simple</a> language to refer to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/4.4.x/eips/setVariable-eip.html b/components/4.4.x/eips/setVariable-eip.html
index 18b93ef2..e3ba1abb 100644
--- a/components/4.4.x/eips/setVariable-eip.html
+++ b/components/4.4.x/eips/setVariable-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setVariable-eip.html"> <meta name="description" content="Sets the value of a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setVariable-eip.html"> <meta name="description" content="Sets the value of a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.setVariable("myVar", constant("test"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -14,7 +14,7 @@
<header>bar</header>
</setVariable>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_variable_with_the_current_message_body"><a class="anchor" href="#_setting_variable_with_the_current_message_body"></a>Setting variable with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set an variable with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_tabs_3" class="openblock tabs is-syn [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_variable_with_the_current_message_body"><a class="anchor" href="#_setting_variable_with_the_current_message_body"></a>Setting variable with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set a variable with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_tabs_3" class="openblock tabs is-sync [...]
.setVariable("myBody", body())
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="paragraph"> <p>We use the <a href="../languages/simple-language.html" class="xref page">Simple</a> language to refer to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/4.4.x/eips/sort-eip.html b/components/4.4.x/eips/sort-eip.html
index 7dd3a562..901c1f53 100644
--- a/components/4.4.x/eips/sort-eip.html
+++ b/components/4.4.x/eips/sort-eip.html
@@ -1,8 +1,8 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sort :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sort-eip.html"> <meta name="description" content="Sorts the contents of the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sort :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sort-eip.html"> <meta name="description" content="Sorts the contents of the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
.sort(body().tokenize("\n"))
- .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can pass in your own comparator as a 2nd argument:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
+ .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can pass in your own comparator as a second argument:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
.sort(body().tokenize("\n"), new MyReverseComparator())
- .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>In the route below it will read the file content and tokenize by line breaks so each line can be sorted. In XML you use the <a href="../languages/tokenize-language.html" class="xref page">Tokenize</a> language as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>In the route below, it will read the file content and tokenize by line breaks so each line can be sorted. In XML, you use the <a href="../languages/tokenize-language.html" class="xref page">Tokenize</a> language as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<sort>
<tokenize>\n</tokenize>
diff --git a/components/4.4.x/eips/split-eip.html b/components/4.4.x/eips/split-eip.html
index d73dfb72..21c7b58d 100644
--- a/components/4.4.x/eips/split-eip.html
+++ b/components/4.4.x/eips/split-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Split :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/split-eip.html"> <meta name="description" content="Splits a single message into many sub-messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Split :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/split-eip.html"> <meta name="description" content="Splits a single message into many sub-messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
.split(body().tokenize("\n"))
.to("direct:b");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -22,9 +22,9 @@
<xpath>//foo/bar</xpath>
<to uri="file:some/directory"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_splitting_the_message_body"><a class="anchor" href="#_splitting_the_message_body"></a>Splitting the message body</h3> <div class="paragraph"> <p>A common use case is to split a list/set/collection/map, array, or something that is iterable from the message body.</p> </div> <div class="paragraph"> <p>The Split EIP will by default split the message body based on the value type:</p> </div> <div class= [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_splitting_the_message_body"><a class="anchor" href="#_splitting_the_message_body"></a>Splitting the message body</h3> <div class="paragraph"> <p>A common use case is to split a list/set/collection/map, array, or something that is iterable from the message body.</p> </div> <div class="paragraph"> <p>The Split EIP will by default split the message body based on the value type:</p> </div> <div class= [...]
.split(body())
- .to("mock:result");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="paragraph"> <p>In XML you use <a href="../languages/simple-language.html" class="xref page">Simple</a> to refer to the message body:</p> </div> </dd> </dl> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="paragraph"> <p>In XML, you use <a href="../languages/simple-language.html" class="xref page">Simple</a> to refer to the message body:</p> </div> </dd> </dl> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:splitUsingBody"/>
<split>
<simple>${body}</simple>
@@ -42,7 +42,7 @@
<to uri="direct:c"/>
<to uri="direct:d"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the splitter, then m [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the splitter, then m [...]
.split(body()).parallelProcessing()
.to("direct:x")
.to("direct:y")
@@ -72,7 +72,7 @@
<to uri="direct:d"/>
</split>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure in one o [...]
+</route></code></pre> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure in one o [...]
.split(body().tokenize(",")).streaming()
.to("activemq:my.parts");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:streaming"/>
@@ -88,7 +88,7 @@
<method ref="#class:com.foo.MyCustomSplitter" method="splitMe"/>
<to uri="activemq:my.parts"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then the custom bean could for example be implemented as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyCustomSplitter {
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then the custom bean could, for example, be implemented as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyCustomSplitter {
public List splitMe(Exchange exchange) {
Object body = exchange.getMessage().getBody();
@@ -97,7 +97,7 @@
// split the message body how you like
return answer;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>The bean should just return something that the splitter can work with when splitting, such as a <code>List</code> or <code>Iterator</code> etc.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> The bean method <code>splitMe</code> uses <code>Exchange</code> as parameter, however Camel supports <a href="../../../man [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>The bean should just return something that the splitter can work with when splitting, such as a <code>List</code> or <code>Iterator</code> etc.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> The bean method <code>splitMe</code> uses <code>Exchange</code> as parameter, however, Camel supports <a href="../../../ma [...]
<order>
<!-- order stuff here -->
</order>
@@ -108,7 +108,7 @@
<order>
<!-- order stuff here -->
</order>
-</orders></code></pre> </div> </div> <div class="paragraph"> <p>Now to split this big file using <a href="../languages/xpath-language.html" class="xref page">XPath</a> would cause the entire content to be loaded into memory. So instead we can use the <a href="../languages/tokenize-language.html" class="xref page">Tokenize</a> language to do this as follows:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> [...]
+</orders></code></pre> </div> </div> <div class="paragraph"> <p>Now to split this big file using <a href="../languages/xpath-language.html" class="xref page">XPath</a> would cause the entire content to be loaded into memory. So instead, we can use the <a href="../languages/tokenize-language.html" class="xref page">Tokenize</a> language to do this as follows:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul [...]
.split().tokenizeXML("order").streaming()
.to("activemq:queue:order");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -116,7 +116,7 @@
<tokenize token="order" xml="true"/>
<to uri="activemq:queue:order"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This will split the file using the tag name of the child nodes (more precisely speaking, the local name of the element without its namespace prefix if any), which mean it will grab the content between the <code><order></code> and <code></order></code> tags (incl. the tags).</p> </div> <div class="paragraph"> <p>So for example a split message would be structured as follows:</p> </div> <di [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This will split the file using the tag name of the child nodes (more precisely speaking, the local name of the element without its namespace prefix if any), which mean it will grab the content between the <code><order></code> and <code></order></code> tags (incl. the tags).</p> </div> <div class="paragraph"> <p>So for example, a split message would be structured as follows:</p> </div> <d [...]
<!-- order stuff here -->
</order></code></pre> </div> </div> <div class="paragraph"> <p>If you want to inherit namespaces from a root/parent tag, then you can do this as well by providing the name of the root/parent tag:</p> </div> <div id="_tabs_6" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_6_java" class="tab"> <p>Java</p> </li> <li id="_tabs_6_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_6_java--panel" class="tabpanel" [...]
.split().tokenizeXML("order", "orders").streaming()
@@ -133,7 +133,7 @@ from("file:inbox")
.to("activemq:queue:order)</code></pre> </div> </div> <div class="paragraph"> <p>Two arguments control the behavior of the tokenizer:</p> </div> <div class="olist arabic"> <ol class="arabic"> <li> <p>The first argument specifies the element using a path notation This path notation uses a subset of xpath with wildcard support.</p> </li> <li> <p>The second argument represents the extraction mode.</p> </li> </ol> </div> <div class="paragraph"> <p>The available extraction modes are:</p> [...]
<m:order><id>123</id><date>2014-02-25</date>...</m:order>
...
-</m:orders></code></pre> </div> </div> <div class="paragraph"> <p>Each mode will result in the following tokens,</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Mode</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock">i</p></td> <td cla [...]
+</m:orders></code></pre> </div> </div> <div class="paragraph"> <p>Each mode will result in the following tokens:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Mode</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock">i</p></td> <td cla [...]
<route>
<from uri="file:inbox"/>
<split streaming="true">
@@ -141,7 +141,7 @@ from("file:inbox")
<to uri="activemq:queue:order"/>
</split>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>or setting the extraction mode explicitly as</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><xtokenize mode="i">//ns1:order</xtokenize></code></pre> </div> </div> <div class="paragraph"> <p>Note that this StAX based tokenizer uses StAX Location API and requires a StAX Reader implementation (such as Woodstox [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>or setting the extraction mode explicitly as</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><xtokenize mode="i">//ns1:order</xtokenize></code></pre> </div> </div> <div class="paragraph"> <p>Note that this StAX based tokenizer uses StAX Location API and requires a StAX Reader implementation (such as Woodstox [...]
.split().tokenize("\n", 1000).streaming()
.to("activemq:queue:order");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -149,9 +149,9 @@ from("file:inbox")
<tokenize token="\n" group="1000"/>
<to uri="activemq:queue:order"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The <code>group</code> value must be a positive number dictating how many elements to combine together in a group. Each part will be combined using the token.</p> </div> <div class="paragraph"> <p>In the example above the message being sent to the activemq order queue, will contain 1000 lines, and each line separated by the token (which is a new line token).</p> </div> <div class="paragraph"> <p>The [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The <code>group</code> value must be a positive number dictating how many elements to combine in a group. Each part will be combined using the token.</p> </div> <div class="paragraph"> <p>In the example above, the message being sent to the activemq order queue, will contain 1000 lines, and each line separated by the token (which is a new line token).</p> </div> <div class="paragraph"> <p>The output [...]
// the body is then split based on @ separator
-// the splitter in Camel supports InOut as well and for that we need
+// the splitter in Camel supports InOut as well, and for that we need
// to be able to aggregate what response we need to send back, so we provide our
// own strategy with the class MyOrderStrategy.
from("direct:start")
@@ -161,8 +161,8 @@ from("direct:start")
// this is important to end the splitter route as we do not want to do more routing
// on each split message
.end()
- // after we have split and handled each message we want to send a single combined
- // response back to the original caller, so we let this bean build it for us
+ // after we have split and handled each message, we want to send a single combined
+ // response back to the original caller, so we let this bean build it for us,
// this bean will receive the result of the aggregate strategy: MyOrderStrategy
.to("bean:MyOrderService?method=buildCombinedResponse")</code></pre> </div> </div> <div class="paragraph"> <p>And the OrderService bean is as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public static class MyOrderService {
@@ -188,7 +188,7 @@ from("direct:start")
* This is our own order aggregation strategy where we can control
* how each split message should be combined. As we do not want to
* loos any message we copy from the new to the old to preserve the
- * order lines as long we process them
+ * order lines as we process them
*/
public static class MyOrderStrategy implements AggregationStrategy {
@@ -215,7 +215,7 @@ public static class MyOrderStrategy implements AggregationStrategy {
// return old as this is the one that has all the orders gathered until now
return oldExchange;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>So lets run the sample and see how it works.</p> </div> <div class="paragraph"> <p>We send an Exchange to the direct:start endpoint containing a message body with the String value: <code>A@B@C</code>. The flow is:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-text hljs" data-lang="text">HandleOrder: A
+}</code></pre> </div> </div> <div class="paragraph"> <p>So let’s run the sample and see how it works.</p> </div> <div class="paragraph"> <p>We send an Exchange to the direct:start endpoint containing a message body with the String value: <code>A@B@C</code>. The flow is:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-text hljs" data-lang="text">HandleOrder: A
HandleOrder: B
Aggregate old orders: (id=1,item=A)
Aggregate new order: (id=2,item=B)
@@ -223,7 +223,7 @@ HandleOrder: C
Aggregate old orders: (id=1,item=A);(id=2,item=B)
Aggregate new order: (id=3,item=C)
BuildCombinedResponse: (id=1,item=A);(id=2,item=B);(id=3,item=C)
-Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_stop_processing_in_case_of_exception"><a class="anchor" href="#_stop_processing_in_case_of_exception"></a>Stop processing in case of exception</h3> <div class="paragraph"> <p>The Splitter will by default continue to process the entire Exchange even in case of one of the split message will throw an exception during routing.</p> </div> <div class="paragraph [...]
+Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_stop_processing_in_case_of_exception"><a class="anchor" href="#_stop_processing_in_case_of_exception"></a>Stop processing in case of exception</h3> <div class="paragraph"> <p>The Splitter will by default continue to process the entire Exchange even in case of one of the split messages will throw an exception during routing.</p> </div> <div class="paragrap [...]
.split(body().tokenize(",")).stopOnException()
.process(new MyProcessor())
.to("mock:split")
@@ -236,7 +236,7 @@ Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></
<to uri="mock:split"/>
</split>
<to uri="direct:cheese"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Split EIP will stop after this, and not split anymore.</p> </div> </div> <div class="sect2"> <h3 id="_sharing_unit_of_work"><a class="anchor" href="#_sharing_unit_of_work"></a>Sharing unit of work</h3> <div class="paragraph"> <p>The Splitter will by default not share unit of work between [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Split EIP will stop after this, and not split anymore.</p> </div> </div> <div class="sect2"> <h3 id="_sharing_unit_of_work"><a class="anchor" href="#_sharing_unit_of_work"></a>Sharing unit of work</h3> <div class="paragraph"> <p>The Splitter will by default not share unit of work between [...]
.maximumRedeliveries(3).redeliveryDelay(0));
from("direct:start")
@@ -253,7 +253,7 @@ from("direct:start")
from("direct:line")
.to("log:line")
.process(new MyProcessor())
- .to("mock:line");</code></pre> </div> </div> <div class="paragraph"> <p>What would happen is that in case there is an exception thrown during splitting then the error handler will kick in (yes error handling still applies for the sub messages).</p> </div> <div class="paragraph"> <p>The error handler in this example is configured to retry up till 3 times. And when a split message fails all redelivery attempts (its exhausted), then this message is <strong>not</strong> moved into that d [...]
+ .to("mock:line");</code></pre> </div> </div> <div class="paragraph"> <p>What would happen is that in case there is an exception thrown during splitting, then the error handler will kick in (yes error handling still applies for the sub messages).</p> </div> <div class="paragraph"> <p>The error handler in this example is configured to retry up till three times. And when a split message fails all redelivery attempts (its exhausted), then this message is <strong>not</strong> moved into t [...]
<!-- define error handler as DLC, with use original message enabled -->
<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="mock:dead" useOriginalMessage="true">
@@ -282,4 +282,4 @@ from("direct:line")
<to uri="mock:line"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Because <a href="multicast-eip.html" class="xref page">Multicast</a> EIP is baseline for the <a href="recipientList-eip.html" class="xref page">Recipient List</a> and Split EIPs, then you can find more information in those EIPs about features that is also available with Split [...]
\ No newline at end of file
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Because <a href="multicast-eip.html" class="xref page">Multicast</a> EIP is a baseline for the <a href="recipientList-eip.html" class="xref page">Recipient List</a> and Split EIPs, then you can find more information in those EIPs about features that are also available with Sp [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/step-eip.html b/components/4.4.x/eips/step-eip.html
index d62f74c9..42843a24 100644
--- a/components/4.4.x/eips/step-eip.html
+++ b/components/4.4.x/eips/step-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Step :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/step-eip.html"> <meta name="description" content="Routes the message to a sequence of processors which is grouped together as one logical name"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Step :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/step-eip.html"> <meta name="description" content="Routes the message to a sequence of processors which is grouped together as one logical name"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
.step("foo")
.bean("foo")
.to("activemq:OutputQueue")
.end()
- .to("direct:bar");</code></pre> </div> </div> <div class="paragraph"> <p>As you can see this groups together <code>.bean("foo")</code> and <code>.to("activemq:OutputQueue")</code> into a logical unit with the name foo.</p> </div> <div class="paragraph"> <p>In XML you use the <code><step></code> tag:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("direct:bar");</code></pre> </div> </div> <div class="paragraph"> <p>As you can see this groups together <code>.bean("foo")</code> and <code>.to("activemq:OutputQueue")</code> into a logical unit with the name foo.</p> </div> <div class="paragraph"> <p>In XML, you use the <code><step></code> tag:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:SomeQueue"/>
<step id="foo">
<bean ref="foo"/>
@@ -28,4 +28,4 @@
<bean ref="something"/>
<to uri="log:Something"/>
</step>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_jmx_management_of_step_eip"><a class="anchor" href="#_jmx_management_of_step_eip"></a>JMX Management of Step EIP</h3> <div class="paragraph"> <p>Each Step EIP is registered in JMX under the <code>type=steps</code> tree, which allows to monitor all the steps in the CamelContext. It is also possible to dump statistics in XML format by the <code>dumpStepStatsAsXml</code> operations on the <code>Camel [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_jmx_management_of_step_eip"><a class="anchor" href="#_jmx_management_of_step_eip"></a>JMX Management of Step EIP</h3> <div class="paragraph"> <p>Each Step EIP is registered in JMX under the <code>type=steps</code> tree, which allows monitoring all the steps in the CamelContext. It is also possible to dump statistics in XML format by the <code>dumpStepStatsAsXml</code> operations on the <code>Camel [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/sticky-eip.html b/components/4.4.x/eips/sticky-eip.html
index 0782230d..6f3581aa 100644
--- a/components/4.4.x/eips/sticky-eip.html
+++ b/components/4.4.x/eips/sticky-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sticky :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sticky-eip.html"> <meta name="description" content="Sticky load balancing using an expression to calculate a correlation key to perform the sticky load balancing."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sticky :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sticky-eip.html"> <meta name="description" content="Sticky load balancing using an expression to calculate a correlation key to perform the sticky load balancing."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../. [...]
.loadBalance().sticky(header("myKey"))
.to("seda:x")
.to("seda:y")
diff --git a/components/4.4.x/eips/stop-eip.html b/components/4.4.x/eips/stop-eip.html
index 6b9e9465..7d0b1888 100644
--- a/components/4.4.x/eips/stop-eip.html
+++ b/components/4.4.x/eips/stop-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Stop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/stop-eip.html"> <meta name="description" content="Stops the processing of the current message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Stop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/stop-eip.html"> <meta name="description" content="Stops the processing of the current message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.choice()
.when(body().contains("Hello")).to("mock:hello")
.when(body().contains("Bye")).to("mock:bye").stop()
diff --git a/components/4.4.x/eips/threads-eip.html b/components/4.4.x/eips/threads-eip.html
index bfb45ef5..a369e5f3 100644
--- a/components/4.4.x/eips/threads-eip.html
+++ b/components/4.4.x/eips/threads-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Threads :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/threads-eip.html"> <meta name="description" content="Specifies that all steps after this node are processed asynchronously"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Threads :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/threads-eip.html"> <meta name="description" content="Specifies that all steps after this node are processed asynchronously"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
.threads(5)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -16,4 +16,4 @@
<from uri="seda:a"/>
<threads poolSize="5" maxQueueSize="0"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_about_rejected_tasks"><a class="anchor" href="#_about_rejected_tasks"></a>About rejected tasks</h3> <div class="paragraph"> <p>The Threads EIP uses a thread pool which has a worker queue for tasks. When the worker queue gets full, the task is rejected.</p> </div> <div class="paragraph"> <p>You can customize how to react upon this using the <code>rejectedPolicy</code> and <code>callerRunsWhenReject [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_about_rejected_tasks"><a class="anchor" href="#_about_rejected_tasks"></a>About rejected tasks</h3> <div class="paragraph"> <p>The Threads EIP uses a thread pool which has a worker queue for tasks. When the worker queue gets full, the task is rejected.</p> </div> <div class="paragraph"> <p>You can customize how to react upon this using the <code>rejectedPolicy</code> and <code>callerRunsWhenReject [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/throttle-eip.html b/components/4.4.x/eips/throttle-eip.html
index 11db79b9..1943c157 100644
--- a/components/4.4.x/eips/throttle-eip.html
+++ b/components/4.4.x/eips/throttle-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Throttle :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/throttle-eip.html"> <meta name="description" content="Controls the rate at which messages are passed to the next node in the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Throttle :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/throttle-eip.html"> <meta name="description" content="Controls the rate at which messages are passed to the next node in the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
.throttle(3).timePeriodMillis(10000)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -14,7 +14,7 @@
constant: 3
timePeriodMillis: 10000
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To use 10-seconds window we set the <code>timePeriodMillis</code> to ten-thousand. The default value is 1000 (i.e. 1 second), meaning that setting just <code>throttle(3)</code> has the effect of setting the maximum number of requests per second.</p> </div> <div class="paragraph"> <p>To throttle by 50 requests per second, would look like this:</p> </div> <div id="_tabs_2" class="openblock [...]
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To use 10-seconds window, we set the <code>timePeriodMillis</code> to ten-thousand. The default value is 1000 (i.e., 1 second), meaning that setting just <code>throttle(3)</code> has the effect of setting the maximum number of requests per second.</p> </div> <div class="paragraph"> <p>To throttle by 50 requests per second, it would look like this:</p> </div> <div id="_tabs_2" class="open [...]
.throttle(50)
.to("seda:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -29,7 +29,7 @@
expression:
constant: 50
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamically_changing_maximum_requests_per_period"><a class="anchor" href="#_dynamically_changing_maximum_requests_per_period"></a>Dynamically changing maximum requests per period</h3> <div class="paragraph"> <p>The Throttler uses an <a href="../../../manual/expression.html" class="xref page">Expression</a> to configure the number of requests. In all the examples from above, we used a < [...]
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamically_changing_maximum_requests_per_period"><a class="anchor" href="#_dynamically_changing_maximum_requests_per_period"></a>Dynamically changing maximum requests per period</h3> <div class="paragraph"> <p>The Throttler uses an <a href="../../../manual/expression.html" class="xref page">Expression</a> to configure the number of requests. In all the examples from above, we used a < [...]
.throttle(header("throttleValue")).timePeriodMillis(500)
.to("seda:b")</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -100,7 +100,7 @@
correlationExpression:
header: region
- to:
- uri: seda:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above messages are throttled by the header with name region. So suppose there are regions for US, EMEA, and ASIA, then we have three different groups, that each are throttled by 100 messages per second.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_throttling_modes"><a class="anchor" href="#_throttling_modes"></a>Throttling Modes</h2> <div class="sectionbody"> <d [...]
+ uri: seda:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, messages are throttled by the header with name region. So suppose there are regions for US, EMEA, and ASIA. Then we have three different groups that each are throttled by 100 messages per second.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_throttling_modes"><a class="anchor" href="#_throttling_modes"></a>Throttling Modes</h2> <div class="sectionbody"> <d [...]
.throttle(3).mode("ConcurrentRequests")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
diff --git a/components/4.4.x/eips/to-eip.html b/components/4.4.x/eips/to-eip.html
index be94e2a3..ea5378c7 100644
--- a/components/4.4.x/eips/to-eip.html
+++ b/components/4.4.x/eips/to-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/to-eip.html"> <meta name="description" content="Sends the message to a static endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/to-eip.html"> <meta name="description" content="Sends the message to a static endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:messages/foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/4.4.x/eips/toD-eip.html b/components/4.4.x/eips/toD-eip.html
index f8478f98..a6a6add5 100644
--- a/components/4.4.x/eips/toD-eip.html
+++ b/components/4.4.x/eips/toD-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To D :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/toD-eip.html"> <meta name="description" content="Sends the message to a dynamic endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To D :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/toD-eip.html"> <meta name="description" content="Sends the message to a dynamic endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
.toD("${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="${header.foo}"/>
@@ -6,22 +6,22 @@
.toD("mock:${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="mock:${header.foo}"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above we compute the dynamic endpoint with a prefix "mock:" and then the header foo is appended. So for example if the header foo has value order, then the endpoint is computed as "mock:order".</p> </div> <div class="sect2"> <h3 id="_using_other_languages_with_tod"><a class="anchor" href="#_using_other_languages_with_tod"></a>Using other languages with toD</h3> <div class="paragraph"> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, we compute the dynamic endpoint with a prefix "mock:" and then the header foo is appended. So, for example, if the header foo has value order, then the endpoint is computed as "mock:order".</p> </div> <div class="sect2"> <h3 id="_using_other_languages_with_tod"><a class="anchor" href="#_using_other_languages_with_tod"></a>Using other languages with toD</h3> <div class="paragrap [...]
.toD("language:xpath:/order/@uri");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="language:xpath:/order/@uri"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_avoid_creating_endless_dynamic_endpoints_which_takes_up_resources"><a class="anchor" href="#_avoid_creating_endless_dynamic_endpoints_which_takes_up_resources"></a>Avoid creating endless dynamic endpoints which takes up resources</h3> <div class="paragraph"> <p>When using dynamic computed endpoints with <code>toD</code> then you may compute a lot of dynamic endpoints, which results in an ov [...]
- .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>In the example above then the parameter <code>userid</code> is dynamic computed, and would result in one instance of endpoint and producer for each different userid. To avoid having too many dynamic endpoints you can configure <code>toD</code> to reduce its cache size, for example to use a cache size of 10:</p> </div> <div id="_tabs_4" class="openblock tabs is-sync is- [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_avoid_creating_endless_dynamic_endpoints_that_take_up_resources"><a class="anchor" href="#_avoid_creating_endless_dynamic_endpoints_that_take_up_resources"></a>Avoid creating endless dynamic endpoints that take up resources</h3> <div class="paragraph"> <p>When using dynamic computed endpoints with <code>toD</code> then you may compute a lot of dynamic endpoints, which results in an overhead [...]
+ .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>In the example above then the parameter <code>userid</code> is dynamically computed, and would result in one instance of endpoint and producer for each different userid. To avoid having too many dynamic endpoints you can configure <code>toD</code> to reduce its cache size, for example, to use a cache size of 10:</p> </div> <div id="_tabs_4" class="openblock tabs is-syn [...]
.toD("http:myloginserver:8080/login?userid=${header.userName}", 10);</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:login"/>
<toD uri="http:myloginserver:8080/login?userid=${header.userName}" cacheSize="10"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> this will only reduce the endpoint cache of the <code>toD</code> that has a chance of being reused in case a message is routed with the same <code>userName</code> header. Therefore, reducing the cache size will not solve the <em>endless dynamic endpoin [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> this will only reduce the endpoint cache of the <code>toD</code> that has a chance of being reused in case a message is routed with the same <code>userName</code> header. Therefore, reducing the cache size will not solve the <em>endless dynamic endpoin [...]
.setHeader(Exchange.HTTP_PATH, constant("/login"))
.setHeader(Exchange.HTTP_QUERY, simple("userid=${header.userName}"))
- .toD("http:myloginserver:8080");</code></pre> </div> </div> <div class="paragraph"> <p>However, you can use optimised components for <code>toD</code> that can <em>solve</em> this out of the box, as documented next.</p> </div> </div> </div> <div class="sect2"> <h3 id="_using_optimised_components_with_tod"><a class="anchor" href="#_using_optimised_components_with_tod"></a>Using optimised components with toD</h3> <div class="paragraph"> <p>A better solution would be if the HTTP component [...]
- .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>Will essentially be optimised to (pseudo route):</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:login")
+ .toD("http:myloginserver:8080");</code></pre> </div> </div> <div class="paragraph"> <p>However, you can use optimized components for <code>toD</code> that can <em>solve</em> this out of the box, as documented next.</p> </div> </div> </div> <div class="sect2"> <h3 id="_using_optimized_components_with_tod"><a class="anchor" href="#_using_optimized_components_with_tod"></a>Using optimized components with toD</h3> <div class="paragraph"> <p>A better solution would be if the HTTP component [...]
+ .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>It Will essentially be optimized to (pseudo route):</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:login")
.setHeader(Exchange.HTTP_PATH, expression("/login"))
.setHeader(Exchange.HTTP_QUERY, expression("userid=${header.userName}"))
.toD("http:myloginserver:8080")
.removeHeader(Exchange.HTTP_PATH)
- .removeHeader(Exchange.HTTP_QUERY);</code></pre> </div> </div> <div class="paragraph"> <p>Where <em>expression</em> will be evaluated dynamically. Notice how the uri in <code>toD</code> is now static (<code>http:myloginserver:8080</code>). This optimisation allows Camel to reuse the same endpoint and its associated producer for all dynamic variations. This yields much lower resource overhead as the same http producer will be used for all the different variations of userid’s.</p> [...]
\ No newline at end of file
+ .removeHeader(Exchange.HTTP_QUERY);</code></pre> </div> </div> <div class="paragraph"> <p>Where <em>expression</em> will be evaluated dynamically. Notice how the uri in <code>toD</code> is now static (<code>http:myloginserver:8080</code>). This optimization allows Camel to reuse the same endpoint and its associated producer for all dynamic variations. This yields much lower resource overhead as the same http producer will be used for all the different variations of <code>userids</code> [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/topic-eip.html b/components/4.4.x/eips/topic-eip.html
index 0fc364d0..56c47af5 100644
--- a/components/4.4.x/eips/topic-eip.html
+++ b/components/4.4.x/eips/topic-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/topic-eip.html"> <meta name="description" content="Topic which sends to all destinations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/topic-eip.html"> <meta name="description" content="Topic which sends to all destinations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
.loadBalance().topic()
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<topic/>
@@ -11,4 +11,4 @@
<to uri="seda:y"/>
<to uri="seda:z"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" aria-label="white si [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/transactional-client.html b/components/4.4.x/eips/transactional-client.html
index ff2d81e2..46767378 100644
--- a/components/4.4.x/eips/transactional-client.html
+++ b/components/4.4.x/eips/transactional-client.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transactional Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transactional-client.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Tran [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transactional Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transactional-client.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Tran [...]
Transaction tx = tm.getTransaction();
try {
tx.begin();
@@ -6,13 +6,13 @@ try {
tx.commit();
} catch (Exception e) {
tx.rollback();
-}</code></pre> </div> </div> <div class="paragraph"> <p>You start the transaction using the <code>begin</code> method. Then you have a series of events to do whatever work needs to be done. At the end, you either <code>commit</code> or <code>rollback</code> the transaction, depending on whether an exception is thrown.</p> </div> <div class="paragraph"> <p>You may already be familiar with this principle, and transactions in Camel use the same principle at a higher level of abstraction. In [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>You start the transaction using the <code>begin</code> method. Then you have a series of events to do whatever work needs to be done. At the end, you either <code>commit</code> or <code>rollback</code> the transaction, depending on whether an exception is thrown.</p> </div> <div class="paragraph"> <p>You may already be familiar with this principle, and transactions in Camel use the same principle at a higher level of abstraction. In [...]
.transacted()
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:cheese"/>
<transacted/>
<to uri="bean:foo"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>When you specify <code><transacted/></code> in a route, Camel uses transactions for that particular route and any other routes that the message may undertake.</p> </div> <div class="paragraph"> <p>When a route is specified as <code><transacted/></code>, then under the hood Camel looks up the Spring/JTA transaction manager and uses it. This is convention over configuration.</p> </div> <div class="paragraph"> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When you specify <code><transacted/></code> in a route, Camel uses transactions for that particular route and any other routes that the message may undertake.</p> </div> <div class="paragraph"> <p>When a route is specified as <code><transacted/></code>, then under the hood Camel looks up the Spring/JTA transaction manager and uses it. This is a convention over configuration.</p> </div> < [...]
<property name="transactionManager" ref="jmsTransactionManager"/>
</bean>
@@ -24,7 +24,7 @@ try {
<bean id="txMandatory" class="org.apache.camel.spring.spi.SpringTransactionPolicy">
<property name="transactionManager" ref="jmsTransactionManager"/>
<property name="propagationBehaviorName" value="PROPAGATION_REQUIRES_MANDATORY"/>
-</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we have routes, where each of the route use their different policy:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
+</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we have routes where each of the routes uses their different policy:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="activemq:queue:inbox"/>
<transacted ref="txRequired"/>
@@ -44,7 +44,7 @@ try {
<transacted ref="txMandatory"/>
<bean ref="orderService" method="insertOrder"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how the ref attribute on <code><transacted></code> refers to the corresponding bean id of the transaction policy.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <strong>Keep it simple:</strong> Although you can use multiple propagation behaviors with multiple routes in Camel, do [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how the ref attribute on <code><transacted></code> refers to the corresponding bean id of the transaction policy.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <strong>Keep it simple:</strong> Although you can use multiple propagation behaviors with multiple routes in Camel, do [...]
<jdbc:embedded-database id="dataSource" type="DERBY">
<jdbc:script location="classpath:sql/init.sql" />
</jdbc:embedded-database>
@@ -58,13 +58,13 @@ try {
<!-- bean for book business logic -->
<bean id="bookService" class="org.apache.camel.spring.interceptor.BookService">
<property name="dataSource" ref="dataSource"/>
-</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we are ready to define our Camel routes. We have two routes: 1 for success conditions, and 1 for a forced rollback condition.</p> </div> <div class="paragraph"> <p>This is after all based on a unit test. Notice that we mark each route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-x [...]
+</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we are ready to define our Camel routes. We have two routes: 1 for success conditions, and 1 for a forced rollback condition.</p> </div> <div class="paragraph"> <p>This is, after all, based on a unit test. Notice that we mark each route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language [...]
<route>
<from uri="direct:okay"/>
- <!-- we mark this route as transacted. Camel will lookup the spring transaction manager
+ <!-- we mark this route as transacted. Camel will look up the spring transaction manager
and use it by default. We can optimally pass in arguments to specify a policy to use
- that is configured with a spring transaction manager of choice. However Camel supports
+ that is configured with a spring transaction manager of choice. However, Camel supports
convention over configuration as we can just use the defaults out of the box and Camel
that suites in most situations -->
<transacted/>
@@ -92,7 +92,7 @@ try {
<bean ref="bookService"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>That is all that is needed to configure a Camel route as being transacted. Just remember to use <code><transacted/></code>. The rest is standard Spring XML to set up the transaction manager.</p> </div> </div> </div> <div class="sect1"> <h2 id="_transaction_example_with_jms"><a class="anchor" href="#_transaction_example_with_jms"></a>Transaction example with JMS</h2> <div class="sectionbody"> <div class="par [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>That is all that is needed to configure a Camel route as being transacted. Remember to use <code><transacted/></code>. The rest is standard Spring XML to set up the transaction manager.</p> </div> </div> </div> <div class="sect1"> <h2 id="_transaction_example_with_jms"><a class="anchor" href="#_transaction_example_with_jms"></a>Transaction example with JMS</h2> <div class="sectionbody"> <div class="paragrap [...]
<bean id="poolConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop">
<property name="maxConnections" value="8"/>
<property name="connectionFactory" ref="jmsConnectionFactory"/>
@@ -112,9 +112,9 @@ try {
<property name="connectionFactory" ref="poolConnectionFactory"/>
<!-- define the jms consumer/producer as transacted -->
<property name="transacted" value="true"/>
- <!-- setup the transaction manager to use -->
- <!-- if not provided then Camel will automatic use a JmsTransactionManager, however if you
- for instance use a JTA transaction manager then you must configure it -->
+ <!-- set up the transaction manager to use -->
+ <!-- if not provided, then Camel will automatically use a JmsTransactionManager, however, if you
+ for instance use a JTA transaction manager, then you must configure it -->
<property name="transactionManager" ref="jmsTransactionManager"/>
</bean></code></pre> </div> </div> <div class="paragraph"> <p>And then we configure our routes. Notice that all we have to do is mark the route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
diff --git a/components/4.4.x/eips/transform-eip.html b/components/4.4.x/eips/transform-eip.html
index 11e6b8bd..97315265 100644
--- a/components/4.4.x/eips/transform-eip.html
+++ b/components/4.4.x/eips/transform-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transform :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transform-eip.html"> <meta name="description" content="Transforms the message body based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transform :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transform-eip.html"> <meta name="description" content="Transforms the message body based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
@@ -25,4 +25,4 @@
- transform:
to-type: myDataType
- to:
- uri: log:hello</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The example above defines the <a href="#">Transform</a> EIP that uses a target data type <code>myDataType</code>. The given data type may reference a <a href="../../../manual/transformer.html" class="xref page">Transformer</a> that is able to handle the data type transformation.</p> </div> <div class="paragraph"> <p>Users may also specify <code>fromType</code> in order to reference a very [...]
\ No newline at end of file
+ uri: log:hello</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The example above defines the <a href="#">Transform</a> EIP that uses a target data type <code>myDataType</code>. The given data type may reference a <a href="../../../manual/transformer.html" class="xref page">Transformer</a> that is able to handle the data type transformation.</p> </div> <div class="paragraph"> <p>Users may also specify <code>fromType</code> in order to reference a very [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/unmarshal-eip.html b/components/4.4.x/eips/unmarshal-eip.html
index 08c6ac61..ea5cf840 100644
--- a/components/4.4.x/eips/unmarshal-eip.html
+++ b/components/4.4.x/eips/unmarshal-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Unmarshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/unmarshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Unmarshal EIP"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Unmarshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/unmarshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Unmarshal EIP"> <m [...]
.unmarshal().jaxb()
.to("bean:validateOrder")
.marshal().jaxb()
@@ -18,7 +18,7 @@
- marshal:
jaxb: {}
- to:
- uri: jms:queue:order</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_allow_null_body"><a class="anchor" href="#_allow_null_body"></a>Allow Null Body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes, there are situations where <code>null</code> can be a normal value for the body of a message but <code>null</code> by default is not an accepted value to unmarshal. To workaround that, it is possible to allow <code>null</ [...]
+ uri: jms:queue:order</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_allow_null_body"><a class="anchor" href="#_allow_null_body"></a>Allow Null Body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes, there are situations where <code>null</code> can be a normal value for the body of a message but <code>null</code> by default is not an accepted value to unmarshal. To work around that, it is possible to allow <code>null< [...]
.unmarshal().allowNullBody().jaxb()
// End of the route</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><!-- Beginning of the route -->
<unmarshal allowNullBody="true"><jaxb/></unmarshal>
diff --git a/components/4.4.x/eips/validate-eip.html b/components/4.4.x/eips/validate-eip.html
index 691f5225..ec0eb194 100644
--- a/components/4.4.x/eips/validate-eip.html
+++ b/components/4.4.x/eips/validate-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Validate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/validate-eip.html"> <meta name="description" content="Validates a message based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Validate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/validate-eip.html"> <meta name="description" content="Validates a message based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
.validate(body(String.class).regex("^\\w{10}\\,\\d{2}\\,\\w{24}$"))
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -17,7 +17,7 @@
parameters:
method: processLine</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Validate EIP is not limited to the message body. You can also validate the message header.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> <li id="_tabs_2_yaml" class="tab"> <p>YAML</p> </li> </ul> </di [...]
.validate(header("bar").isGreaterThan(100))
- .to("bean:myServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also use validate together with the <a href="../languages/simple-language.html" class="xref page">Simple</a> language.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
+ .to("bean:myServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also use <code>validate</code> together with the <a href="../languages/simple-language.html" class="xref page">Simple</a> language.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
.validate(simple("${header.bar} > 100"))
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
diff --git a/components/4.4.x/eips/weighted-eip.html b/components/4.4.x/eips/weighted-eip.html
index 9a635521..16301a99 100644
--- a/components/4.4.x/eips/weighted-eip.html
+++ b/components/4.4.x/eips/weighted-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Weighted :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/weighted-eip.html"> <meta name="description" content="Uses a weighted load distribution ratio for each server with respect to others."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Weighted :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/weighted-eip.html"> <meta name="description" content="Uses a weighted load distribution ratio for each server with respect to others."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
.loadBalance().weighted(false, "4,2,1")
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<weighted distributionRatio="4 2 1"/>
@@ -11,4 +11,4 @@
<to uri="seda:y"/>
<to uri="seda:z"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" aria-label="white si [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" [...]
\ No newline at end of file
diff --git a/components/4.4.x/eips/wireTap-eip.html b/components/4.4.x/eips/wireTap-eip.html
index 0537e7f9..7dc0ab8e 100644
--- a/components/4.4.x/eips/wireTap-eip.html
+++ b/components/4.4.x/eips/wireTap-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wire Tap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/wireTap-eip.html"> <meta name="description" content="Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wire Tap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/wireTap-eip.html"> <meta name="description" content="Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
.to("log:foo")
.wireTap("direct:tap")
.to("log:result");
@@ -29,7 +29,7 @@ from("direct:tap")
uri: direct:tap
steps:
- to:
- uri: log:log</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_wire_tapping_with_dynamic_uris"><a class="anchor" href="#_wire_tapping_with_dynamic_uris"></a>Wire tapping with dynamic URIs</h3> <div class="paragraph"> <p>For example to wire tap to a dynamic URI, then the URI uses the <a href="../languages/simple-language.html" class="xref page">Simple</a> language that allows to construct dynamic URIs.</p> </div> <div class="paragraph"> <p>For e [...]
+ uri: log:log</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_wire_tapping_with_dynamic_uris"><a class="anchor" href="#_wire_tapping_with_dynamic_uris"></a>Wire tapping with dynamic URIs</h3> <div class="paragraph"> <p>For example, to wire tap to a dynamic URI, then the URI uses the <a href="../languages/simple-language.html" class="xref page">Simple</a> language that allows to construct dynamic URIs.</p> </div> <div class="paragraph"> <p>For [...]
.wireTap("jms:queue:backup-${header.id}")
.to("bean:doSomething");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -41,4 +41,4 @@ from("direct:tap")
- wireTap:
uri: jms:queue:backup-${header.id}
- to:
- uri: bean:doSomething</code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_wiretap_thread_pools"><a class="anchor" href="#_wiretap_thread_pools"></a>WireTap Thread Pools</h2> <div class="sectionbody"> <div class="paragraph"> <p>The WireTap uses a thread pool to process the tapped messages. This thread pool will by default use the settings detailed at <a href="../../../manual/threading-model.html" class="xref page">Threading Model</a> [...]
\ No newline at end of file
+ uri: bean:doSomething</code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_wiretap_thread_pools"><a class="anchor" href="#_wiretap_thread_pools"></a>WireTap Thread Pools</h2> <div class="sectionbody"> <div class="paragraph"> <p>The WireTap uses a thread pool to process the tapped messages. This thread pool will by default use the settings detailed in the <a href="../../../manual/threading-model.html" class="xref page">Threading Model [...]
\ No newline at end of file
diff --git a/components/next/activemq-component.html b/components/next/activemq-component.html
index 97aaf9bd..d2a07599 100644
--- a/components/next/activemq-component.html
+++ b/components/next/activemq-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ActiveMQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/activemq-component.html"> <meta name="description" content="Send messages to (or consume from) Apache ActiveMQ. This component extends the Camel JMS component."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/s [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ActiveMQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/activemq-component.html"> <meta name="description" content="Send messages to (or consume from) Apache ActiveMQ. This component extends the Camel JMS component."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/s [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-activemq</artifactId>
<version>x.x.x</version>
diff --git a/components/next/amqp-component.html b/components/next/amqp-component.html
index 8dd1420f..fed044cd 100644
--- a/components/next/amqp-component.html
+++ b/components/next/amqp-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AMQP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/amqp-component.html"> <meta name="description" content="Messaging with AMQP protocol using Apache QPid Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AMQP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/amqp-component.html"> <meta name="description" content="Messaging with AMQP protocol using Apache QPid Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-amqp</artifactId>
<version>${camel.version}</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/arangodb-component.html b/components/next/arangodb-component.html
index 0206a4fb..1d49784d 100644
--- a/components/next/arangodb-component.html
+++ b/components/next/arangodb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ArangoDb :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/arangodb-component.html"> <meta name="description" content="Perform operations on ArangoDb when used as a Document Database, or as a Graph Database"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ArangoDb :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/arangodb-component.html"> <meta name="description" content="Perform operations on ArangoDb when used as a Document Database, or as a Graph Database"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-arangodb</artifactId>
<version>x.x.x</version>
diff --git a/components/next/as2-component.html b/components/next/as2-component.html
index c53f0294..503edf86 100644
--- a/components/next/as2-component.html
+++ b/components/next/as2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AS2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/as2-component.html"> <meta name="description" content="Transfer data securely and reliably using the AS2 protocol (RFC4130)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AS2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/as2-component.html"> <meta name="description" content="Transfer data securely and reliably using the AS2 protocol (RFC4130)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-as2</artifactId>
<version>x.x.x</version>
diff --git a/components/next/asterisk-component.html b/components/next/asterisk-component.html
index 05c9cbdc..c6a8b9ff 100644
--- a/components/next/asterisk-component.html
+++ b/components/next/asterisk-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Asterisk :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/asterisk-component.html"> <meta name="description" content="Interact with Asterisk PBX Server (VoIP)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Asterisk :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/asterisk-component.html"> <meta name="description" content="Interact with Asterisk PBX Server (VoIP)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-asterisk</artifactId>
<version>x.x.x</version>
diff --git a/components/next/atmosphere-websocket-component.html b/components/next/atmosphere-websocket-component.html
index 4af1213f..7755a777 100644
--- a/components/next/atmosphere-websocket-component.html
+++ b/components/next/atmosphere-websocket-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Atmosphere Websocket :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/atmosphere-websocket-component.html"> <meta name="description" content="Expose WebSocket endpoints using the Atmosphere framework."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Atmosphere Websocket :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/atmosphere-websocket-component.html"> <meta name="description" content="Expose WebSocket endpoints using the Atmosphere framework."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-atmosphere-websocket</artifactId>
<version>x.x.x</version>
diff --git a/components/next/atom-component.html b/components/next/atom-component.html
index 9ae518e4..da6f6278 100644
--- a/components/next/atom-component.html
+++ b/components/next/atom-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Atom :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/atom-component.html"> <meta name="description" content="Poll Atom RSS feeds."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta proper [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Atom :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/atom-component.html"> <meta name="description" content="Poll Atom RSS feeds."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta proper [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-atom</artifactId>
<version>x.x.x</version>
diff --git a/components/next/avro-component.html b/components/next/avro-component.html
index 2343917d..1f991850 100644
--- a/components/next/avro-component.html
+++ b/components/next/avro-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro RPC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/avro-component.html"> <meta name="description" content="Produce or consume Apache Avro RPC services."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro RPC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/avro-component.html"> <meta name="description" content="Produce or consume Apache Avro RPC services."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-avro-rpc</artifactId>
<version>x.x.x</version>
diff --git a/components/next/aws-bedrock-component.html b/components/next/aws-bedrock-component.html
new file mode 100644
index 00000000..bcbbd511
--- /dev/null
+++ b/components/next/aws-bedrock-component.html
@@ -0,0 +1,69 @@
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Bedrock :: Apache Camel</title> <meta name="description" content="Invoke Model of AWS Bedrock service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="AWS Bedrock"> <meta property="og:site_name" co [...]
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "inputText": {
+ "type": "string"
+ },
+ "textGenerationConfig": {
+ "type": "object",
+ "properties": {
+ "maxTokenCount": {
+ "type": "integer"
+ },
+ "stopSequences": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "temperature": {
+ "type": "integer"
+ },
+ "topP": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "maxTokenCount",
+ "stopSequences",
+ "temperature",
+ "topP"
+ ]
+ }
+ },
+ "required": [
+ "inputText",
+ "textGenerationConfig"
+ ]
+}</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_bedrock_producer_operations"><a class="anchor" href="#_bedrock_producer_operations"></a>Bedrock Producer operations</h3> <div class="paragraph"> <p>Camel-AWS Bedrock component provides the following operation on the producer side:</p> </div> <div class="ulist"> <ul> <li> <p>invokeModel</p> </li> </ul> </div> </div> </div> </div> <div class="sect1"> <h2 id="_producer_examples"><a class="anchor" href="#_producer_examples"></a [...]
+ .to("aws-bedrock://test?bedrockRuntimeClient=#amazonBedrockRuntimeClient&operation=invokeModel&modelId="
+ + BedrockModels.TITAN_TEXT_EXPRESS_V1.model))</code></pre> </div> </div> <div class="paragraph"> <p>and you can the send to the direct endpoint something like</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> final Exchange result = template.send("direct:invoke", exchange -> {
+ ObjectMapper mapper = new ObjectMapper();
+ ObjectNode rootNode = mapper.createObjectNode();
+ rootNode.put("inputText",
+ "User: Generate synthetic data for daily product sales in various categories - include row number, product name, category, date of sale and price. Produce output in JSON format. Count records and ensure there are no more than 5.");
+
+ ArrayNode stopSequences = mapper.createArrayNode();
+ stopSequences.add("User:");
+ ObjectNode childNode = mapper.createObjectNode();
+ childNode.put("maxTokenCount", 1024);
+ childNode.put("stopSequences", stopSequences);
+ childNode.put("temperature", 0).put("topP", 1);
+
+ rootNode.put("textGenerationConfig", childNode);
+ exchange.getMessage().setBody(mapper.writer().writeValueAsString(rootNode));
+ exchange.getMessage().setHeader(BedrockConstants.MODEL_CONTENT_TYPE, "application/json");
+ exchange.getMessage().setHeader(BedrockConstants.MODEL_ACCEPT_CONTENT_TYPE, "application/json");
+ });</code></pre> </div> </div> <div class="paragraph"> <p>where template is a ProducerTemplate.</p> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Maven users will need to add the following dependency to their pom.xml.</p> </div> <div class="paragraph"> <p><strong>pom.xml</strong></p> </div> <div class="listingblock"> <div class="content"> <pre class [...]
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-aws-bedrock</artifactId>
+ <version>${camel-version}</version>
+</dependency></code></pre> </div> </div> <div class="paragraph"> <p>where <code>${camel-version}</code> must be replaced by the actual version of Camel.</p> </div> </div> </div> <div class="sect1"> <h2 id="_spring_boot_auto_configuration"><a class="anchor" href="#_spring_boot_auto_configuration"></a>Spring Boot Auto-Configuration</h2> <div class="sectionbody"> <div class="paragraph"> <p>When using aws-bedrock with Spring Boot make sure to use the following Maven dependency to have [...]
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-aws-bedrock-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency></code></pre> </div> </div> <div class="paragraph"> <p>The component supports 24 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">Description</th> <th class="tableblock halign-center valign-top">Default</th> <th class="tableblock halig [...]
\ No newline at end of file
diff --git a/components/next/aws-cloudtrail-component.html b/components/next/aws-cloudtrail-component.html
index 7c5030b4..add06643 100644
--- a/components/next/aws-cloudtrail-component.html
+++ b/components/next/aws-cloudtrail-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Cloudtrail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-cloudtrail-component.html"> <meta name="description" content="Consume events from Amazon Cloudtrail using AWS SDK version 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Cloudtrail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-cloudtrail-component.html"> <meta name="description" content="Consume events from Amazon Cloudtrail using AWS SDK version 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <m [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-aws-cloudtrail-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/aws-config-component.html b/components/next/aws-config-component.html
index 60093a30..958a3a34 100644
--- a/components/next/aws-config-component.html
+++ b/components/next/aws-config-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Config Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-config-component.html"> <meta name="description" content="Manage AWS Config service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Config Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-config-component.html"> <meta name="description" content="Manage AWS Config service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-aws-config-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/aws-secrets-manager-component.html b/components/next/aws-secrets-manager-component.html
index fbb67b3b..26cc92d8 100644
--- a/components/next/aws-secrets-manager-component.html
+++ b/components/next/aws-secrets-manager-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Secrets Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-secrets-manager-component.html"> <meta name="description" content="Manage secrets using AWS Secrets Manager."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Secrets Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-secrets-manager-component.html"> <meta name="description" content="Manage secrets using AWS Secrets Manager."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
export $CAMEL_VAULT_AWS_SECRET_KEY=secretKey
export $CAMEL_VAULT_AWS_REGION=region</code></pre> </div> </div> <div class="paragraph"> <p>You can also configure the credentials in the <code>application.properties</code> file such as:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">camel.vault.aws.accessKey = accessKey
camel.vault.aws.secretKey = secretKey
diff --git a/components/next/aws-summary.html b/components/next/aws-summary.html
index 4e6b9f5d..5f827fe2 100644
--- a/components/next/aws-summary.html
+++ b/components/next/aws-summary.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="AWS"> <meta property="og:site_name" co [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="AWS"> <meta property="og:site_name" co [...]
\ No newline at end of file
diff --git a/components/next/aws2-athena-component.html b/components/next/aws2-athena-component.html
index 3b1755aa..c38a4d70 100644
--- a/components/next/aws2-athena-component.html
+++ b/components/next/aws2-athena-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Athena :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-athena-component.html"> <meta name="description" content="Access AWS Athena."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Athena :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-athena-component.html"> <meta name="description" content="Access AWS Athena."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
.setBody(constant("SELECT 1"))
.to("aws2-athena://label?waitTimeout=60000&outputLocation=s3://bucket/path/")
.to("aws2-athena://label?operation=getQueryResults&outputType=StreamList")
diff --git a/components/next/aws2-cw-component.html b/components/next/aws2-cw-component.html
index 1c124b74..d37afb27 100644
--- a/components/next/aws2-cw-component.html
+++ b/components/next/aws2-cw-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS CloudWatch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-cw-component.html"> <meta name="description" content="Sending metrics to AWS CloudWatch."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS CloudWatch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-cw-component.html"> <meta name="description" content="Sending metrics to AWS CloudWatch."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
.to("aws2-cw://namespace?amazonCwClient=#client");</code></pre> </div> </div> <div class="paragraph"> <p>The <code>#client</code> refers to a <code>CloudWatchClient</code> in the Registry.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Maven users will need to add the following dependency to their pom.xml.</p> </div> <div class="paragraph"> <p><st [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws2-cw</artifactId>
diff --git a/components/next/aws2-ddb-component.html b/components/next/aws2-ddb-component.html
index 44fbe40d..0ecd939e 100644
--- a/components/next/aws2-ddb-component.html
+++ b/components/next/aws2-ddb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS DynamoDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ddb-component.html"> <meta name="description" content="Store and retrieve data from AWS DynamoDB."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS DynamoDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ddb-component.html"> <meta name="description" content="Store and retrieve data from AWS DynamoDB."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
private String accessKey = "myaccessKey";
private String secretKey = "secretKey";
diff --git a/components/next/aws2-ddbstream-component.html b/components/next/aws2-ddbstream-component.html
index fdf43ccf..fd2a0382 100644
--- a/components/next/aws2-ddbstream-component.html
+++ b/components/next/aws2-ddbstream-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS DynamoDB Streams :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ddbstream-component.html"> <meta name="description" content="Receive messages from AWS DynamoDB Stream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS DynamoDB Streams :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ddbstream-component.html"> <meta name="description" content="Receive messages from AWS DynamoDB Stream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws2-ddb</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/aws2-ec2-component.html b/components/next/aws2-ec2-component.html
index 35c09836..3c7ba4b5 100644
--- a/components/next/aws2-ec2-component.html
+++ b/components/next/aws2-ec2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Compute Cloud (EC2) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ec2-component.html"> <meta name="description" content="Manage AWS EC2 instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Compute Cloud (EC2) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ec2-component.html"> <meta name="description" content="Manage AWS EC2 instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
.setHeader(EC2Constants.IMAGE_ID, constant("ami-fd65ba94"))
.setHeader(EC2Constants.INSTANCE_TYPE, constant(InstanceType.T2Micro))
.setHeader(EC2Constants.INSTANCE_MIN_COUNT, constant("1"))
diff --git a/components/next/aws2-ecs-component.html b/components/next/aws2-ecs-component.html
index fd1758df..0ef1c959 100644
--- a/components/next/aws2-ecs-component.html
+++ b/components/next/aws2-ecs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Container Service (ECS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ecs-component.html"> <meta name="description" content="Manage AWS ECS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Container Service (ECS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ecs-component.html"> <meta name="description" content="Manage AWS ECS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
.to("aws2-ecs://test?ecsClient=#amazonEcsClient&operation=listClusters")</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_a_pojo_as_body"><a class="anchor" href="#_using_a_pojo_as_body"></a>Using a POJO as body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes building an AWS Request can be complex because of multiple options. We introduce the possibility to use a POJO as a body. In AWS ECS there are multiple operations you can submit, [...]
.setBody(ListClustersRequest.builder().maxResults(10).build())
.to("aws2-ecs://test?ecsClient=#amazonEcsClient&operation=listClusters&pojoRequest=true")</code></pre> </div> </div> <div class="paragraph"> <p>In this way, you’ll pass the request directly without the need of passing headers and options specifically related to this operation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Maven users wil [...]
diff --git a/components/next/aws2-eks-component.html b/components/next/aws2-eks-component.html
index 7a35a659..b67101a9 100644
--- a/components/next/aws2-eks-component.html
+++ b/components/next/aws2-eks-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Kubernetes Service (EKS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-eks-component.html"> <meta name="description" content="Manage AWS EKS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Elastic Kubernetes Service (EKS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-eks-component.html"> <meta name="description" content="Manage AWS EKS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
.to("aws2-eks://test?eksClient=#amazonEksClient&operation=listClusters")</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_a_pojo_as_body"><a class="anchor" href="#_using_a_pojo_as_body"></a>Using a POJO as body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes building an AWS Request can be complex because of multiple options. We introduce the possibility to use a POJO as a body. In AWS EKS there are multiple operations you can submit, [...]
.setBody(ListClustersRequest.builder().maxResults(12).build())
.to("aws2-eks://test?eksClient=#amazonEksClient&operation=listClusters&pojoRequest=true")</code></pre> </div> </div> <div class="paragraph"> <p>In this way, you’ll pass the request directly without the need of passing headers and options specifically related to this operation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Maven users wil [...]
diff --git a/components/next/aws2-eventbridge-component.html b/components/next/aws2-eventbridge-component.html
index 024d455b..c74847af 100644
--- a/components/next/aws2-eventbridge-component.html
+++ b/components/next/aws2-eventbridge-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Eventbridge :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-eventbridge-component.html"> <meta name="description" content="Send events to AWS Eventbridge cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Eventbridge :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-eventbridge-component.html"> <meta name="description" content="Send events to AWS Eventbridge cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
@Override
public void process(Exchange exchange) throws Exception {
diff --git a/components/next/aws2-iam-component.html b/components/next/aws2-iam-component.html
index 684775f6..d649d3cd 100644
--- a/components/next/aws2-iam-component.html
+++ b/components/next/aws2-iam-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Identity and Access Management (IAM) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-iam-component.html"> <meta name="description" content="Manage AWS IAM instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Identity and Access Management (IAM) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-iam-component.html"> <meta name="description" content="Manage AWS IAM instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
.setHeader(IAM2Constants.USERNAME, constant("camel"))
.to("aws2-iam://test?iamClient=#amazonIAMClient&operation=createUser")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>deleteUser: this operation will delete a user in IAM</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:deleteUser")
.setHeader(IAM2Constants.USERNAME, constant("camel"))
diff --git a/components/next/aws2-kinesis-component.html b/components/next/aws2-kinesis-component.html
index 5fc05a76..fb27896b 100644
--- a/components/next/aws2-kinesis-component.html
+++ b/components/next/aws2-kinesis-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Kinesis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kinesis-component.html"> <meta name="description" content="Consume and produce records from and to AWS Kinesis Streams."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Kinesis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kinesis-component.html"> <meta name="description" content="Consume and produce records from and to AWS Kinesis Streams."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name= [...]
.to("log:out?showAll=true");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_providing_aws_credentials"><a class="anchor" href="#_providing_aws_credentials"></a>Providing AWS Credentials</h3> <div class="paragraph"> <p>It is recommended that the credentials are obtained by using the <a href="http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html">DefaultAWSCredentialsProviderChain</a> that is the default when creat [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws2-kinesis</artifactId>
diff --git a/components/next/aws2-kinesis-firehose-component.html b/components/next/aws2-kinesis-firehose-component.html
index 39125616..7176bcfe 100644
--- a/components/next/aws2-kinesis-firehose-component.html
+++ b/components/next/aws2-kinesis-firehose-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Kinesis Firehose :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kinesis-firehose-component.html"> <meta name="description" content="Produce data to AWS Kinesis Firehose streams."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Kinesis Firehose :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kinesis-firehose-component.html"> <meta name="description" content="Produce data to AWS Kinesis Firehose streams."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
.to("log:out?showAll=true");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_providing_aws_credentials"><a class="anchor" href="#_providing_aws_credentials"></a>Providing AWS Credentials</h3> <div class="paragraph"> <p>It is recommended that the credentials are obtained by using the <a href="http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html">DefaultAWSCredentialsProviderChain</a> that is the default when creat [...]
public void testFirehoseBatchRouting() throws Exception {
Exchange exchange = template.send("direct:start", ExchangePattern.InOnly, new Processor() {
diff --git a/components/next/aws2-kms-component.html b/components/next/aws2-kms-component.html
index a19461dc..6283d6e4 100644
--- a/components/next/aws2-kms-component.html
+++ b/components/next/aws2-kms-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Key Management Service (KMS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kms-component.html"> <meta name="description" content="Manage keys stored in AWS KMS instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Key Management Service (KMS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-kms-component.html"> <meta name="description" content="Manage keys stored in AWS KMS instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
.to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=listKeys")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>createKey: this operation will create a key in KMS</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:createKey")
.to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>disableKey: this operation will disable a key in KMS</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:disableKey")
.setHeader(KMS2Constants.KEY_ID, constant("123")
diff --git a/components/next/aws2-lambda-component.html b/components/next/aws2-lambda-component.html
index a2bf0fa2..1f522ae0 100644
--- a/components/next/aws2-lambda-component.html
+++ b/components/next/aws2-lambda-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Lambda :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-lambda-component.html"> <meta name="description" content="Manage and invoke AWS Lambda functions."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Lambda :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-lambda-component.html"> <meta name="description" content="Manage and invoke AWS Lambda functions."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
@Override
public void process(Exchange exchange) throws Exception {
exchange.getIn().setHeader(Lambda2Constants.RUNTIME, "nodejs6.10");
diff --git a/components/next/aws2-mq-component.html b/components/next/aws2-mq-component.html
index c789570f..944a24c9 100644
--- a/components/next/aws2-mq-component.html
+++ b/components/next/aws2-mq-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS MQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-mq-component.html"> <meta name="description" content="Send messages to AWS MQ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS MQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-mq-component.html"> <meta name="description" content="Send messages to AWS MQ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <me [...]
.to("aws2-mq://test?amazonMqClient=#amazonMqClient&operation=listBrokers")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>createBroker: this operation will create an MQ Broker in AWS</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:createBroker")
.process(new Processor() {
@Override
diff --git a/components/next/aws2-msk-component.html b/components/next/aws2-msk-component.html
index 6077849e..2fb44a2d 100644
--- a/components/next/aws2-msk-component.html
+++ b/components/next/aws2-msk-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Managed Streaming for Apache Kafka (MSK) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-msk-component.html"> <meta name="description" content="Manage AWS MSK instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Managed Streaming for Apache Kafka (MSK) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-msk-component.html"> <meta name="description" content="Manage AWS MSK instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
.to("aws2-msk://test?mskClient=#amazonMskClient&operation=listClusters")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>createCluster: this operation will create an MSK Cluster in AWS</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:createCluster")
.process(new Processor() {
@Override
diff --git a/components/next/aws2-redshift-data-component.html b/components/next/aws2-redshift-data-component.html
index 3374b8f5..abdecdb1 100644
--- a/components/next/aws2-redshift-data-component.html
+++ b/components/next/aws2-redshift-data-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS RedshiftData :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-redshift-data-component.html"> <meta name="description" content="Perform operations on AWS Redshift using Redshift Data API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS RedshiftData :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-redshift-data-component.html"> <meta name="description" content="Perform operations on AWS Redshift using Redshift Data API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
.to("aws2-redshift-data://test?awsRedshiftDataClient=#awsRedshiftDataClient&operation=listDatabases")</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_a_pojo_as_body"><a class="anchor" href="#_using_a_pojo_as_body"></a>Using a POJO as body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes building an AWS Request can be complex because of multiple options. We introduce the possibility to use a POJO as body. In AWS Redshift Data there ar [...]
.setBody(ListDatabases.builder().database("database1").build())
.to("aws2-redshift-data://test?awsRedshiftDataClient=#awsRedshiftDataClient&operation=listDatabases&pojoRequest=true")</code></pre> </div> </div> <div class="paragraph"> <p>In this way you’ll pass the request directly without the need of passing headers and options specifically related to this operation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="pa [...]
diff --git a/components/next/aws2-s3-component.html b/components/next/aws2-s3-component.html
index 20473054..73d1d5cf 100644
--- a/components/next/aws2-s3-component.html
+++ b/components/next/aws2-s3-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS S3 Storage Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-s3-component.html"> <meta name="description" content="Store and retrieve objects from AWS S3 Storage Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS S3 Storage Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-s3-component.html"> <meta name="description" content="Store and retrieve objects from AWS S3 Storage Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
.to("file:/var/downloaded");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_message_headers"><a class="anchor" href="#_message_headers"></a>Message Headers</h2> <div class="sectionbody"> <div class="paragraph"> <p>The AWS S3 Storage Service component supports 30 message header(s), which is/are listed below:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th cl [...]
.to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_use_kms_with_the_s3_component"><a class="anchor" href="#_use_kms_with_the_s3_component"></a>Use KMS with the S3 component</h3> <div class="paragraph"> <p>To use AWS KMS to encrypt/decrypt data by using AWS infrastructure, you can use the options introduced in 2.21.x like in the following example</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="lang [...]
.setHeader(AWS2S3Constants.KEY, constant("testFile"))
diff --git a/components/next/aws2-ses-component.html b/components/next/aws2-ses-component.html
index a23eeeea..2a2e45c3 100644
--- a/components/next/aws2-ses-component.html
+++ b/components/next/aws2-ses-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Email Service (SES) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ses-component.html"> <meta name="description" content="Send e-mails through AWS SES service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Email Service (SES) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-ses-component.html"> <meta name="description" content="Send e-mails through AWS SES service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
.to("aws2-ses://example@example.com?amazonSESClient=#client");</code></pre> </div> </div> <div class="paragraph"> <p>The <code>#client</code> refers to a <code>SesClient</code> in the Registry.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_examples"><a class="anchor" href="#_examples"></a>Examples</h2> <div class="sectionbody"> <div class="sect2"> <h3 id="_producer_examples"><a class="anchor" href="#_producer_examples"></a>Producer Examples</h3> <div class="listingblock"> [...]
.setHeader(SesConstants.SUBJECT, constant("This is my subject"))
.setHeader(SesConstants.TO, constant(Collections.singletonList("to@example.com"))
diff --git a/components/next/aws2-sns-component.html b/components/next/aws2-sns-component.html
index 2edcf298..82f21fed 100644
--- a/components/next/aws2-sns-component.html
+++ b/components/next/aws2-sns-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Notification System (SNS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sns-component.html"> <meta name="description" content="Send messages to AWS Simple Notification Topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Notification System (SNS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sns-component.html"> <meta name="description" content="Send messages to AWS Simple Notification Topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
.to("aws2-sns://MyTopic?amazonSNSClient=#client");</code></pre> </div> </div> <div class="paragraph"> <p>The <code>#client</code> refers to a <code>AmazonSNS</code> in the Registry.</p> </div> </div> <div class="sect2"> <h3 id="_create_a_subscription_between_an_aws_sns_topic_and_an_aws_sqs_queue"><a class="anchor" href="#_create_a_subscription_between_an_aws_sns_topic_and_an_aws_sqs_queue"></a>Create a subscription between an AWS SNS Topic and an AWS SQS Queue</h3> <div class="paragraph" [...]
.to("aws2-sns://test-camel-sns1?amazonSNSClient=#amazonSNSClient&subscribeSNStoSQS=true&queueArn=arn:aws:sqs:eu-central-1:123456789012:test_camel");</code></pre> </div> </div> <div class="paragraph"> <p>The <code>#amazonSNSClient</code> refers to a <code>SnsClient</code> in the Registry. By specifying <code>subscribeSNStoSQS</code> to true and a <code>queueArn</code> of an existing SQS Queue, you’ll be able to subscribe your SQS Queue to your SNS Topic.</p> </div> <div clas [...]
.to(...);</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_topic_autocreation"><a class="anchor" href="#_topic_autocreation"></a>Topic Autocreation</h2> <div class="sectionbody"> <div class="paragraph"> <p>With the option <code>autoCreateTopic</code> users are able to avoid the autocreation of an SNS Topic in case it doesn’t exist. The default for this option is <code>false</code>. If set to false, any operation on a non-existent topic in AWS wonR [...]
diff --git a/components/next/aws2-sqs-component.html b/components/next/aws2-sqs-component.html
index 7b1ee2df..4b5246d4 100644
--- a/components/next/aws2-sqs-component.html
+++ b/components/next/aws2-sqs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Queue Service (SQS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sqs-component.html"> <meta name="description" content="Send and receive messages to/from AWS SQS."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Simple Queue Service (SQS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sqs-component.html"> <meta name="description" content="Send and receive messages to/from AWS SQS."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
SqsClient sqs = ...
// register the client into Camel registry
diff --git a/components/next/aws2-step-functions-component.html b/components/next/aws2-step-functions-component.html
index 5d702e3c..34d24924 100644
--- a/components/next/aws2-step-functions-component.html
+++ b/components/next/aws2-step-functions-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS StepFunctions :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-step-functions-component.html"> <meta name="description" content="Manage and invoke AWS Step functions."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS StepFunctions :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-step-functions-component.html"> <meta name="description" content="Manage and invoke AWS Step functions."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
.to("aws2-step-functions://test?awsSfnClient=#awsSfnClient&operation=createMachine")</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_using_a_pojo_as_body"><a class="anchor" href="#_using_a_pojo_as_body"></a>Using a POJO as body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes building an AWS Request can be complex because of multiple options. We introduce the possibility to use a POJO as the body. In AWS Step Functions, there are multiple [...]
.setBody(CreateStateMachineRequest.builder().name("state-machine").build())
.to("aws2-step-functions://test?awsSfnClient=#awsSfnClient&operation=createStateMachine&pojoRequest=true")</code></pre> </div> </div> <div class="paragraph"> <p>In this way, you’ll pass the request directly without the need of passing headers and options specifically related to this operation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_dependencies"><a class="anchor" href="#_dependencies"></a>Dependencies</h2> <div class="sectionbody"> <div class="paragraph"> < [...]
diff --git a/components/next/aws2-sts-component.html b/components/next/aws2-sts-component.html
index 2466c729..f6a0ad6f 100644
--- a/components/next/aws2-sts-component.html
+++ b/components/next/aws2-sts-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Security Token Service (STS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sts-component.html"> <meta name="description" content="Manage AWS STS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Security Token Service (STS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-sts-component.html"> <meta name="description" content="Manage AWS STS cluster instances."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
.setHeader(STS2Constants.ROLE_ARN, constant("arn:123"))
.setHeader(STS2Constants.ROLE_SESSION_NAME, constant("groot"))
.to("aws2-sts://test?stsClient=#amazonSTSClient&operation=assumeRole")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>getSessionToken: this operation will return a temporary session token</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:getSessionToken")
diff --git a/components/next/aws2-timestream-component.html b/components/next/aws2-timestream-component.html
index 72adf1e4..0b3cb3e9 100644
--- a/components/next/aws2-timestream-component.html
+++ b/components/next/aws2-timestream-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Timestream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-timestream-component.html"> <meta name="description" content="Write records and execute queries on AWS time-series database"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Timestream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-timestream-component.html"> <meta name="description" content="Write records and execute queries on AWS time-series database"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
.setHeader(Timestream2Constants.DATABASE_NAME, constant("testDb"))
.setHeader(Timestream2Constants.KMS_KEY_ID, constant("testKmsKey"))
.to("aws2-timestream://write:test?awsTimestreamWriteClient=#awsTimestreamWriteClient&operation=createDatabase")</code></pre> </div> </div> <div class="ulist"> <ul> <li> <p>Query Operation</p> <div class="ulist"> <ul> <li> <p>query: this operation will execute a timestream query</p> </li> </ul> </div> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:query")
diff --git a/components/next/aws2-translate-component.html b/components/next/aws2-translate-component.html
index 5085eb4c..a4d67cee 100644
--- a/components/next/aws2-translate-component.html
+++ b/components/next/aws2-translate-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Translate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-translate-component.html"> <meta name="description" content="Translate texts using AWS Translate and AWS SDK version 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS Translate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/aws2-translate-component.html"> <meta name="description" content="Translate texts using AWS Translate and AWS SDK version 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta n [...]
.setHeader(TranslateConstants.SOURCE_LANGUAGE, TranslateLanguageEnum.ITALIAN)
.setHeader(TranslateConstants.TARGET_LANGUAGE, TranslateLanguageEnum.GERMAN)
.setBody("Ciao")
diff --git a/components/next/azure-cosmosdb-component.html b/components/next/azure-cosmosdb-component.html
index bb4d850b..941e2d85 100644
--- a/components/next/azure-cosmosdb-component.html
+++ b/components/next/azure-cosmosdb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure CosmosDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-cosmosdb-component.html"> <meta name="description" content="To read and write records to the CosmosDB database on Azure cloud platform."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure CosmosDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-cosmosdb-component.html"> <meta name="description" content="To read and write records to the CosmosDB database on Azure cloud platform."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-cosmosdb</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-eventhubs-component.html b/components/next/azure-eventhubs-component.html
index 44ac216f..bbcee1a0 100644
--- a/components/next/azure-eventhubs-component.html
+++ b/components/next/azure-eventhubs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Event Hubs :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-eventhubs-component.html"> <meta name="description" content="Send and receive events to/from Azure Event Hubs using AMQP protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Event Hubs :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-eventhubs-component.html"> <meta name="description" content="Send and receive events to/from Azure Event Hubs using AMQP protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-eventhubs</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-files-component.html b/components/next/azure-files-component.html
index 9349bbc7..ade74433 100644
--- a/components/next/azure-files-component.html
+++ b/components/next/azure-files-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Files :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-files-component.html"> <meta name="description" content="Send and receive files to Azure storage file share"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Files :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-files-component.html"> <meta name="description" content="Send and receive files to Azure storage file share"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-files</artifactId>
<version>x.y.z</version>
diff --git a/components/next/azure-key-vault-component.html b/components/next/azure-key-vault-component.html
index d0171919..a76179a6 100644
--- a/components/next/azure-key-vault-component.html
+++ b/components/next/azure-key-vault-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Key Vault :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-key-vault-component.html"> <meta name="description" content="Manage secrets and keys in Azure Key Vault Service"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Key Vault :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-key-vault-component.html"> <meta name="description" content="Manage secrets and keys in Azure Key Vault Service"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-key-vault</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-servicebus-component.html b/components/next/azure-servicebus-component.html
index 457defa3..f088bb7e 100644
--- a/components/next/azure-servicebus-component.html
+++ b/components/next/azure-servicebus-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure ServiceBus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-servicebus-component.html"> <meta name="description" content="Send and receive messages to/from Azure Service Bus."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure ServiceBus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-servicebus-component.html"> <meta name="description" content="Send and receive messages to/from Azure Service Bus."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-servicebus</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-storage-blob-component.html b/components/next/azure-storage-blob-component.html
index 0b90f831..9caac18a 100644
--- a/components/next/azure-storage-blob-component.html
+++ b/components/next/azure-storage-blob-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Blob Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-blob-component.html"> <meta name="description" content="Store and retrieve blobs from Azure Storage Blob Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Blob Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-blob-component.html"> <meta name="description" content="Store and retrieve blobs from Azure Storage Blob Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-blob</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-storage-datalake-component.html b/components/next/azure-storage-datalake-component.html
index 7f4bf570..edccb603 100644
--- a/components/next/azure-storage-datalake-component.html
+++ b/components/next/azure-storage-datalake-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Data Lake Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-datalake-component.html"> <meta name="description" content="Sends and receives files to/from Azure Data Lake Storage."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Data Lake Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-datalake-component.html"> <meta name="description" content="Sends and receives files to/from Azure Data Lake Storage."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-datalake</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-storage-queue-component.html b/components/next/azure-storage-queue-component.html
index cea1ac55..92270514 100644
--- a/components/next/azure-storage-queue-component.html
+++ b/components/next/azure-storage-queue-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Queue Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-queue-component.html"> <meta name="description" content="Stores and retrieves messages to/from Azure Storage Queue."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Storage Queue Service :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-storage-queue-component.html"> <meta name="description" content="Stores and retrieves messages to/from Azure Storage Queue."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-azure-storage-queue</artifactId>
<version>x.x.x</version>
diff --git a/components/next/azure-summary.html b/components/next/azure-summary.html
index 66f0dd4d..99c054ed 100644
--- a/components/next/azure-summary.html
+++ b/components/next/azure-summary.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Azure"> <meta property="og:site_na [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/azure-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Azure"> <meta property="og:site_na [...]
\ No newline at end of file
diff --git a/components/next/bean-component.html b/components/next/bean-component.html
index 68995856..b8658533 100644
--- a/components/next/bean-component.html
+++ b/components/next/bean-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bean-component.html"> <meta name="description" content="Invoke methods of Java beans stored in Camel registry."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bean-component.html"> <meta name="description" content="Invoke methods of Java beans stored in Camel registry."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
public class MyBean {
diff --git a/components/next/bean-validator-component.html b/components/next/bean-validator-component.html
index 948e47c1..5acbe839 100644
--- a/components/next/bean-validator-component.html
+++ b/components/next/bean-validator-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean Validator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bean-validator-component.html"> <meta name="description" content="Validate the message body using the Java Bean Validation API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean Validator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bean-validator-component.html"> <meta name="description" content="Validate the message body using the Java Bean Validation API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-bean-validator</artifactId>
<version>x.y.z</version>
diff --git a/components/next/bonita-component.html b/components/next/bonita-component.html
index b54603a5..72c55060 100644
--- a/components/next/bonita-component.html
+++ b/components/next/bonita-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bonita :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bonita-component.html"> <meta name="description" content="Communicate with a remote Bonita BPM process engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bonita :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/bonita-component.html"> <meta name="description" content="Communicate with a remote Bonita BPM process engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-bonita</artifactId>
<version>x.x.x</version>
diff --git a/components/next/box-component.html b/components/next/box-component.html
index 7ff0bef1..2fe22ee4 100644
--- a/components/next/box-component.html
+++ b/components/next/box-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Box :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/box-component.html"> <meta name="description" content="Upload, download and manage files, folders, groups, collaborations, etc. on box.com."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Box :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/box-component.html"> <meta name="description" content="Upload, download and manage files, folders, groups, collaborations, etc. on box.com."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-box</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/braintree-component.html b/components/next/braintree-component.html
index b71d1d50..01ae3c59 100644
--- a/components/next/braintree-component.html
+++ b/components/next/braintree-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Braintree :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/braintree-component.html"> <meta name="description" content="Process payments using Braintree Payments."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Braintree :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/braintree-component.html"> <meta name="description" content="Process payments using Braintree Payments."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-braintree</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/browse-component.html b/components/next/browse-component.html
index 29c40d4d..d646ce06 100644
--- a/components/next/browse-component.html
+++ b/components/next/browse-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Browse :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/browse-component.html"> <meta name="description" content="Inspect the messages received on endpoints supporting BrowsableEndpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Browse :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/browse-component.html"> <meta name="description" content="Inspect the messages received on endpoints supporting BrowsableEndpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
public void inspectReceivedOrders() {
BrowsableEndpoint browse = context.getEndpoint("browse:orderReceived", BrowsableEndpoint.class);
diff --git a/components/next/caffeine-cache-component.html b/components/next/caffeine-cache-component.html
index 00aa417d..22ca0e3c 100644
--- a/components/next/caffeine-cache-component.html
+++ b/components/next/caffeine-cache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Caffeine Cache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/caffeine-cache-component.html"> <meta name="description" content="Perform caching operations using Caffeine Cache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Caffeine Cache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/caffeine-cache-component.html"> <meta name="description" content="Perform caching operations using Caffeine Cache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-caffeine</artifactId>
<version>x.x.x</version>
diff --git a/components/next/caffeine-loadcache-component.html b/components/next/caffeine-loadcache-component.html
index 74475064..aa66bb7f 100644
--- a/components/next/caffeine-loadcache-component.html
+++ b/components/next/caffeine-loadcache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Caffeine LoadCache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/caffeine-loadcache-component.html"> <meta name="description" content="Perform caching operations using Caffeine Cache with an attached CacheLoader."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/sit [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Caffeine LoadCache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/caffeine-loadcache-component.html"> <meta name="description" content="Perform caching operations using Caffeine Cache with an attached CacheLoader."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/sit [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-caffeine</artifactId>
<version>x.x.x</version>
diff --git a/components/next/chatscript-component.html b/components/next/chatscript-component.html
index a0bc7ea8..37cbc526 100644
--- a/components/next/chatscript-component.html
+++ b/components/next/chatscript-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ChatScript :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/chatscript-component.html"> <meta name="description" content="Chat with a ChatScript Server."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ChatScript :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/chatscript-component.html"> <meta name="description" content="Chat with a ChatScript Server."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
"username": "name here",
"botname": "name here",
"body": "body here"
diff --git a/components/next/chunk-component.html b/components/next/chunk-component.html
index 9caef3d3..d510858e 100644
--- a/components/next/chunk-component.html
+++ b/components/next/chunk-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Chunk :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/chunk-component.html"> <meta name="description" content="Transform messages using Chunk templating engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Chunk :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/chunk-component.html"> <meta name="description" content="Transform messages using Chunk templating engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
to("chunk:template");</code></pre> </div> </div> <div class="paragraph"> <p>To use a Chunk template to formulate a response for a message for InOut message exchanges (where there is a <code>JMSReplyTo</code> header).</p> </div> <div class="paragraph"> <p>If you want to use InOnly and consume the message and send it to another destination, you could use:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lan [...]
to("chunk:template").
to("activemq:Another.Queue");</code></pre> </div> </div> <div class="paragraph"> <p>It’s possible to specify what template the component should use dynamically via a header, so for example:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:in").
diff --git a/components/next/class-component.html b/components/next/class-component.html
index 2734f501..a3454ae1 100644
--- a/components/next/class-component.html
+++ b/components/next/class-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Class :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/class-component.html"> <meta name="description" content="Invoke methods of Java beans specified by class name."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Class :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/class-component.html"> <meta name="description" content="Invoke methods of Java beans specified by class name."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
.to("class:org.apache.camel.component.bean.MyFooBean")
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>You can also specify which method to invoke on the <code>MyFooBean</code>, for example <code>hello</code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.to("class:org.apache.camel.component.bean.MyFooBean?method=hello")
diff --git a/components/next/cm-sms-component.html b/components/next/cm-sms-component.html
index 8165b6ec..ba36487f 100644
--- a/components/next/cm-sms-component.html
+++ b/components/next/cm-sms-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CM SMS Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cm-sms-component.html"> <meta name="description" content="Send SMS messages via CM SMS Gateway."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CM SMS Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cm-sms-component.html"> <meta name="description" content="Send SMS messages via CM SMS Gateway."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-cm-sms-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/coap-component.html b/components/next/coap-component.html
index 5fbca878..f373ce7e 100644
--- a/components/next/coap-component.html
+++ b/components/next/coap-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CoAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/coap-component.html"> <meta name="description" content="Send and receive messages to/from COAP capable devices."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CoAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/coap-component.html"> <meta name="description" content="Send and receive messages to/from COAP capable devices."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-coap</artifactId>
<version>x.x.x</version>
diff --git a/components/next/cometd-component.html b/components/next/cometd-component.html
index f50df749..ef1d98bb 100644
--- a/components/next/cometd-component.html
+++ b/components/next/cometd-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CometD :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cometd-component.html"> <meta name="description" content="Offers publish/subscribe, peer-to-peer (via a server), and RPC style messaging using the CometD/Bayeux protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CometD :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cometd-component.html"> <meta name="description" content="Offers publish/subscribe, peer-to-peer (via a server), and RPC style messaging using the CometD/Bayeux protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-cometd</artifactId>
<version>x.x.x</version>
diff --git a/components/next/consul-component.html b/components/next/consul-component.html
index 2c81a679..7f47f437 100644
--- a/components/next/consul-component.html
+++ b/components/next/consul-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Consul :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/consul-component.html"> <meta name="description" content="Integrate with Consul service discovery and configuration store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Consul :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/consul-component.html"> <meta name="description" content="Integrate with Consul service discovery and configuration store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-consul</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/controlbus-component.html b/components/next/controlbus-component.html
index c3faee35..78fe5ef4 100644
--- a/components/next/controlbus-component.html
+++ b/components/next/controlbus-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Control Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/controlbus-component.html"> <meta name="description" content="Manage and monitor Camel routes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Control Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/controlbus-component.html"> <meta name="description" content="Manage and monitor Camel routes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-controlbus-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/couchbase-component.html b/components/next/couchbase-component.html
index 155c17e3..fe8dd03e 100644
--- a/components/next/couchbase-component.html
+++ b/components/next/couchbase-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Couchbase :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/couchbase-component.html"> <meta name="description" content="Query Couchbase Views with a poll strategy and/or perform various operations against Couchbase databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../.. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Couchbase :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/couchbase-component.html"> <meta name="description" content="Query Couchbase Views with a poll strategy and/or perform various operations against Couchbase databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../.. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-couchbase</artifactId>
<version>x.x.x</version>
diff --git a/components/next/couchdb-component.html b/components/next/couchdb-component.html
index e27885a7..61b9cd0a 100644
--- a/components/next/couchdb-component.html
+++ b/components/next/couchdb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CouchDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/couchdb-component.html"> <meta name="description" content="Consume changesets for inserts, updates and deletes in a CouchDB database, as well as get, save, update and delete documents from a CouchDB database."> <meta name="generator" content="Antora 3. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CouchDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/couchdb-component.html"> <meta name="description" content="Consume changesets for inserts, updates and deletes in a CouchDB database, as well as get, save, update and delete documents from a CouchDB database."> <meta name="generator" content="Antora 3. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-couchdb</artifactId>
<version>x.x.x</version>
diff --git a/components/next/cql-component.html b/components/next/cql-component.html
index 5ef50586..cc45d910 100644
--- a/components/next/cql-component.html
+++ b/components/next/cql-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cassandra CQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cql-component.html"> <meta name="description" content="Integrate with Cassandra 2.0 using the CQL3 API (not the Thrift API). Based on Cassandra Java Driver provided by DataStax."> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshe [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cassandra CQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cql-component.html"> <meta name="description" content="Integrate with Cassandra 2.0 using the CQL3 API (not the Thrift API). Based on Cassandra Java Driver provided by DataStax."> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshe [...]
NAME varchar, -- Repository name
KEY varchar, -- Message key
PRIMARY KEY (NAME, KEY)
diff --git a/components/next/cron-component.html b/components/next/cron-component.html
index 88564394..022ffe54 100644
--- a/components/next/cron-component.html
+++ b/components/next/cron-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cron-component.html"> <meta name="description" content="A generic interface for triggering events at times specified through the Unix cron syntax."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cron-component.html"> <meta name="description" content="A generic interface for triggering events at times specified through the Unix cron syntax."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-cron</artifactId>
<version>x.x.x</version>
diff --git a/components/next/crypto-component.html b/components/next/crypto-component.html
index 3bf1ef20..fa4c60a5 100644
--- a/components/next/crypto-component.html
+++ b/components/next/crypto-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Crypto (JCE) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/crypto-component.html"> <meta name="description" content="Sign and verify exchanges using the Signature Service of the Java Cryptographic Extension (JCE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/si [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Crypto (JCE) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/crypto-component.html"> <meta name="description" content="Sign and verify exchanges using the Signature Service of the Java Cryptographic Extension (JCE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/si [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-crypto</artifactId>
<version>x.x.x</version>
diff --git a/components/next/cxf-component.html b/components/next/cxf-component.html
index 4040354c..9b376961 100644
--- a/components/next/cxf-component.html
+++ b/components/next/cxf-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cxf-component.html"> <meta name="description" content="Expose SOAP WebServices using Apache CXF or connect to external WebServices using CXF WS client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cxf-component.html"> <meta name="description" content="Expose SOAP WebServices using Apache CXF or connect to external WebServices using CXF WS client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf-soap</artifactId>
<version>x.x.x</version>
diff --git a/components/next/cxfrs-component.html b/components/next/cxfrs-component.html
index a603be66..98924b2a 100644
--- a/components/next/cxfrs-component.html
+++ b/components/next/cxfrs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF-RS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cxfrs-component.html"> <meta name="description" content="Expose JAX-RS REST services using Apache CXF or connect to external REST services using CXF REST client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/s [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF-RS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/cxfrs-component.html"> <meta name="description" content="Expose JAX-RS REST services using Apache CXF or connect to external REST services using CXF REST client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/s [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf-rest</artifactId>
<version>x.x.x</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/dataformat-component.html b/components/next/dataformat-component.html
index 5db45ff4..fb3c7ca8 100644
--- a/components/next/dataformat-component.html
+++ b/components/next/dataformat-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Data Format :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformat-component.html"> <meta name="description" content="Use a Camel Data Format as a regular Camel Component."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Data Format :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformat-component.html"> <meta name="description" content="Use a Camel Data Format as a regular Camel Component."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
to("dataformat:jaxb:unmarshal?contextPath=com.acme.model").
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
diff --git a/components/next/dataformats/asn1-dataformat.html b/components/next/dataformats/asn1-dataformat.html
index 159cbd6c..4573c490 100644
--- a/components/next/dataformats/asn1-dataformat.html
+++ b/components/next/dataformats/asn1-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ASN.1 File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/asn1-dataformat.html"> <meta name="description" content="Encode and decode data structures using Abstract Syntax Notation One (ASN.1)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ASN.1 File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/asn1-dataformat.html"> <meta name="description" content="Encode and decode data structures using Abstract Syntax Notation One (ASN.1)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287 [...]
.unmarshal(asn1)
.split(bodyAs(Iterator.class)).streaming()
.to("mock:unmarshal");</code></pre> </div> </div> <div class="paragraph"> <p>In the last example, we unmarshalled a BER file payload to plain old Java Objects using Split EIP. The reason for applying Split EIP is already mentioned in the previous example. Please note and keep in mind that reason. In such example we also need to set the fully qualified name of the class or <YourObject>.class reference through data format. The important thing to note here is that your object [...]
diff --git a/components/next/dataformats/avro-dataformat.html b/components/next/dataformats/avro-dataformat.html
index 2777fcf8..c0bf6412 100644
--- a/components/next/dataformats/avro-dataformat.html
+++ b/components/next/dataformats/avro-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/avro-dataformat.html"> <meta name="description" content="Serialize and deserialize messages using Apache Avro binary data format."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/avro-dataformat.html"> <meta name="description" content="Serialize and deserialize messages using Apache Avro binary data format."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-avro</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/avroJackson-dataformat.html b/components/next/dataformats/avroJackson-dataformat.html
index 39a782f8..df92f0ad 100644
--- a/components/next/dataformats/avroJackson-dataformat.html
+++ b/components/next/dataformats/avroJackson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/avroJackson-dataformat.html"> <meta name="description" content="Marshal POJOs to Avro and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Avro Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/avroJackson-dataformat.html"> <meta name="description" content="Marshal POJOs to Avro and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name [...]
unmarshal().avro(AvroLibrary.Jackson, JsonNode.class).
to("log:info");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_configuring_the_schemaresolver"><a class="anchor" href="#_configuring_the_schemaresolver"></a>Configuring the <code>SchemaResolver</code></h2> <div class="sectionbody"> <div class="paragraph"> <p>Since Avro serialization is schema-based, this data format requires that you provide a SchemaResolver object that is able to look up the schema for each exchange that is going to be marshalled/unmarshalled.</ [...]
<groupId>org.apache.camel</groupId>
diff --git a/components/next/dataformats/barcode-dataformat.html b/components/next/dataformats/barcode-dataformat.html
index 52eeb13d..27a9538d 100644
--- a/components/next/dataformats/barcode-dataformat.html
+++ b/components/next/dataformats/barcode-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Barcode :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/barcode-dataformat.html"> <meta name="description" content="Transform strings to various 1D/2D barcode bitmap formats and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Barcode :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/barcode-dataformat.html"> <meta name="description" content="Transform strings to various 1D/2D barcode bitmap formats and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-barcode</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/base64-dataformat.html b/components/next/dataformats/base64-dataformat.html
index 0ed80cf5..5953e794 100644
--- a/components/next/dataformats/base64-dataformat.html
+++ b/components/next/dataformats/base64-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Base64 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/base64-dataformat.html"> <meta name="description" content="Encode and decode data using Base64."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Base64 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/base64-dataformat.html"> <meta name="description" content="Encode and decode data using Base64."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
<dataFormats>
<!-- for a newline character (\n), use the HTML entity notation coupled with the ASCII code. -->
<base64 lineSeparator="&#10;" id="base64withNewLine" />
diff --git a/components/next/dataformats/beanio-dataformat.html b/components/next/dataformats/beanio-dataformat.html
index c64135b7..f050f502 100644
--- a/components/next/dataformats/beanio-dataformat.html
+++ b/components/next/dataformats/beanio-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BeanIO :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/beanio-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" hre [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BeanIO :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/beanio-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" hre [...]
"org/apache/camel/dataformat/beanio/mappings.xml",
"employeeFile");
diff --git a/components/next/dataformats/bindy-dataformat.html b/components/next/dataformats/bindy-dataformat.html
index 065db12f..941ee689 100644
--- a/components/next/dataformats/bindy-dataformat.html
+++ b/components/next/dataformats/bindy-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bindy :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/bindy-dataformat.html"> <meta name="description" content="Marshal and unmarshal between POJOs and key-value pair (KVP) format using Camel Bindy"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bindy :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/bindy-dataformat.html"> <meta name="description" content="Marshal and unmarshal between POJOs and key-value pair (KVP) format using Camel Bindy"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site- [...]
public Class Order {
}</code></pre> </div> </div> <div class="paragraph"> <p><strong>case 2:separator = ';'</strong></p> </div> <div class="paragraph"> <p>Compare to the previous case, the separator here is <code>;</code> instead of <code>,</code> :</p> </div> <div class="listingblock"> <div class="content"> <pre>10; J; Pauline; M; XD12345678; Fortis Dynamic 15/15; 2500; USD; 08-01-2009</pre> </div> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="langua [...]
diff --git a/components/next/dataformats/cbor-dataformat.html b/components/next/dataformats/cbor-dataformat.html
index 4df8b569..d3e5b1c2 100644
--- a/components/next/dataformats/cbor-dataformat.html
+++ b/components/next/dataformats/cbor-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CBOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/cbor-dataformat.html"> <meta name="description" content="Unmarshal a CBOR payload to POJO and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CBOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/cbor-dataformat.html"> <meta name="description" content="Unmarshal a CBOR payload to POJO and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
.unmarshal().cbor()
.to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_cbor_options"><a class="anchor" href="#_cbor_options"></a>CBOR Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The CBOR dataformat supports 10 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign- [...]
<!-- here we define a CBOR data format with the id test, and that it should use the TestPojo as the class type when
diff --git a/components/next/dataformats/crypto-dataformat.html b/components/next/dataformats/crypto-dataformat.html
index f4095f6d..25f2cce9 100644
--- a/components/next/dataformats/crypto-dataformat.html
+++ b/components/next/dataformats/crypto-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Crypto (Java Cryptographic Extension) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/crypto-dataformat.html"> <meta name="description" content="Encrypt and decrypt messages using Java Cryptography Extension (JCE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Crypto (Java Cryptographic Extension) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/crypto-dataformat.html"> <meta name="description" content="Encrypt and decrypt messages using Java Cryptography Extension (JCE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../ [...]
CryptoDataFormat cryptoFormat = new CryptoDataFormat("DES", generator.generateKey());
diff --git a/components/next/dataformats/csv-dataformat.html b/components/next/dataformats/csv-dataformat.html
index 146bd088..c75d71f1 100644
--- a/components/next/dataformats/csv-dataformat.html
+++ b/components/next/dataformats/csv-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/csv-dataformat.html"> <meta name="description" content="Handle CSV (Comma Separated Values) payloads."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/csv-dataformat.html"> <meta name="description" content="Handle CSV (Comma Separated Values) payloads."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
body.put("foo", "abc");
body.put("bar", 123);</code></pre> </div> </div> <div class="paragraph"> <p>and this route definition:</p> </div> <div id="_tabs_1" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_1_java" class="tab"> <p>Java</p> </li> <li id="_tabs_1_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_1_java--panel" class="tabpanel" aria-labelledby="_tabs_1_java"> <div class="listingblock"> <div class="content"> <pre class="highl [...]
.marshal().csv()
diff --git a/components/next/dataformats/fastjson-dataformat.html b/components/next/dataformats/fastjson-dataformat.html
index bb21f064..8176cf80 100644
--- a/components/next/dataformats/fastjson-dataformat.html
+++ b/components/next/dataformats/fastjson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Fastjson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fastjson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Fastjson"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Fastjson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fastjson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Fastjson"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name=" [...]
marshal().json(JsonLibrary.Fastjson).
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_fastjson_options"><a class="anchor" href="#_fastjson_options"></a>Fastjson Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The JSON Fastjson dataformat supports 2 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock ha [...]
<groupId>org.apache.camel</groupId>
diff --git a/components/next/dataformats/fhirJson-dataformat.html b/components/next/dataformats/fhirJson-dataformat.html
index 19a95a84..1f5f265c 100644
--- a/components/next/dataformats/fhirJson-dataformat.html
+++ b/components/next/dataformats/fhirJson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR JSon :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fhirJson-dataformat.html"> <meta name="description" content="Marshall and unmarshall FHIR objects to/from JSON."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR JSon :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fhirJson-dataformat.html"> <meta name="description" content="Marshall and unmarshall FHIR objects to/from JSON."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-fhir-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/fhirXml-dataformat.html b/components/next/dataformats/fhirXml-dataformat.html
index a57a3d05..b9ee2d9f 100644
--- a/components/next/dataformats/fhirXml-dataformat.html
+++ b/components/next/dataformats/fhirXml-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fhirXml-dataformat.html"> <meta name="description" content="Marshall and unmarshall FHIR objects to/from XML."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/fhirXml-dataformat.html"> <meta name="description" content="Marshall and unmarshall FHIR objects to/from XML."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-fhir-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/flatpack-dataformat.html b/components/next/dataformats/flatpack-dataformat.html
index e68fc20b..fbeef84d 100644
--- a/components/next/dataformats/flatpack-dataformat.html
+++ b/components/next/dataformats/flatpack-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flatpack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/flatpack-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java lists and maps to/from flat files (such as CSV, delimited, or fixed length formats) using Flatpack library."> <meta name="generator" content="Antora 3. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flatpack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/flatpack-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java lists and maps to/from flat files (such as CSV, delimited, or fixed length formats) using Flatpack library."> <meta name="generator" content="Antora 3. [...]
fp.setDefinition(new ClassPathResource("INVENTORY-Delimited.pzmap.xml"));
...
from("file:order/in").unmarshal(df).to("seda:queue:neworder");</code></pre> </div> </div> <div class="paragraph"> <p>The sample above will read files from the <code>order/in</code> folder and unmarshal the input using the Flatpack configuration file <code>INVENTORY-Delimited.pzmap.xml</code> that configures the structure of the files. The result is a <code>DataSetList</code> object we store on the SEDA queue.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highl [...]
diff --git a/components/next/dataformats/grok-dataformat.html b/components/next/dataformats/grok-dataformat.html
index 2ad4a2fd..0e20a1ba 100644
--- a/components/next/dataformats/grok-dataformat.html
+++ b/components/next/dataformats/grok-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Grok :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/grok-dataformat.html"> <meta name="description" content="Unmarshal unstructured data to objects using Logstash based Grok patterns."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.cs [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Grok :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/grok-dataformat.html"> <meta name="description" content="Unmarshal unstructured data to objects using Logstash based Grok patterns."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.cs [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-grok</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/gson-dataformat.html b/components/next/dataformats/gson-dataformat.html
index 576a7554..3e934024 100644
--- a/components/next/dataformats/gson-dataformat.html
+++ b/components/next/dataformats/gson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Gson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/gson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Gson"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Gson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/gson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Gson"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
marshal().json(JsonLibrary.Gson).
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_gson_options"><a class="anchor" href="#_gson_options"></a>Gson Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The JSON Gson dataformat supports 4 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign [...]
<groupId>org.apache.camel</groupId>
diff --git a/components/next/dataformats/gzipDeflater-dataformat.html b/components/next/dataformats/gzipDeflater-dataformat.html
index 52448049..da6c0ed7 100644
--- a/components/next/dataformats/gzipDeflater-dataformat.html
+++ b/components/next/dataformats/gzipDeflater-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GZip Deflater :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/gzipDeflater-dataformat.html"> <meta name="description" content="Compress and decompress messages using java.util.zip.GZIPStream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b9 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GZip Deflater :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/gzipDeflater-dataformat.html"> <meta name="description" content="Compress and decompress messages using java.util.zip.GZIPStream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b9 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-zip-deflater</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/hl7-dataformat.html b/components/next/dataformats/hl7-dataformat.html
index 88f0af80..4c4c6beb 100644
--- a/components/next/dataformats/hl7-dataformat.html
+++ b/components/next/dataformats/hl7-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HL7 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/hl7-dataformat.html"> <meta name="description" content="Marshal and unmarshal HL7 (Health Care) model objects using the HL7 MLLP codec."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HL7 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/hl7-dataformat.html"> <meta name="description" content="Marshal and unmarshal HL7 (Health Care) model objects using the HL7 MLLP codec."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-hl7</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/ical-dataformat.html b/components/next/dataformats/ical-dataformat.html
index 11ee9043..bfdd63b2 100644
--- a/components/next/dataformats/ical-dataformat.html
+++ b/components/next/dataformats/ical-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>iCal :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/ical-dataformat.html"> <meta name="description" content="Marshal and unmarshal iCal (.ics) documents to/from model objects."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>iCal :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/ical-dataformat.html"> <meta name="description" content="Marshal and unmarshal iCal (.ics) documents to/from model objects."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <met [...]
VERSION:2.0
PRODID:-//Events Calendar//iCal4j 1.0//EN
CALSCALE:GREGORIAN
diff --git a/components/next/dataformats/index.html b/components/next/dataformats/index.html
index df57c75e..edc9c3a4 100644
--- a/components/next/dataformats/index.html
+++ b/components/next/dataformats/index.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Data Formats :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Data Formats"> <meta [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Data Formats :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Data Formats"> <meta [...]
\ No newline at end of file
diff --git a/components/next/dataformats/jackson-dataformat.html b/components/next/dataformats/jackson-dataformat.html
index abd5e142..33dc5054 100644
--- a/components/next/dataformats/jackson-dataformat.html
+++ b/components/next/dataformats/jackson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jackson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jackson-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
marshal().json(JsonLibrary.Jackson).
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_jackson_options"><a class="anchor" href="#_jackson_options"></a>Jackson Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The JSON Jackson dataformat supports 20 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halig [...]
camelContext.getGlobalOptions().put("CamelJacksonEnableTypeConverter", "true");
diff --git a/components/next/dataformats/jacksonXml-dataformat.html b/components/next/dataformats/jacksonXml-dataformat.html
index 61448afb..98557dbf 100644
--- a/components/next/dataformats/jacksonXml-dataformat.html
+++ b/components/next/dataformats/jacksonXml-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jackson XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jacksonXml-dataformat.html"> <meta name="description" content="Unmarshal an XML payloads to POJOs and back using XMLMapper extension of Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/cs [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jackson XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jacksonXml-dataformat.html"> <meta name="description" content="Unmarshal an XML payloads to POJOs and back using XMLMapper extension of Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/cs [...]
unmarshal().jacksonXml().
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_jacksonxml_options"><a class="anchor" href="#_jacksonxml_options"></a>JacksonXML Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Jackson XML dataformat supports 16 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblo [...]
<!-- here we define an XML data format with the id jack and that it should use the TestPojo as the class type when
diff --git a/components/next/dataformats/jaxb-dataformat.html b/components/next/dataformats/jaxb-dataformat.html
index b6031ddb..28f37e86 100644
--- a/components/next/dataformats/jaxb-dataformat.html
+++ b/components/next/dataformats/jaxb-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JAXB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jaxb-dataformat.html"> <meta name="description" content="Unmarshal XML payloads to POJOs and back using JAXB2 XML marshalling standard."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JAXB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jaxb-dataformat.html"> <meta name="description" content="Unmarshal XML payloads to POJOs and back using JAXB2 XML marshalling standard."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
from("activemq:My.Queue").
unmarshal(jaxb).
diff --git a/components/next/dataformats/jsonApi-dataformat.html b/components/next/dataformats/jsonApi-dataformat.html
index defd7b98..af39c879 100644
--- a/components/next/dataformats/jsonApi-dataformat.html
+++ b/components/next/dataformats/jsonApi-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSonApi :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jsonApi-dataformat.html"> <meta name="description" content="Marshal and unmarshal JSON:API resources using JSONAPI-Converter library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSonApi :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jsonApi-dataformat.html"> <meta name="description" content="Marshal and unmarshal JSON:API resources using JSONAPI-Converter library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jsonapi</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/jsonb-dataformat.html b/components/next/dataformats/jsonb-dataformat.html
index c3f74255..c0388c2a 100644
--- a/components/next/dataformats/jsonb-dataformat.html
+++ b/components/next/dataformats/jsonb-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON JSON-B :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jsonb-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using JSON-B."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON JSON-B :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/jsonb-dataformat.html"> <meta name="description" content="Marshal POJOs to JSON and back using JSON-B."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
marshal().json(JsonLibrary.Jsonb).
to("mqseries:Another.Queue");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_json_b_options"><a class="anchor" href="#_json_b_options"></a>JSON-B Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>The JSON JSON-B dataformat supports 3 options, which are listed below.</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-lef [...]
<groupId>org.apache.camel</groupId>
diff --git a/components/next/dataformats/lzf-dataformat.html b/components/next/dataformats/lzf-dataformat.html
index 81fcaaf2..42268bba 100644
--- a/components/next/dataformats/lzf-dataformat.html
+++ b/components/next/dataformats/lzf-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LZF Deflate Compression :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/lzf-dataformat.html"> <meta name="description" content="Compress and decompress streams using LZF deflate algorithm."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LZF Deflate Compression :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/lzf-dataformat.html"> <meta name="description" content="Compress and decompress streams using LZF deflate algorithm."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lzf</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/mimeMultipart-dataformat.html b/components/next/dataformats/mimeMultipart-dataformat.html
index 6a2bfa09..19817344 100644
--- a/components/next/dataformats/mimeMultipart-dataformat.html
+++ b/components/next/dataformats/mimeMultipart-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MIME Multipart :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/mimeMultipart-dataformat.html"> <meta name="description" content="Marshal Camel messages with attachments into MIME-Multipart messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MIME Multipart :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/mimeMultipart-dataformat.html"> <meta name="description" content="Marshal Camel messages with attachments into MIME-Multipart messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_ [...]
Message-Id=<...>
MIME-Version=1.0</pre> </div> </div> <div class="listingblock"> <div class="content"> <pre>The message body will be:</pre> </div> </div> <div class="paragraph"> <p><strong>Camel Message Body</strong></p> </div> <div class="listingblock"> <div class="content"> <pre>------=_Part_0_14180567.1447658227051
Content-Type: application/octet-stream
diff --git a/components/next/dataformats/parquetAvro-dataformat.html b/components/next/dataformats/parquetAvro-dataformat.html
index 6cde82ab..b7af90d2 100644
--- a/components/next/dataformats/parquetAvro-dataformat.html
+++ b/components/next/dataformats/parquetAvro-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Parquet File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/parquetAvro-dataformat.html"> <meta name="description" content="Parquet Avro serialization and de-serialization."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Parquet File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/parquetAvro-dataformat.html"> <meta name="description" content="Parquet Avro serialization and de-serialization."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-parquet-avro</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/pgp-dataformat.html b/components/next/dataformats/pgp-dataformat.html
index f111609d..13bf67c1 100644
--- a/components/next/dataformats/pgp-dataformat.html
+++ b/components/next/dataformats/pgp-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PGP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/pgp-dataformat.html"> <meta name="description" content="Encrypt and decrypt messages using Java Cryptographic Extension (JCE) and PGP."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PGP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/pgp-dataformat.html"> <meta name="description" content="Encrypt and decrypt messages using Java Cryptographic Extension (JCE) and PGP."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
.marshal().pgp("file:pubring.gpg", "alice@example.com")
.unmarshal().pgp("file:secring.gpg", "alice@example.com", "letmein");</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:encrypt"/>
diff --git a/components/next/dataformats/protobuf-dataformat.html b/components/next/dataformats/protobuf-dataformat.html
index 45dfbc5e..b543b3bd 100644
--- a/components/next/dataformats/protobuf-dataformat.html
+++ b/components/next/dataformats/protobuf-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Protobuf :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/protobuf-dataformat.html"> <meta name="description" content="Serialize and deserialize Java objects using Google's Protocol buffers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b28 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Protobuf :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/protobuf-dataformat.html"> <meta name="description" content="Serialize and deserialize Java objects using Google's Protocol buffers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b28 [...]
.unmarshal()
.protobuf("org.apache.camel.dataformat.protobuf.generated.AddressBookProtos$Person", "json")
.to("mock:reverse");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_input_data_type"><a class="anchor" href="#_input_data_type"></a>Input data type</h2> <div class="sectionbody"> <div class="paragraph"> <p>This dataformat supports marshaling input data either as protobuf <code>Message</code> type or <code>Map</code> data type. In case of input data as <code>Map</code> type, first it will try to retrieve the data as <code>Map</code> using built-in type converter [...]
diff --git a/components/next/dataformats/protobufJackson-dataformat.html b/components/next/dataformats/protobufJackson-dataformat.html
index 3cb45af7..5464849e 100644
--- a/components/next/dataformats/protobufJackson-dataformat.html
+++ b/components/next/dataformats/protobufJackson-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Protobuf Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/protobufJackson-dataformat.html"> <meta name="description" content="Marshal POJOs to Protobuf and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Protobuf Jackson :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/protobufJackson-dataformat.html"> <meta name="description" content="Marshal POJOs to Protobuf and back using Jackson."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
unmarshal().protobuf(ProtobufLibrary.Jackson, JsonNode.class).
to("log:info");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_configuring_the_schemaresolver"><a class="anchor" href="#_configuring_the_schemaresolver"></a>Configuring the <code>SchemaResolver</code></h2> <div class="sectionbody"> <div class="paragraph"> <p>Since Protobuf serialization is schema-based, this data format requires that you provide a SchemaResolver object that is able to look up the schema for each exchange that is going to be marshalled/unmarshalle [...]
<groupId>org.apache.camel</groupId>
diff --git a/components/next/dataformats/rss-dataformat.html b/components/next/dataformats/rss-dataformat.html
index 09bea7ae..f1f016d3 100644
--- a/components/next/dataformats/rss-dataformat.html
+++ b/components/next/dataformats/rss-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>RSS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/rss-dataformat.html"> <meta name="description" content="Transform from ROME SyndFeed Java Objects to XML and vice-versa."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>RSS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/rss-dataformat.html"> <meta name="description" content="Transform from ROME SyndFeed Java Objects to XML and vice-versa."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
.marshal().rss()
.to("mock:marshal");</code></pre> </div> </div> <div class="paragraph"> <p>The purpose of this feature is to make it possible to use Camel’s built-in expressions for manipulating RSS messages. As shown below, an XPath expression can be used to filter the RSS message. In the following example, on ly entries with Camel in the title will get through the filter.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java h [...]
.marshal().rss()
diff --git a/components/next/dataformats/snakeYaml-dataformat.html b/components/next/dataformats/snakeYaml-dataformat.html
index e00b3477..5c546d71 100644
--- a/components/next/dataformats/snakeYaml-dataformat.html
+++ b/components/next/dataformats/snakeYaml-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>YAML SnakeYAML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/snakeYaml-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects to and from YAML using SnakeYAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>YAML SnakeYAML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/snakeYaml-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects to and from YAML using SnakeYAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b [...]
.marshal().yaml()
.to("mqseries:Another.Queue");</code></pre> </div> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("activemq:My.Queue")
.marshal().yaml(YAMLLibrary.SnakeYAML)
diff --git a/components/next/dataformats/soap-dataformat.html b/components/next/dataformats/soap-dataformat.html
index 3a1b570e..eab291da 100644
--- a/components/next/dataformats/soap-dataformat.html
+++ b/components/next/dataformats/soap-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SOAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/soap-dataformat.html"> <meta name="description" content="Marshal Java objects to SOAP messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SOAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/soap-dataformat.html"> <meta name="description" content="Marshal Java objects to SOAP messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
from("direct:start")
.marshal(soap)
.to("jms:myQueue");</code></pre> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <div class="paragraph"> <p><strong>See also</strong></p> </div> <div class="paragraph"> <p>As the SOAP dataformat inherits from the <a href="jaxb-dataformat.html" class="xref page">JAXB</a> dataformat, most settings apply here as well</p> </div> </td> </tr> </table></div> </div> <div [...]
diff --git a/components/next/dataformats/swiftMt-dataformat.html b/components/next/dataformats/swiftMt-dataformat.html
index ba38e8b5..23b2d082 100644
--- a/components/next/dataformats/swiftMt-dataformat.html
+++ b/components/next/dataformats/swiftMt-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SWIFT MT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/swiftMt-dataformat.html"> <meta name="description" content="Encode and decode SWIFT MT messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SWIFT MT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/swiftMt-dataformat.html"> <meta name="description" content="Encode and decode SWIFT MT messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
<dataFormats>
<swiftMt id="swiftInJson" writeInJson="true"/>
</dataFormats>
diff --git a/components/next/dataformats/swiftMx-dataformat.html b/components/next/dataformats/swiftMx-dataformat.html
index 3840aeae..d27f6eae 100644
--- a/components/next/dataformats/swiftMx-dataformat.html
+++ b/components/next/dataformats/swiftMx-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SWIFT MX :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/swiftMx-dataformat.html"> <meta name="description" content="Encode and decode SWIFT MX messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SWIFT MX :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/swiftMx-dataformat.html"> <meta name="description" content="Encode and decode SWIFT MX messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
<dataFormats>
<swiftMx id="swiftInJson" writeInJson="true"/>
</dataFormats>
diff --git a/components/next/dataformats/syslog-dataformat.html b/components/next/dataformats/syslog-dataformat.html
index e6844f06..a197711b 100644
--- a/components/next/dataformats/syslog-dataformat.html
+++ b/components/next/dataformats/syslog-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Syslog :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/syslog-dataformat.html"> <meta name="description" content="Marshall SyslogMessages to RFC3164 and RFC5424 messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Syslog :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/syslog-dataformat.html"> <meta name="description" content="Marshall SyslogMessages to RFC3164 and RFC5424 messages and back."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> < [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-syslog</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/tarFile-dataformat.html b/components/next/dataformats/tarFile-dataformat.html
index 74f14a48..d5a7ddaf 100644
--- a/components/next/dataformats/tarFile-dataformat.html
+++ b/components/next/dataformats/tarFile-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tar File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/tarFile-dataformat.html"> <meta name="description" content="Archive files into tarballs or extract files from tarballs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tar File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/tarFile-dataformat.html"> <meta name="description" content="Archive files into tarballs or extract files from tarballs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <met [...]
tarFile.setUsingIterator(true);
from("file:src/test/resources/org/apache/camel/dataformat/tarfile/?delay=1000&noop=true")
.unmarshal(tarFile)
diff --git a/components/next/dataformats/thrift-dataformat.html b/components/next/dataformats/thrift-dataformat.html
index 04048eb7..4d46dc69 100644
--- a/components/next/dataformats/thrift-dataformat.html
+++ b/components/next/dataformats/thrift-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Thrift :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/thrift-dataformat.html"> <meta name="description" content="Serialize and deserialize messages using Apache Thrift binary data format."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Thrift :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/thrift-dataformat.html"> <meta name="description" content="Serialize and deserialize messages using Apache Thrift binary data format."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
.unmarshal()
.thrift("org.apache.camel.dataformat.thrift.generated.Work", "json")
.to("mock:reverse");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_thrift_overview"><a class="anchor" href="#_thrift_overview"></a>Thrift overview</h2> <div class="sectionbody"> <div class="paragraph"> <p>This quick overview of how to use Thrift. For more details, see the <a href="https://thrift.apache.org/tutorial/">complete tutorial</a></p> </div> </div> </div> <div class="sect1"> <h2 id="_defining_the_thrift_format"><a class="anchor" href="#_defining_the_th [...]
diff --git a/components/next/dataformats/univocityCsv-dataformat.html b/components/next/dataformats/univocityCsv-dataformat.html
index 39bc3521..435ca6bb 100644
--- a/components/next/dataformats/univocityCsv-dataformat.html
+++ b/components/next/dataformats/univocityCsv-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity CSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityCsv-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshe [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity CSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityCsv-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshe [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-univocity-parsers</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/univocityFixed-dataformat.html b/components/next/dataformats/univocityFixed-dataformat.html
index bb2a8ba4..52d9862f 100644
--- a/components/next/dataformats/univocityFixed-dataformat.html
+++ b/components/next/dataformats/univocityFixed-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity Fixed Length :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityFixed-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="style [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity Fixed Length :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityFixed-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="style [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-univocity-parsers</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/univocityTsv-dataformat.html b/components/next/dataformats/univocityTsv-dataformat.html
index 30fc3658..ab076923 100644
--- a/components/next/dataformats/univocityTsv-dataformat.html
+++ b/components/next/dataformats/univocityTsv-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity TSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityTsv-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to TSV (Tab-Separated Values) records using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="st [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>uniVocity TSV :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/univocityTsv-dataformat.html"> <meta name="description" content="Marshal and unmarshal Java objects from and to TSV (Tab-Separated Values) records using UniVocity Parsers."> <meta name="generator" content="Antora 3.1.7"> <link rel="st [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-univocity-parsers</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/xmlSecurity-dataformat.html b/components/next/dataformats/xmlSecurity-dataformat.html
index 3f459504..5198710d 100644
--- a/components/next/dataformats/xmlSecurity-dataformat.html
+++ b/components/next/dataformats/xmlSecurity-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/xmlSecurity-dataformat.html"> <meta name="description" content="Encrypt and decrypt XML payloads using Apache Santuario."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/xmlSecurity-dataformat.html"> <meta name="description" content="Encrypt and decrypt XML payloads using Apache Santuario."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
keyGenerator.init(256);
Key key = keyGenerator.generateKey();
diff --git a/components/next/dataformats/zipDeflater-dataformat.html b/components/next/dataformats/zipDeflater-dataformat.html
index d0d9d0f4..52201da5 100644
--- a/components/next/dataformats/zipDeflater-dataformat.html
+++ b/components/next/dataformats/zipDeflater-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Zip Deflater :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/zipDeflater-dataformat.html"> <meta name="description" content="Compress and decompress streams using java.util.zip.Deflater and java.util.zip.Inflater."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Zip Deflater :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/zipDeflater-dataformat.html"> <meta name="description" content="Compress and decompress streams using java.util.zip.Deflater and java.util.zip.Inflater."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-zip-deflater</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dataformats/zipFile-dataformat.html b/components/next/dataformats/zipFile-dataformat.html
index 6c72a9e1..5f5c210a 100644
--- a/components/next/dataformats/zipFile-dataformat.html
+++ b/components/next/dataformats/zipFile-dataformat.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Zip File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/zipFile-dataformat.html"> <meta name="description" content="Compression and decompress streams using java.util.zip.ZipStream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Zip File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataformats/zipFile-dataformat.html"> <meta name="description" content="Compression and decompress streams using java.util.zip.ZipStream."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
.marshal().zipFile()
.to("activemq:queue:MY_QUEUE");</code></pre> </div> </div> <div class="paragraph"> <p>The name of the Zip entry inside the created Zip file is based on the incoming <code>CamelFileName</code> message header, which is the standard message header used by the file component. Additionally, the outgoing <code>CamelFileName</code> message header is automatically set to the value of the incoming <code>CamelFileName</code> message header, with the ".zip" suffix. So, for example, if the follo [...]
.marshal().zipFile()
diff --git a/components/next/dataset-component.html b/components/next/dataset-component.html
index 8221f47f..184c5e59 100644
--- a/components/next/dataset-component.html
+++ b/components/next/dataset-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dataset :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataset-component.html"> <meta name="description" content="Provide data for load and soak testing of your Camel application."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dataset :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataset-component.html"> <meta name="description" content="Provide data for load and soak testing of your Camel application."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
<property name="size" value="100"/>
</bean></code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_example"><a class="anchor" href="#_example"></a>Example</h2> <div class="sectionbody"> <div class="paragraph"> <p>For example, to test that a set of messages are sent to a queue and then consumed from the queue without losing any messages:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">// send the dataset to a queue
from("dataset:foo").to("activemq:SomeQueue");
diff --git a/components/next/dataset-test-component.html b/components/next/dataset-test-component.html
index ed1eca3f..42a97eb4 100644
--- a/components/next/dataset-test-component.html
+++ b/components/next/dataset-test-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DataSet Test :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataset-test-component.html"> <meta name="description" content="Extends the mock component by pulling messages from another endpoint on startup to set the expected message bodies."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DataSet Test :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dataset-test-component.html"> <meta name="description" content="Extends the mock component by pulling messages from another endpoint on startup to set the expected message bodies."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
to("dataset-test:file://data/expectedOutput?noop=true");</code></pre> </div> </div> <div class="paragraph"> <p>If your test then invokes the <a href="https://www.javadoc.io/doc/org.apache.camel/camel-mock/current/org/apache/camel/component/mock/MockEndpoint.html#assertIsSatisfied-org.apache.camel.CamelContext-">MockEndpoint.assertIsSatisfied(camelContext) method</a>, your test case will perform the necessary assertions.</p> </div> <div class="paragraph"> <p>To see how you can set other [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-dataset-starter</artifactId>
diff --git a/components/next/debezium-db2-component.html b/components/next/debezium-db2-component.html
index f5ecf9e2..a7436d67 100644
--- a/components/next/debezium-db2-component.html
+++ b/components/next/debezium-db2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium DB2 Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-db2-component.html"> <meta name="description" content="Capture changes from a DB2 database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium DB2 Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-db2-component.html"> <meta name="description" content="Capture changes from a DB2 database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-db2</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-mongodb-component.html b/components/next/debezium-mongodb-component.html
index 0b24ef62..0b2032ca 100644
--- a/components/next/debezium-mongodb-component.html
+++ b/components/next/debezium-mongodb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium MongoDB Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-mongodb-component.html"> <meta name="description" content="Capture changes from a MongoDB database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium MongoDB Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-mongodb-component.html"> <meta name="description" content="Capture changes from a MongoDB database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name=" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-mongodb</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-mysql-component.html b/components/next/debezium-mysql-component.html
index 43b241aa..55dc07ea 100644
--- a/components/next/debezium-mysql-component.html
+++ b/components/next/debezium-mysql-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium MySQL Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-mysql-component.html"> <meta name="description" content="Capture changes from a MySQL database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium MySQL Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-mysql-component.html"> <meta name="description" content="Capture changes from a MySQL database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-mysql</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-oracle-component.html b/components/next/debezium-oracle-component.html
index 2f259f25..2cc4f34f 100644
--- a/components/next/debezium-oracle-component.html
+++ b/components/next/debezium-oracle-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium Oracle Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-oracle-component.html"> <meta name="description" content="Capture changes from a Oracle database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium Oracle Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-oracle-component.html"> <meta name="description" content="Capture changes from a Oracle database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-oracle</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-postgres-component.html b/components/next/debezium-postgres-component.html
index 9b25498d..d2241dbf 100644
--- a/components/next/debezium-postgres-component.html
+++ b/components/next/debezium-postgres-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium PostgresSQL Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-postgres-component.html"> <meta name="description" content="Capture changes from a PostgresSQL database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium PostgresSQL Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-postgres-component.html"> <meta name="description" content="Capture changes from a PostgresSQL database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-postgres</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-sqlserver-component.html b/components/next/debezium-sqlserver-component.html
index 4259de1f..66196aca 100644
--- a/components/next/debezium-sqlserver-component.html
+++ b/components/next/debezium-sqlserver-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium SQL Server Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-sqlserver-component.html"> <meta name="description" content="Capture changes from an SQL Server database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium SQL Server Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-sqlserver-component.html"> <meta name="description" content="Capture changes from an SQL Server database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-debezium-sqlserver</artifactId>
<version>x.x.x</version>
diff --git a/components/next/debezium-summary.html b/components/next/debezium-summary.html
index db0520a8..c404d155 100644
--- a/components/next/debezium-summary.html
+++ b/components/next/debezium-summary.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Debezium"> <meta property="o [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debezium :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/debezium-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Debezium"> <meta property="o [...]
\ No newline at end of file
diff --git a/components/next/dhis2-component.html b/components/next/dhis2-component.html
index 6a7f0888..7187ed93 100644
--- a/components/next/dhis2-component.html
+++ b/components/next/dhis2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DHIS2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dhis2-component.html"> <meta name="description" content="Leverages the DHIS2 Java SDK to integrate Apache Camel with the DHIS2 Web API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DHIS2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dhis2-component.html"> <meta name="description" content="Leverages the DHIS2 Java SDK to integrate Apache Camel with the DHIS2 Web API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-dhis2</artifactId>
<version>x.x.x</version>
diff --git a/components/next/digitalocean-component.html b/components/next/digitalocean-component.html
index 4f1977a0..c82a2174 100644
--- a/components/next/digitalocean-component.html
+++ b/components/next/digitalocean-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DigitalOcean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/digitalocean-component.html"> <meta name="description" content="Manage Droplets and resources within the DigitalOcean cloud."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DigitalOcean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/digitalocean-component.html"> <meta name="description" content="Manage Droplets and resources within the DigitalOcean cloud."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name [...]
.setHeader(DigitalOceanConstants.OPERATION, constant(DigitalOceanOperations.get))
.to("digitalocean:account?oAuthToken=XXXXXX")</code></pre> </div> </div> <div class="paragraph"> <p>Create a droplet</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:createDroplet")
.setHeader(DigitalOceanConstants.OPERATION, constant("create"))
diff --git a/components/next/direct-component.html b/components/next/direct-component.html
index d6b30883..69c98a30 100644
--- a/components/next/direct-component.html
+++ b/components/next/direct-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Direct :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/direct-component.html"> <meta name="description" content="Call another endpoint from the same Camel Context synchronously."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Direct :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/direct-component.html"> <meta name="description" content="Call another endpoint from the same Camel Context synchronously."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
.to("bean:orderServer?method=validate")
.to("direct:processOrder");
diff --git a/components/next/disruptor-component.html b/components/next/disruptor-component.html
index 88085667..11e77970 100644
--- a/components/next/disruptor-component.html
+++ b/components/next/disruptor-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Disruptor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/disruptor-component.html"> <meta name="description" content="Provides asynchronous SEDA behavior using LMAX Disruptor."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Disruptor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/disruptor-component.html"> <meta name="description" content="Provides asynchronous SEDA behavior using LMAX Disruptor."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-disruptor</artifactId>
<version>x.x.x</version>
diff --git a/components/next/disruptor-vm-component.html b/components/next/disruptor-vm-component.html
index 2f8ff50a..dfc3d904 100644
--- a/components/next/disruptor-vm-component.html
+++ b/components/next/disruptor-vm-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Disruptor VM :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/disruptor-vm-component.html"> <meta name="description" content="Provides asynchronous SEDA behavior using LMAX Disruptor."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="a [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Disruptor VM :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/disruptor-vm-component.html"> <meta name="description" content="Provides asynchronous SEDA behavior using LMAX Disruptor."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="a [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-disruptor</artifactId>
<version>x.x.x</version>
diff --git a/components/next/djl-component.html b/components/next/djl-component.html
index 1f70706c..fbcd173a 100644
--- a/components/next/djl-component.html
+++ b/components/next/djl-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Deep Java Library :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/djl-component.html"> <meta name="description" content="Infer Deep Learning models from message exchanges data using Deep Java Library (DJL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b9 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Deep Java Library :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/djl-component.html"> <meta name="description" content="Infer Deep Learning models from message exchanges data using Deep Java Library (DJL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b9 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-djl</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dns-component.html b/components/next/dns-component.html
index 6c3d0268..476adf53 100644
--- a/components/next/dns-component.html
+++ b/components/next/dns-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DNS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dns-component.html"> <meta name="description" content="Perform DNS queries using DNSJava."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DNS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dns-component.html"> <meta name="description" content="Perform DNS queries using DNSJava."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-dns</artifactId>
<version>x.x.x</version>
diff --git a/components/next/docker-component.html b/components/next/docker-component.html
index fe831f64..aa900ad1 100644
--- a/components/next/docker-component.html
+++ b/components/next/docker-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Docker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/docker-component.html"> <meta name="description" content="Manage Docker containers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Docker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/docker-component.html"> <meta name="description" content="Manage Docker containers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <me [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-docker</artifactId>
<version>x.x.x</version>
diff --git a/components/next/drill-component.html b/components/next/drill-component.html
index c423a3f0..e698865a 100644
--- a/components/next/drill-component.html
+++ b/components/next/drill-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Drill :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/drill-component.html"> <meta name="description" content="Perform queries against an Apache Drill cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Drill :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/drill-component.html"> <meta name="description" content="Perform queries against an Apache Drill cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-drill</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dropbox-component.html b/components/next/dropbox-component.html
index eb93cf58..98f65db8 100644
--- a/components/next/dropbox-component.html
+++ b/components/next/dropbox-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dropbox :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dropbox-component.html"> <meta name="description" content="Upload, download and manage files, folders, groups, collaborations, etc on Dropbox."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dropbox :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dropbox-component.html"> <meta name="description" content="Upload, download and manage files, folders, groups, collaborations, etc on Dropbox."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-dropbox</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dynamic-router-component.html b/components/next/dynamic-router-component.html
index 308617a9..07ac9566 100644
--- a/components/next/dynamic-router-component.html
+++ b/components/next/dynamic-router-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dynamic-router-component.html"> <meta name="description" content="The Dynamic Router component routes exchanges to recipients, and the recipients (and their rules) may change at runtime."> <meta name="generator" content="Antora 3.1.7"> <link rel [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dynamic-router-component.html"> <meta name="description" content="The Dynamic Router component routes exchanges to recipients, and the recipients (and their rules) may change at runtime."> <meta name="generator" content="Antora 3.1.7"> <link rel [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-dynamic-router</artifactId>
<version>x.x.x</version>
diff --git a/components/next/dynamic-router-control-component.html b/components/next/dynamic-router-control-component.html
index 53f5d846..c32f80c0 100644
--- a/components/next/dynamic-router-control-component.html
+++ b/components/next/dynamic-router-control-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router Control :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dynamic-router-control-component.html"> <meta name="description" content="The Dynamic Router control endpoint for operations that allow routing participants to subscribe or unsubscribe to participate in dynamic message routing."> <meta n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router Control :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/dynamic-router-control-component.html"> <meta name="description" content="The Dynamic Router control endpoint for operations that allow routing participants to subscribe or unsubscribe to participate in dynamic message routing."> <meta n [...]
from("direct:subscribe").to("dynamic-router-control:subscribe?subscribeChannel=myChannel&subscriptionId=mySubId&destinationUri=direct:myDestination&priority=5&predicate=true&expressionLanguage=simple");</code></pre> </div> </div> <div class="listingblock"> <div class="title">Example Java URI <code>ProducerTemplate</code> Subscription</div> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">CamelContext context = [...]
context.start();
ProducerTemplate template = context.createProducerTemplate();
diff --git a/components/next/ehcache-component.html b/components/next/ehcache-component.html
index 2a9b029e..a2a986cc 100644
--- a/components/next/ehcache-component.html
+++ b/components/next/ehcache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ehcache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ehcache-component.html"> <meta name="description" content="Perform caching operations using Ehcache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ehcache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ehcache-component.html"> <meta name="description" content="Perform caching operations using Ehcache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ehcache</artifactId>
<version>x.x.x</version>
diff --git a/components/next/eips/aggregate-eip.html b/components/next/eips/aggregate-eip.html
index 6966deac..f1065163 100644
--- a/components/next/eips/aggregate-eip.html
+++ b/components/next/eips/aggregate-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Aggregate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/aggregate-eip.html"> <meta name="description" content="Aggregates many messages into a single message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Aggregate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/aggregate-eip.html"> <meta name="description" content="Aggregates many messages into a single message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
class StringAggregationStrategy implements AggregationStrategy {
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
diff --git a/components/next/eips/batchConfig-eip.html b/components/next/eips/batchConfig-eip.html
index b52b69a7..fd844e49 100644
--- a/components/next/eips/batchConfig-eip.html
+++ b/components/next/eips/batchConfig-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BatchConfig :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/batchConfig-eip.html"> <meta name="description" content="Configures batch-processing resequence eip."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>BatchConfig :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/batchConfig-eip.html"> <meta name="description" content="Configures batch-processing resequence eip."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
\ No newline at end of file
diff --git a/components/next/eips/bean-eip.html b/components/next/eips/bean-eip.html
index fa9d780e..65982edb 100644
--- a/components/next/eips/bean-eip.html
+++ b/components/next/eips/bean-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/bean-eip.html"> <meta name="description" content="Calls a Java bean"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta propert [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/bean-eip.html"> <meta name="description" content="Calls a Java bean"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta propert [...]
from("direct:foo").bean("myBean", "myMethod");
// lookup bean from registry and invoke best matching method
diff --git a/components/next/eips/change-data-capture.html b/components/next/eips/change-data-capture.html
index fc65c731..661826c8 100644
--- a/components/next/eips/change-data-capture.html
+++ b/components/next/eips/change-data-capture.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Change Data Capture :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/change-data-capture.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Change [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Change Data Capture :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/change-data-capture.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Change [...]
\ No newline at end of file
diff --git a/components/next/eips/channel-adapter.html b/components/next/eips/channel-adapter.html
index f377ea99..3bf449bd 100644
--- a/components/next/eips/channel-adapter.html
+++ b/components/next/eips/channel-adapter.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Channel Adapter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/channel-adapter.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Channel Adapte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Channel Adapter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/channel-adapter.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Channel Adapte [...]
.to("bean:cheeseBean");</code></pre> </div> </div> <div class="paragraph"> <p>And the bean has a method which accepts the message payload as a byte array.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class CheeseBean {
public void receiveCheeseData(byte[] data) {
diff --git a/components/next/eips/choice-eip.html b/components/next/eips/choice-eip.html
index 0c2f2cc6..79f0778b 100644
--- a/components/next/eips/choice-eip.html
+++ b/components/next/eips/choice-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Choice :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/choice-eip.html"> <meta name="description" content="Route messages based on a series of predicates"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Choice :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/choice-eip.html"> <meta name="description" content="Route messages based on a series of predicates"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
.choice()
.when(simple("${header.foo} == 'bar'"))
.to("direct:b")
diff --git a/components/next/eips/circuitBreaker-eip.html b/components/next/eips/circuitBreaker-eip.html
index e1c18bfd..2471fb37 100644
--- a/components/next/eips/circuitBreaker-eip.html
+++ b/components/next/eips/circuitBreaker-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Circuit Breaker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/circuitBreaker-eip.html"> <meta name="description" content="Route messages in a fault tolerance way using Circuit Breaker"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Circuit Breaker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/circuitBreaker-eip.html"> <meta name="description" content="Route messages in a fault tolerance way using Circuit Breaker"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
.circuitBreaker()
.to("http://fooservice.com/slow")
.onFallback()
diff --git a/components/next/eips/claimCheck-eip.html b/components/next/eips/claimCheck-eip.html
index b2a9bd27..d98f9dc5 100644
--- a/components/next/eips/claimCheck-eip.html
+++ b/components/next/eips/claimCheck-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Claim Check :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/claimCheck-eip.html"> <meta name="description" content="The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time."> <meta name="generator" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Claim Check :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/claimCheck-eip.html"> <meta name="description" content="The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time."> <meta name="generator" co [...]
.to("mock:a")
.claimCheck(ClaimCheckOperation.Set, "${header.myKey}")
.transform().constant("Bye World")
diff --git a/components/next/eips/competing-consumers.html b/components/next/eips/competing-consumers.html
index cbb8bd0e..d31652ab 100644
--- a/components/next/eips/competing-consumers.html
+++ b/components/next/eips/competing-consumers.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Competing Consumers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/competing-consumers.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Compet [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Competing Consumers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/competing-consumers.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Compet [...]
.to("bean:someBean");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:MyQueue?concurrentConsumers=5"/>
<to uri="bean:someBean"/>
diff --git a/components/next/eips/composed-message-processor.html b/components/next/eips/composed-message-processor.html
index f71d7e2a..3aeca908 100644
--- a/components/next/eips/composed-message-processor.html
+++ b/components/next/eips/composed-message-processor.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Composed Message Processor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/composed-message-processor.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Composed Message Processor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/composed-message-processor.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" c [...]
// the body is then split based on @ separator
// the splitter in Camel supports InOut as well, and for that we need
// to be able to aggregate what response we need to send back, so we provide our
diff --git a/components/next/eips/content-enricher.html b/components/next/eips/content-enricher.html
index da31b642..57c3f0af 100644
--- a/components/next/eips/content-enricher.html
+++ b/components/next/eips/content-enricher.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Enricher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-enricher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Enri [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Enricher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-enricher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Enri [...]
.to("velocity:com/acme/MyResponse.vm")
.to("activemq:Another.Queue");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:My.Queue"/>
diff --git a/components/next/eips/content-filter-eip.html b/components/next/eips/content-filter-eip.html
index 857be9f4..6992cc61 100644
--- a/components/next/eips/content-filter-eip.html
+++ b/components/next/eips/content-filter-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-filter-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Filt [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Content Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/content-filter-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Content Filt [...]
.process(new Processor() {
public void process(Exchange exchange) {
String body = exchange.getMessage().getBody(String.class);
diff --git a/components/next/eips/convertBodyTo-eip.html b/components/next/eips/convertBodyTo-eip.html
index 1b0a9ddf..2bf62963 100644
--- a/components/next/eips/convertBodyTo-eip.html
+++ b/components/next/eips/convertBodyTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Body To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertBodyTo-eip.html"> <meta name="description" content="Converts the message body to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Body To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertBodyTo-eip.html"> <meta name="description" content="Converts the message body to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
.convertBodyTo(String.class)
.log("The file content: ${body}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
diff --git a/components/next/eips/convertHeaderTo-eip.html b/components/next/eips/convertHeaderTo-eip.html
index eee821a8..0f6b1fd6 100644
--- a/components/next/eips/convertHeaderTo-eip.html
+++ b/components/next/eips/convertHeaderTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Header To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertHeaderTo-eip.html"> <meta name="description" content="Converts the message header to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Header To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertHeaderTo-eip.html"> <meta name="description" content="Converts the message header to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
.convertHeaderTo("foo", String.class)
.log("The header content: ${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/next/eips/convertVariableTo-eip.html b/components/next/eips/convertVariableTo-eip.html
index 9511dab3..f9806125 100644
--- a/components/next/eips/convertVariableTo-eip.html
+++ b/components/next/eips/convertVariableTo-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Variable To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertVariableTo-eip.html"> <meta name="description" content="Converts the variable to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Convert Variable To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/convertVariableTo-eip.html"> <meta name="description" content="Converts the variable to another type"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
.convertVariableTo("foo", String.class)
.log("The variable content: ${variable.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/next/eips/correlation-identifier.html b/components/next/eips/correlation-identifier.html
index f1eb6f6f..eeb16078 100644
--- a/components/next/eips/correlation-identifier.html
+++ b/components/next/eips/correlation-identifier.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Correlation Identifier :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/correlation-identifier.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Correlation Identifier :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/correlation-identifier.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.to(ExchangePattern.InOut, "jms:queue:foo")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
diff --git a/components/next/eips/customLoadBalancer-eip.html b/components/next/eips/customLoadBalancer-eip.html
index a2197310..ed83bb0f 100644
--- a/components/next/eips/customLoadBalancer-eip.html
+++ b/components/next/eips/customLoadBalancer-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Custom Load Balancer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/customLoadBalancer-eip.html"> <meta name="description" content="To use a custom load balancer implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Custom Load Balancer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/customLoadBalancer-eip.html"> <meta name="description" content="To use a custom load balancer implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
// using our custom load balancer
.loadBalance(new MyLoadBalancer())
.to("seda:x")
diff --git a/components/next/eips/dead-letter-channel.html b/components/next/eips/dead-letter-channel.html
index 1e0e673c..456861e1 100644
--- a/components/next/eips/dead-letter-channel.html
+++ b/components/next/eips/dead-letter-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dead Letter Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dead-letter-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Dead L [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dead Letter Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dead-letter-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Dead L [...]
deadLetterUri="log:dead?level=ERROR"/></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Pay attention to Spring XML DSL. The type attribute is used to declare which error handler to use, here its <code>DeadLetterChannel</code>. And in XML the <code><errorHandler></code> must be configured with an id. The id must then be enabled on either the <code><camelContext></code> (global scope), or per route that should use this error handler.< [...]
<errorHandler id="myErrorHandler" type="DeadLetterChannel"
deadLetterUri="log:dead?level=ERROR"/>
diff --git a/components/next/eips/delay-eip.html b/components/next/eips/delay-eip.html
index 9288a541..91b293cf 100644
--- a/components/next/eips/delay-eip.html
+++ b/components/next/eips/delay-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Delay :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/delay-eip.html"> <meta name="description" content="Delays processing for a specified length of time"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Delay :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/delay-eip.html"> <meta name="description" content="Delays processing for a specified length of time"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
.delay(1000)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
diff --git a/components/next/eips/durable-subscriber.html b/components/next/eips/durable-subscriber.html
index b212ae6d..d5c4b1e6 100644
--- a/components/next/eips/durable-subscriber.html
+++ b/components/next/eips/durable-subscriber.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Durable Subscriber :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/durable-subscriber.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Durable [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Durable Subscriber :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/durable-subscriber.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Durable [...]
.to("activemq:topic:foo");
from("activemq:topic:foo?clientId=1&durableSubscriptionName=bar1")
diff --git a/components/next/eips/dynamicRouter-eip.html b/components/next/eips/dynamicRouter-eip.html
index 04da46fa..d5e73554 100644
--- a/components/next/eips/dynamicRouter-eip.html
+++ b/components/next/eips/dynamicRouter-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dynamicRouter-eip.html"> <meta name="description" content="Route messages based on dynamic rules"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Dynamic Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/dynamicRouter-eip.html"> <meta name="description" content="Route messages based on dynamic rules"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
// use a bean as the dynamic router
.dynamicRouter(method(MySlipBean.class, "slip"));</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
diff --git a/components/next/eips/enrich-eip.html b/components/next/eips/enrich-eip.html
index ba40754f..3b8313c3 100644
--- a/components/next/eips/enrich-eip.html
+++ b/components/next/eips/enrich-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enrich-eip.html"> <meta name="description" content="Enriches a message with data from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enrich-eip.html"> <meta name="description" content="Enriches a message with data from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
public Exchange aggregate(Exchange newExchange, Exchange oldExchange) {
// this is just an example, for real-world use-cases the
diff --git a/components/next/eips/enterprise-integration-patterns.html b/components/next/eips/enterprise-integration-patterns.html
index df62f602..3bdf22f0 100644
--- a/components/next/eips/enterprise-integration-patterns.html
+++ b/components/next/eips/enterprise-integration-patterns.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enterprise Integration Patterns :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enterprise-integration-patterns.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="o [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Enterprise Integration Patterns :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/enterprise-integration-patterns.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="o [...]
\ No newline at end of file
diff --git a/components/next/eips/event-message.html b/components/next/eips/event-message.html
index ebe76ec8..593c4f65 100644
--- a/components/next/eips/event-message.html
+++ b/components/next/eips/event-message.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/event-message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Event Message"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/event-message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Event Message"> <m [...]
.to("activemq:queue:one-way");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="mq:someQueue?exchangePattern=InOnly"/>
<to uri="activemq:queue:one-way"/>
diff --git a/components/next/eips/eventDrivenConsumer-eip.html b/components/next/eips/eventDrivenConsumer-eip.html
index 4b527e93..f7c3a35d 100644
--- a/components/next/eips/eventDrivenConsumer-eip.html
+++ b/components/next/eips/eventDrivenConsumer-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Driven Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/eventDrivenConsumer-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Event Driven Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/eventDrivenConsumer-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.bean(MyBean.class);</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:foo"/>
<bean beanType="com.foo.MyBean"/>
diff --git a/components/next/eips/failover-eip.html b/components/next/eips/failover-eip.html
index bf13d1fe..0c3ba350 100644
--- a/components/next/eips/failover-eip.html
+++ b/components/next/eips/failover-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Failover :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/failover-eip.html"> <meta name="description" content="In case of failures the exchange will be tried on the next endpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Failover :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/failover-eip.html"> <meta name="description" content="In case of failures the exchange will be tried on the next endpoint."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
.loadBalance().failover()
.to("http:service1")
.to("http:service2")
diff --git a/components/next/eips/fault-tolerance-eip.html b/components/next/eips/fault-tolerance-eip.html
index f1afadd4..bf91beae 100644
--- a/components/next/eips/fault-tolerance-eip.html
+++ b/components/next/eips/fault-tolerance-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/fault-tolerance-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Fault [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/fault-tolerance-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Fault [...]
.circuitBreaker()
.to("http://fooservice.com/faulty")
.onFallback()
diff --git a/components/next/eips/faultToleranceConfiguration-eip.html b/components/next/eips/faultToleranceConfiguration-eip.html
index baf8a751..7342efbd 100644
--- a/components/next/eips/faultToleranceConfiguration-eip.html
+++ b/components/next/eips/faultToleranceConfiguration-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance Configuration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/faultToleranceConfiguration-eip.html"> <meta name="description" content="MicroProfile Fault Tolerance Circuit Breaker EIP configuration"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/ [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Fault Tolerance Configuration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/faultToleranceConfiguration-eip.html"> <meta name="description" content="MicroProfile Fault Tolerance Circuit Breaker EIP configuration"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/ [...]
\ No newline at end of file
diff --git a/components/next/eips/filter-eip.html b/components/next/eips/filter-eip.html
index 511c87b7..8cd41351 100644
--- a/components/next/eips/filter-eip.html
+++ b/components/next/eips/filter-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/filter-eip.html"> <meta name="description" content="Filter out messages based using a predicate"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Filter :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/filter-eip.html"> <meta name="description" content="Filter out messages based using a predicate"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
.filter(simple("${header.foo} == 'bar'"))
.to("direct:bar")
.end()
diff --git a/components/next/eips/from-eip.html b/components/next/eips/from-eip.html
index a3381757..f0ccc33d 100644
--- a/components/next/eips/from-eip.html
+++ b/components/next/eips/from-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>From :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/from-eip.html"> <meta name="description" content="Act as a message source as input to a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>From :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/from-eip.html"> <meta name="description" content="Act as a message source as input to a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.to("log:inbox");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<to uri="log:inbox"/>
diff --git a/components/next/eips/guaranteed-delivery.html b/components/next/eips/guaranteed-delivery.html
index 94d02cb1..b3a12b33 100644
--- a/components/next/eips/guaranteed-delivery.html
+++ b/components/next/eips/guaranteed-delivery.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guaranteed Delivery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/guaranteed-delivery.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Guaran [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guaranteed Delivery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/guaranteed-delivery.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Guaran [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<to uri="jms:queue:foo"/>
diff --git a/components/next/eips/idempotentConsumer-eip.html b/components/next/eips/idempotentConsumer-eip.html
index 1b3202f2..18098b4b 100644
--- a/components/next/eips/idempotentConsumer-eip.html
+++ b/components/next/eips/idempotentConsumer-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Idempotent Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/idempotentConsumer-eip.html"> <meta name="description" content="Filters out duplicate messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Idempotent Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/idempotentConsumer-eip.html"> <meta name="description" content="Filters out duplicate messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
diff --git a/components/next/eips/intercept.html b/components/next/eips/intercept.html
index 0d0a4fc8..ec7080bc 100644
--- a/components/next/eips/intercept.html
+++ b/components/next/eips/intercept.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Intercept :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/intercept.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Intercept"> <meta property [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Intercept :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/intercept.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Intercept"> <meta property [...]
.intercept().to("log:hello").end() // intercepts only in this route
.to("bean:validateOrder")
.to("bean:processOrder");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"> <route>
diff --git a/components/next/eips/kamelet-eip.html b/components/next/eips/kamelet-eip.html
index d017097f..c9b880c6 100644
--- a/components/next/eips/kamelet-eip.html
+++ b/components/next/eips/kamelet-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/kamelet-eip.html"> <meta name="description" content="To call Kamelets in special situations"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/kamelet-eip.html"> <meta name="description" content="To call Kamelets in special situations"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
.templateParameter("count")
.from("kamelet:source")
.aggregate(constant(true))
diff --git a/components/next/eips/loadBalance-eip.html b/components/next/eips/loadBalance-eip.html
index 623aec3f..c9ca8061 100644
--- a/components/next/eips/loadBalance-eip.html
+++ b/components/next/eips/loadBalance-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Load Balance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loadBalance-eip.html"> <meta name="description" content="Balances message processing among a number of nodes"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Load Balance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loadBalance-eip.html"> <meta name="description" content="Balances message processing among a number of nodes"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
\ No newline at end of file
diff --git a/components/next/eips/log-eip.html b/components/next/eips/log-eip.html
index 19b12584..4dea2709 100644
--- a/components/next/eips/log-eip.html
+++ b/components/next/eips/log-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/log-eip.html"> <meta name="description" content="Logs the defined message to the logger"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/log-eip.html"> <meta name="description" content="Logs the defined message to the logger"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
.log("Processing ${id}")
.to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -28,21 +28,21 @@
<from uri="direct:moo"/>
<log message="Me Got ${body}" loggerRef="myLogger"/>
<to uri="mock:baz"/>
-</route></code></pre> </div> </div> <div class="sect2"> <h3 id="_configuring_logging_name"><a class="anchor" href="#_configuring_logging_name"></a>Configuring logging name</h3> <div class="paragraph"> <p>The log message will be logged at <code>INFO</code> level using the route id as the logger name (or source name:line if source location is enabled, see TIP below). So for example, if you have not assigned an id to the route, then Camel will use <code>route-1</code>, <code>route-2</ [...]
+</route></code></pre> </div> </div> <div class="sect2"> <h3 id="_configuring_logging_name"><a class="anchor" href="#_configuring_logging_name"></a>Configuring logging name</h3> <div class="paragraph"> <p>The log message will be logged at <code>INFO</code> level using the route id as the logger name (or source name:line if source location is enabled, see TIP below). So for example, if you have not assigned an id to the route, then Camel will use <code>route-1</code>, <code>route-2</ [...]
.log("Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> </dl> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="fooRoute">
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route id="fooRoute">
<from uri="direct:start"/>
<log message="Processing ${id}"/>
<to uri="bean:foo"/>
-</route></code></pre> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> If you enable <code>sourceLocationEnabled=true</code> on <code>CamelContext</code> then Camel will use source file:line as logger name, instead of the route id. This is for example what <code>camel-jbang</code> do, to make it easy to see where in the source code the log is loc [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> If you enable <code>sourceLocationEnabled=true</code> on <code>CamelContext</code> then Camel will use source file:line as logger name, instead of the route id. This is for example what <code>camel-jbang</code> do, to make it easy to see where in the source code the log [...]
<properties>
<property key="CamelLogEipName" value="com.foo.myapp"/>
</properties>
-</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_masking_sensitive_information_like_password"><a class="anchor" href="#_masking_sensitive_information_like_password"></a>Masking sensitive information like password</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can enable security masking for logging by setting <code>logMask</code> flag to <code>true</code>. Note that this option also affects the <a href="../log [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_masking_sensitive_information_like_password"><a class="anchor" href="#_masking_sensitive_information_like_password"></a>Masking sensitive information like password</h2> <div class="sectionbody"> <div class="paragraph"> <p>You can enable security masking for logging by setting <code>logMask</code> flag to <code>true</code>. Note that this option also affects the <a href= [...]
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>You can also turn it on|off at route level. To enable mask in at route level:</p> </div> <div id="_tabs_3" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_3_java" class="tab"> <p>Java</p> </li> <li id="_tabs_3_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_3_java--panel" class="tabpanel" aria-labelledby="_tabs_3_j [...]
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>You can also turn it on|off at route level. To enable mask in at route level:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_5_java" class="tab"> <p>Java</p> </li> <li id="_tabs_5_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_5_java--panel" class="tabpanel" aria-labelledby="_tabs_5_j [...]
.log("Processing ${id}")
- .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route logMask="true">
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route logMask="true">
</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_using_custom_masking_formatter"><a class="anchor" href="#_using_custom_masking_formatter"></a>Using custom masking formatter</h3> <div class="paragraph"> <p><code>org.apache.camel.support.processor.DefaultMaskingFormatter</code> is used for the masking by default. If you want to use a custom masking formatter, put it into registry with the name <code>CamelCustomLogMask</code>. Note that the maskin [...]
formatter.addKeyword("mySpecialKeyword");
diff --git a/components/next/eips/loop-eip.html b/components/next/eips/loop-eip.html
index 089d09ae..d6842fba 100644
--- a/components/next/eips/loop-eip.html
+++ b/components/next/eips/loop-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Loop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loop-eip.html"> <meta name="description" content="Processes a message multiple times"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Loop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/loop-eip.html"> <meta name="description" content="Processes a message multiple times"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
.loop(8)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/next/eips/marshal-eip.html b/components/next/eips/marshal-eip.html
index f6cb66aa..01eaba21 100644
--- a/components/next/eips/marshal-eip.html
+++ b/components/next/eips/marshal-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Marshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/marshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Marshal EIP"> <meta pr [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Marshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/marshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Marshal EIP"> <meta pr [...]
.unmarshal().jaxb()
.to("bean:validateOrder")
.marshal().jaxb()
diff --git a/components/next/eips/message-broker.html b/components/next/eips/message-broker.html
index 6752994b..755b79c0 100644
--- a/components/next/eips/message-broker.html
+++ b/components/next/eips/message-broker.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Broker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-broker.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Broker"> [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Broker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-broker.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Broker"> [...]
\ No newline at end of file
diff --git a/components/next/eips/message-bus.html b/components/next/eips/message-bus.html
index 397cdf4d..238a52c4 100644
--- a/components/next/eips/message-bus.html
+++ b/components/next/eips/message-bus.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-bus.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Bus"> <meta pr [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Bus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-bus.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Bus"> <meta pr [...]
.to("jms:inbox");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<to uri="jms:inbox"/>
diff --git a/components/next/eips/message-channel.html b/components/next/eips/message-channel.html
index 1a74ff65..962f5fc9 100644
--- a/components/next/eips/message-channel.html
+++ b/components/next/eips/message-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Channe [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Channe [...]
.to("jms:queue:foo")</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/next/eips/message-dispatcher.html b/components/next/eips/message-dispatcher.html
index 7af37e52..e1206673 100644
--- a/components/next/eips/message-dispatcher.html
+++ b/components/next/eips/message-dispatcher.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Dispatcher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-dispatcher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Dispatcher :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-dispatcher.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
\ No newline at end of file
diff --git a/components/next/eips/message-endpoint.html b/components/next/eips/message-endpoint.html
index 47829a64..86ee9714 100644
--- a/components/next/eips/message-endpoint.html
+++ b/components/next/eips/message-endpoint.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Endpoint :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-endpoint.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Endp [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Endpoint :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-endpoint.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Endp [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:messages/foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/next/eips/message-expiration.html b/components/next/eips/message-expiration.html
index 4fa72871..ef9efbb6 100644
--- a/components/next/eips/message-expiration.html
+++ b/components/next/eips/message-expiration.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Expiration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-expiration.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Expiration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-expiration.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
.to("jms:queue:cheese?timeToLive=5000");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
<to uri="jms:queue:cheese?timeToLive=5000"/>
diff --git a/components/next/eips/message-history.html b/components/next/eips/message-history.html
index d3b685fa..b4e111ba 100644
--- a/components/next/eips/message-history.html
+++ b/components/next/eips/message-history.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message History :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-history.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Histor [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message History :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-history.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Histor [...]
</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Or when using Spring Boot or Quarkus, you can enable this in the configuration file:</p> </div> <div id="_tabs_2" class="openblock tabs is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_quarkus" class="tab"> <p>Quarkus</p> </li> <li id="_tabs_2_spring_boot" class="tab"> <p>Spring Boot</p> </li> </ul> </div> <div id="_tabs_2_quarkus--panel" class="tabpanel" ar [...]
.messageHistory()
diff --git a/components/next/eips/message-router.html b/components/next/eips/message-router.html
index cbdd55a8..76e6774d 100644
--- a/components/next/eips/message-router.html
+++ b/components/next/eips/message-router.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-router.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Router"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Router :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-router.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message Router"> [...]
.choice()
.when(simple("${header.foo} == 'bar'"))
.to("direct:b")
diff --git a/components/next/eips/message-translator.html b/components/next/eips/message-translator.html
index 4a3fa35c..645a1519 100644
--- a/components/next/eips/message-translator.html
+++ b/components/next/eips/message-translator.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Translator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-translator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message Translator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message-translator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:cheese"/>
diff --git a/components/next/eips/message.html b/components/next/eips/message.html
index 4b5e7ecc..45c59d56 100644
--- a/components/next/eips/message.html
+++ b/components/next/eips/message.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message"> <meta property="og:s [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Message :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/message.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Message"> <meta property="og:s [...]
\ No newline at end of file
diff --git a/components/next/eips/messaging-bridge.html b/components/next/eips/messaging-bridge.html
index 99fae76b..b49cc5d5 100644
--- a/components/next/eips/messaging-bridge.html
+++ b/components/next/eips/messaging-bridge.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Bridge :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-bridge.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Br [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Bridge :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-bridge.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Br [...]
.to("jms:queue:foo")</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="mq:queue:foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/next/eips/messaging-gateway.html b/components/next/eips/messaging-gateway.html
index e428ccc0..964e7d8a 100644
--- a/components/next/eips/messaging-gateway.html
+++ b/components/next/eips/messaging-gateway.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-gateway.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Gateway :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-gateway.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging [...]
\ No newline at end of file
diff --git a/components/next/eips/messaging-mapper.html b/components/next/eips/messaging-mapper.html
index bc6bee1c..f4a2efed 100644
--- a/components/next/eips/messaging-mapper.html
+++ b/components/next/eips/messaging-mapper.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Mapper :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-mapper.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Ma [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Messaging Mapper :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/messaging-mapper.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Messaging Ma [...]
\ No newline at end of file
diff --git a/components/next/eips/multicast-eip.html b/components/next/eips/multicast-eip.html
index 5e9aac47..3b4fbcfa 100644
--- a/components/next/eips/multicast-eip.html
+++ b/components/next/eips/multicast-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Multicast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/multicast-eip.html"> <meta name="description" content="Routes the same message to multiple paths either sequentially or in parallel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Multicast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/multicast-eip.html"> <meta name="description" content="Routes the same message to multiple paths either sequentially or in parallel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
.multicast()
.to("direct:x")
.to("direct:y")
diff --git a/components/next/eips/normalizer.html b/components/next/eips/normalizer.html
index 29118acb..ee033b5c 100644
--- a/components/next/eips/normalizer.html
+++ b/components/next/eips/normalizer.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Normalizer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/normalizer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Normalizer"> <meta prope [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Normalizer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/normalizer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Normalizer"> <meta prope [...]
from("direct:start")
.choice()
.when().xpath("/employee").to("bean:normalizer?method=employeeToPerson")
diff --git a/components/next/eips/onFallback-eip.html b/components/next/eips/onFallback-eip.html
index 8f6a0994..30b421be 100644
--- a/components/next/eips/onFallback-eip.html
+++ b/components/next/eips/onFallback-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>On Fallback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/onFallback-eip.html"> <meta name="description" content="Route to be executed when Circuit Breaker EIP executes fallback"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>On Fallback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/onFallback-eip.html"> <meta name="description" content="Route to be executed when Circuit Breaker EIP executes fallback"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
\ No newline at end of file
diff --git a/components/next/eips/pipeline-eip.html b/components/next/eips/pipeline-eip.html
index 809f19c6..220be9ac 100644
--- a/components/next/eips/pipeline-eip.html
+++ b/components/next/eips/pipeline-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pipeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pipeline-eip.html"> <meta name="description" content="Routes the message to a sequence of processors."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pipeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pipeline-eip.html"> <meta name="description" content="Routes the message to a sequence of processors."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
.pipeline()
.to("bean:foo")
.to("bean:bar")
diff --git a/components/next/eips/point-to-point-channel.html b/components/next/eips/point-to-point-channel.html
index ee9d4bfc..f2a9b5b1 100644
--- a/components/next/eips/point-to-point-channel.html
+++ b/components/next/eips/point-to-point-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Point to Point Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/point-to-point-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Point to Point Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/point-to-point-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content=" [...]
.to("jms:queue:foo");
from("jms:queue:foo")
diff --git a/components/next/eips/pollEnrich-eip.html b/components/next/eips/pollEnrich-eip.html
index 2a05d7f8..81c54276 100644
--- a/components/next/eips/pollEnrich-eip.html
+++ b/components/next/eips/pollEnrich-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Poll Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pollEnrich-eip.html"> <meta name="description" content="Enriches messages with data polled from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Poll Enrich :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/pollEnrich-eip.html"> <meta name="description" content="Enriches messages with data polled from a secondary resource"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name= [...]
public Exchange aggregate(Exchange original, Exchange resource) {
// this is just an example, for real-world use-cases the
@@ -17,7 +17,7 @@
from("direct:start")
.pollEnrich("file:inbox?fileName=data.txt", 10000, aggregationStrategy)
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>In the example Camel will poll a file (timeout 10 seconds). The <code>AggregationStrategy</code> is then used to merge the file with the existing <code>Exchange</code>.</p> </div> <div class="paragraph"> <p>In XML DSL you use <code>pollEnrich</code> as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean id [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>In the example, Camel will poll a file (timeout 10 seconds). The <code>AggregationStrategy</code> is then used to merge the file with the existing <code>Exchange</code>.</p> </div> <div class="paragraph"> <p>In XML DSL you use <code>pollEnrich</code> as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><bean i [...]
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
@@ -27,7 +27,7 @@ from("direct:start")
</pollEnrich>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_poll_enrich_with_rest_dsl"><a class="anchor" href="#_using_poll_enrich_with_rest_dsl"></a>Using Poll Enrich with Rest DSL</h3> <div class="paragraph"> <p>You can also use <code>pollEnrich</code> with <a href="../../../manual/rest-dsl.html" class="xref page">Rest DSL</a> to for example download a file from <a href="../aws2-s3-component.html" class="xref page">AWS S3</a> as the response of an API cal [...]
+</camelContext></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_poll_enrich_with_rest_dsl"><a class="anchor" href="#_using_poll_enrich_with_rest_dsl"></a>Using Poll Enrich with Rest DSL</h3> <div class="paragraph"> <p>You can also use <code>pollEnrich</code> with <a href="../../../manual/rest-dsl.html" class="xref page">Rest DSL</a> to, for example, download a file from <a href="../aws2-s3-component.html" class="xref page">AWS S3</a> as the response of an API c [...]
<description>Report REST API</description>
<get path="/{id}/payload">
<route id="report-payload-download">
@@ -36,7 +36,7 @@ from("direct:start")
</pollEnrich>
</route>
</get>
-</rest></code></pre> </div> </div> <div class="paragraph"> <p>Notice that the enriched endpoint is a constant, however Camel also supports dynamic endpoints which is covered next.</p> </div> </div> <div class="sect2"> <h3 id="_poll_enrich_with_dynamic_endpoints"><a class="anchor" href="#_poll_enrich_with_dynamic_endpoints"></a>Poll Enrich with Dynamic Endpoints</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed [...]
+</rest></code></pre> </div> </div> <div class="paragraph"> <p>Notice that the enriched endpoint is a constant, however, Camel also supports dynamic endpoints which is covered next.</p> </div> </div> <div class="sect2"> <h3 id="_poll_enrich_with_dynamic_endpoints"><a class="anchor" href="#_poll_enrich_with_dynamic_endpoints"></a>Poll Enrich with Dynamic Endpoints</h3> <div class="paragraph"> <p>Both <code>enrich</code> and <code>pollEnrich</code> supports using dynamic uris computed [...]
.pollEnrich().simple("seda:${header.queueName}")
.to("direct:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
diff --git a/components/next/eips/polling-consumer.html b/components/next/eips/polling-consumer.html
index 0fa8a5ad..0e66d532 100644
--- a/components/next/eips/polling-consumer.html
+++ b/components/next/eips/polling-consumer.html
@@ -1,6 +1,6 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Polling Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/polling-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Polling Cons [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Polling Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/polling-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Polling Cons [...]
PollingConsumer consumer = endpoint.createPollingConsumer();
-Exchange exchange = consumer.receive();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_pollingconsumer_api"><a class="anchor" href="#_pollingconsumer_api"></a>PollingConsumer API</h3> <div class="paragraph"> <p>There are three main polling methods on <a href="https://github.com/apache/camel/blob/main/core/camel-api/src/main/java/org/apache/camel/PollingConsumer.java">PollingConsumer</a>:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all str [...]
+Exchange exchange = consumer.receive();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_pollingconsumer_api"><a class="anchor" href="#_pollingconsumer_api"></a>PollingConsumer API</h3> <div class="paragraph"> <p>There are three main polling methods on <a href="https://github.com/apache/camel/blob/main/core/camel-api/src/main/java/org/apache/camel/PollingConsumer.java">PollingConsumer</a>:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all str [...]
context.getEndpoint("file:inbox?pollingConsumerQueueSize=50");
PollingConsumer consumer = endpoint.createPollingConsumer();
Exchange exchange = consumer.receive(5000);</code></pre> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apa [...]
\ No newline at end of file
diff --git a/components/next/eips/process-eip.html b/components/next/eips/process-eip.html
index 152c09bd..3e2d52b9 100644
--- a/components/next/eips/process-eip.html
+++ b/components/next/eips/process-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-eip.html"> <meta name="description" content="Calls a Camel processor"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-eip.html"> <meta name="description" content="Calls a Camel processor"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
public interface Processor {
/**
@@ -13,11 +13,11 @@ public interface Processor {
// do something...
}
}</code></pre> </div> </div> <div class="paragraph"> <p>Then in Camel you can call this processor:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("activemq:myQueue")
- .process(new MyProcessor());</code></pre> </div> </div> <div class="paragraph"> <p>You can also call a processor by its bean id, if the processor has been enlisted in the <a href="../../../manual/registry.html" class="xref page">Registry</a>, such as with the id <code>myProcessor</code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("activemq:myQueue")
- .process("myProcessor");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML you can refer to the fully qualified class name via <code>#class:</code> syntax:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .process(new MyProcessor());</code></pre> </div> </div> <div class="paragraph"> <p>You can also call a processor by its bean id, if the processor has been enlisted in the <a href="../../../manual/registry.html" class="xref page">Registry</a>, such as with the id <code>myProcessor</code>:</p> </div> <div id="_tabs_1" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_1_java" class="tab"> <p>Java</p> </li> <li id="_tabs_1_xml" [...]
+ .process("myProcessor");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="paragraph"> <p>And in XML you can refer to the fully qualified class name via <code>#class:</code> syntax:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:myQueue"/>
<process ref="#class:com.foo.MyProcessor"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>Or if you use Spring XML you can create the processor via <code><bean></code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><beans>
+</route></code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="paragraph"> <p>Or if you use Spring XML you can create the processor via <code><bean></code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><beans>
<bean id="myProcessor" class="com.foo.MyProcessor"/>
@@ -30,10 +30,10 @@ public interface Processor {
</routes>
</camelContext>
-</beans></code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_why_use_process_when_you_can_use_to_instead"><a class="anchor" href="#_why_use_process_when_you_can_use_to_instead"></a>Why use process when you can use to instead?</h3> <div class="paragraph"> <p>The process can be used in routes as an anonymous inner class such:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> [...]
+</beans></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_why_use_process_when_you_can_use_to_instead"><a class="anchor" href="#_why_use_process_when_you_can_use_to_instead"></a>Why use <code>process</code> when you can use <code>to</code> instead?</h3> <div class="paragraph"> <p>The process can be used in routes as an anonymous inner class such:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code c [...]
public void process(Exchange exchange) throws Exception {
String payload = exchange.getMessage().getBody(String.class);
// do something with the payload and/or exchange here
exchange.getMessage().setBody("Changed body");
}
- }).to("activemq:myOtherQueue");</code></pre> </div> </div> <div class="paragraph"> <p>This is usable for quickly whirling up some code. If the code in the inner class gets a bit more complicated it is of course advised to refactor it into a separate class.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a h [...]
\ No newline at end of file
+ }).to("activemq:myOtherQueue");</code></pre> </div> </div> <div class="paragraph"> <p>This is usable for quickly whirling up some code. If the code in the inner class gets a bit more complicated, it is advised to refactor it into a separate class.</p> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top [...]
\ No newline at end of file
diff --git a/components/next/eips/process-manager.html b/components/next/eips/process-manager.html
index 5a5149f6..893a20a2 100644
--- a/components/next/eips/process-manager.html
+++ b/components/next/eips/process-manager.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-manager.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Process Manage [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Process Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/process-manager.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Process Manage [...]
\ No newline at end of file
diff --git a/components/next/eips/publish-subscribe-channel.html b/components/next/eips/publish-subscribe-channel.html
index 6d6ead28..d062e45e 100644
--- a/components/next/eips/publish-subscribe-channel.html
+++ b/components/next/eips/publish-subscribe-channel.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Publish Subscribe Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/publish-subscribe-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Publish Subscribe Channel :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/publish-subscribe-channel.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" con [...]
.to("jms:topic:cheese");
from("jms:topic:cheese")
diff --git a/components/next/eips/random-eip.html b/components/next/eips/random-eip.html
index 31db623a..0fcbdb73 100644
--- a/components/next/eips/random-eip.html
+++ b/components/next/eips/random-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Random :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/random-eip.html"> <meta name="description" content="The destination endpoints are selected by random."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Random :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/random-eip.html"> <meta name="description" content="The destination endpoints are selected randomly."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
.loadBalance().ramdom()
.to("seda:x")
.to("seda:y")
diff --git a/components/next/eips/recipientList-eip.html b/components/next/eips/recipientList-eip.html
index e5be3ad2..a9cb1893 100644
--- a/components/next/eips/recipientList-eip.html
+++ b/components/next/eips/recipientList-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Recipient List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/recipientList-eip.html"> <meta name="description" content="Route messages to a number of dynamically specified recipients"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Recipient List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/recipientList-eip.html"> <meta name="description" content="Route messages to a number of dynamically specified recipients"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
.recipientList(constant("seda:x,seda:y,seda:z"));</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:a"/>
<recipientList>
@@ -12,18 +12,18 @@
</recipientList>
</route></code></pre> </div> </div> </div> </div> </div> <div class="sect3"> <h4 id="_how_is_dynamic_destinations_evaluated"><a class="anchor" href="#_how_is_dynamic_destinations_evaluated"></a>How is dynamic destinations evaluated</h4> <div class="paragraph"> <p>The dynamic list of recipients that are defined in the header must be iterable such as:</p> </div> <div class="ulist"> <ul> <li> <p><code>java.util.Collection</code></p> </li> <li> <p><code>java.util.Iterator</code></p> </ [...]
<from uri="direct:a"/>
- <!-- use semi-colon as a delimiter for String based values -->
+ <!-- use semicolon as a delimiter for String-based values -->
<recipientList delimiter=";">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>So if <strong>myHeader</strong> contains a <code>String</code> with the value <code>"activemq:queue:foo;activemq:topic:hello ; log:bar"</code> then Camel will split the <code>String</code> using the delimiter given in the XML that was comma, resulting into 3 endpoints to send to. You can use spaces between the endpoints as Camel will trim the value when it look up the endpoint to send to.</p> </div> <div class="paragrap [...]
- .recipientList(header("myHeader"), ";");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_parallel_processing"><a class="anchor" href="#_using_parallel_processing"></a>Using parallel processing</h3> <div class="paragraph"> <p>The Recipient List supports <code>parallelProcessing</code> similar to what <a href="multicast-eip.html" class="xref page">Multicast</a> and <a href="split-eip.html" class="xref page">Split</a> EIPs have as well. When using parallel processin [...]
+</route></code></pre> </div> </div> <div class="paragraph"> <p>So if <strong>myHeader</strong> contains a <code>String</code> with the value <code>"activemq:queue:foo;activemq:topic:hello ; log:bar"</code> then Camel will split the <code>String</code> using the delimiter given in the XML that was comma, resulting into three endpoints to send to. You can use spaces between the endpoints as Camel will trim the value when it looks up the endpoint to send to.</p> </div> <div class="par [...]
+ .recipientList(header("myHeader"), ";");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_using_parallel_processing"><a class="anchor" href="#_using_parallel_processing"></a>Using parallel processing</h3> <div class="paragraph"> <p>The Recipient List supports <code>parallelProcessing</code> similar to what <a href="multicast-eip.html" class="xref page">Multicast</a> and <a href="split-eip.html" class="xref page">Split</a> EIPs have as well. When using parallel processin [...]
.recipientList(header("myHeader")).parallelProcessing();</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
<recipientList parallelProcessing="true">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the recipient list, [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the recipient list, [...]
.recipientList(header("whereTo")).stopOnException()
.to("mock:result");
@@ -55,13 +55,13 @@
<from uri="direct:baz"/>
<to uri="mock:baz"/>
</route>
-</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example suppose a message is sent with the header <code>whereTo=direct:foo,direct:bar,direct:baz</code> that means the recipient list sends messages to those 3 endpoints.</p> </div> <div class="paragraph"> <p>Now suppose that the <code>MyProcessor</code> is causing a failure and throws an exception. This means the Recipient List EIP will stop after this, and not the last route (direct:baz). [...]
+</routes></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In this example suppose a message is sent with the header <code>whereTo=direct:foo,direct:bar,direct:baz</code> that means the recipient list sends messages to those three endpoints.</p> </div> <div class="paragraph"> <p>Now suppose that the <code>MyProcessor</code> is causing a failure and throws an exception. This means the Recipient List EIP will stop after this, and not the last route (<code>di [...]
.recipientList(header("myHeader")).ignoreInvalidEndpoints();</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
<recipientList ignoreInvalidEndpoints="true">
<header>myHeader</header>
</recipientList>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then let us say the <code>myHeader</code> contains the following two endpoints <code>direct:foo,xxx:bar</code>. The first endpoint is valid and works. However, the second one is invalid and will just be ignored. Camel logs at DEBUG level about it, so you can see why the endpoint was invalid.</p> </div> </div> <div class="sect2"> <h3 id="_using_timeout"><a class="anchor" href="#_using_timeout"></a>Us [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then let us say the <code>myHeader</code> contains the following two endpoints <code>direct:foo,xxx:bar</code>. The first endpoint is valid and works. However, the second one is invalid and will just be ignored. Camel logs at DEBUG level about it, so you can see why the endpoint was invalid.</p> </div> </div> <div class="sect2"> <h3 id="_using_timeout"><a class="anchor" href="#_using_timeout"></a>Us [...]
.multicast(new AggregationStrategy() {
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
@@ -82,7 +82,7 @@ from("direct:a").delay(1000).to("mock:A").setBody(constant("A"));
from("direct:b").to("mock:B").setBody(constant("B"));
-from("direct:c").to("mock:C").setBody(constant("C"));</code></pre> </div> </div> <div class="paragraph"> <p>By default, if a timeout occurs the <code>AggregationStrategy</code> is not invoked. However, you can implement the <code>timeout</code> method: This allows you to deal with the timeout in the <code>AggregationStrategy</code> if you really need to.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title=" [...]
+from("direct:c").to("mock:C").setBody(constant("C"));</code></pre> </div> </div> <div class="paragraph"> <p>By default, if a timeout occurs the <code>AggregationStrategy</code> is not invoked. However, you can implement the <code>timeout</code> method: This allows you to deal with the timeout in the <code>AggregationStrategy</code> if you really need to.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title=" [...]
// the exchange pattern is InOnly initially when using a file route
.recipientList().constant("activemq:queue:inbox?exchangePattern=InOut")
- .to("file:outbox");</code></pre> </div> </div> <div class="admonitionblock warning"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-warning" title="Warning"></i> </td> <td class="content"> <div class="paragraph"> <p>The recipient list will not alter the original exchange pattern. So in the example above the exchange pattern will still be <code>InOnly</code> when the message is routed to the <code>file:outbox endpoint</code>. If you want to alter the excha [...]
\ No newline at end of file
+ .to("file:outbox");</code></pre> </div> </div> <div class="admonitionblock warning"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-warning" title="Warning"></i> </td> <td class="content"> <div class="paragraph"> <p>The recipient list will not alter the original exchange pattern. So in the example above the exchange pattern will still be <code>InOnly</code> when the message is routed to the <code>file:outbox endpoint</code>. If you want to alter the excha [...]
\ No newline at end of file
diff --git a/components/next/eips/removeHeader-eip.html b/components/next/eips/removeHeader-eip.html
index 7a7bed3b..899ccd2d 100644
--- a/components/next/eips/removeHeader-eip.html
+++ b/components/next/eips/removeHeader-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeHeader-eip.html"> <meta name="description" content="Removes a named header from the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeHeader-eip.html"> <meta name="description" content="Removes a named header from the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
.removeHeader("myHeader")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
@@ -10,4 +10,4 @@
- removeHeader:
name: myHeader
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="#">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" class="xref page">Remove [...]
\ No newline at end of file
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="#">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" class="xref page">Remove H [...]
\ No newline at end of file
diff --git a/components/next/eips/removeHeaders-eip.html b/components/next/eips/removeHeaders-eip.html
index 202cb4b7..dab55d79 100644
--- a/components/next/eips/removeHeaders-eip.html
+++ b/components/next/eips/removeHeaders-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeHeaders-eip.html"> <meta name="description" content="Removes message headers whose name matches a specified pattern"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeHeaders-eip.html"> <meta name="description" content="Removes message headers whose name matches a specified pattern"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
.removeHeaders("*")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
@@ -20,4 +20,4 @@
steps:
- removeHeaders: "Camel*"
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="#">Remove H [...]
\ No newline at end of file
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="#">Remove He [...]
\ No newline at end of file
diff --git a/components/next/eips/removeProperties-eip.html b/components/next/eips/removeProperties-eip.html
index cad1df4d..497209e7 100644
--- a/components/next/eips/removeProperties-eip.html
+++ b/components/next/eips/removeProperties-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Properties :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeProperties-eip.html"> <meta name="description" content="Removes message exchange properties whose name matches a specified pattern"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b2 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Properties :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeProperties-eip.html"> <meta name="description" content="Removes message exchange properties whose name matches a specified pattern"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b2 [...]
.removeProperties("*")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
@@ -10,4 +10,4 @@
<from uri="seda:b"/>
<removeProperties pattern="Foo*"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
diff --git a/components/next/eips/removeProperty-eip.html b/components/next/eips/removeProperty-eip.html
index 8b64a24e..a5c2bbe8 100644
--- a/components/next/eips/removeProperty-eip.html
+++ b/components/next/eips/removeProperty-eip.html
@@ -1,7 +1,7 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeProperty-eip.html"> <meta name="description" content="Removes a named property from the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeProperty-eip.html"> <meta name="description" content="Removes a named property from the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
.removeProperty("myProperty")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
<removeProperty name="myProperty"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a> - To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel provides the following EIPs for removing headers or exchange properties:</p> </div> <div class="ulist"> <ul> <li> <p><a href="removeHeader-eip.html" class="xref page">Remove Header</a>: To remove a single header</p> </li> <li> <p><a href="removeHeaders-eip.html" [...]
\ No newline at end of file
diff --git a/components/next/eips/removeVariable-eip.html b/components/next/eips/removeVariable-eip.html
index 43c4c493..fd350600 100644
--- a/components/next/eips/removeVariable-eip.html
+++ b/components/next/eips/removeVariable-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeVariable-eip.html"> <meta name="description" content="Removes a named variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Remove Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/removeVariable-eip.html"> <meta name="description" content="Removes a named variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
.removeVariable("myVar")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:b"/>
diff --git a/components/next/eips/requestReply-eip.html b/components/next/eips/requestReply-eip.html
index 497a17ea..43435de9 100644
--- a/components/next/eips/requestReply-eip.html
+++ b/components/next/eips/requestReply-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Request Reply :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/requestReply-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Request Reply"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Request Reply :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/requestReply-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Request Reply"> [...]
.to("bean:processMessage");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:someQueue?exchangePattern=InOut"/>
<to uri="bean:processMessage"/>
@@ -13,4 +13,4 @@
.to("jms:queue:one-way");
.setExchangePattern(ExchangePattern.InOut)
.to("jms:queue:in-and-out")
- .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
+ .log("InOut MEP received ${body}")</code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Using <code>setExchangePattern</code> to change the <a href="../../../manual/exchange-pattern.html" class="xref page">Exchange Pattern</a> is often only used in special use-cases where you must force to be using either <code>InOnly</code> or <code>InOut</code> mode [...]
\ No newline at end of file
diff --git a/components/next/eips/resequence-eip.html b/components/next/eips/resequence-eip.html
index 6bafa42b..0dac87df 100644
--- a/components/next/eips/resequence-eip.html
+++ b/components/next/eips/resequence-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resequence :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resequence-eip.html"> <meta name="description" content="Resequences (re-order) messages based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resequence :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resequence-eip.html"> <meta name="description" content="Resequences (re-order) messages based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
.resequence().body()
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This is equivalent to:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.resequence(body()).batch()
@@ -17,7 +17,7 @@
<simple>${body}</simple>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This sets the batch size to 300 and the batch timeout to 4000 ms (by default, the batch size is 100 and the timeout is 1000 ms).</p> </div> <div class="paragraph"> <p>So the above example will reorder messages in order of their bodies. Typically, you’d use a header rather than the body to order things; or maybe a part of the body. So you could replace this expression with:</p> </div> <div id=" [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This sets the batch size to 300 and the batch timeout to 4000 ms (by default, the batch size is 100, and the timeout is 1000 ms).</p> </div> <div class="paragraph"> <p>So the above example will reorder messages in order of their bodies. Typically, you’d use a header rather than the body to order things; or maybe a part of the body. So you could replace this expression with:</p> </div> <div id= [...]
.resequence(header("mySeqNo"))
.to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -25,7 +25,7 @@
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This reorders messages using a custom sequence number with the header name mySeqNo.</p> </div> <div class="sect2"> <h3 id="_allow_duplicates"><a class="anchor" href="#_allow_duplicates"></a>Allow Duplicates</h3> <div class="paragraph"> <p>When allowing duplicates then the resequencer retain duplicate message instead of keeping only last duplicated message.</p> </div> <div class="paragraph"> <p>In ba [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This reorders messages using a custom sequence number with the header name mySeqNo.</p> </div> <div class="sect2"> <h3 id="_allow_duplicates"><a class="anchor" href="#_allow_duplicates"></a>Allow Duplicates</h3> <div class="paragraph"> <p>When allowing duplicates, then the resequencer retains the duplicate message instead of keeping only the last duplicated message.</p> </div> <div class="paragraph" [...]
.resequence(header("mySeqNo")).allowDuplicates()
.to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -34,50 +34,50 @@
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_reverse_ordering"><a class="anchor" href="#_reverse_ordering"></a>Reverse Ordering</h3> <div class="paragraph"> <p>You can reverse the expression ordering. By default, the order is based on 0..9,A..Z, which would let messages with low numbers be ordered first, and thus also outgoing first. In some cases you want to reverse the ordering.</p> </div> <div class="paragraph"> <p>In batch mode, y [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_reverse_ordering"><a class="anchor" href="#_reverse_ordering"></a>Reverse Ordering</h3> <div class="paragraph"> <p>You can reverse the expression ordering. By default, the order is based on <code>0..9,A..Z</code>, which would let messages with low numbers be ordered first, and thus also outgoing first. In some cases, you want to reverse the ordering.</p> </div> <div class="paragraph"> <p>In [...]
.resequence(header("mySeqNo")).reverse()
- .to("mock:result")</code></pre> </div> </div> <div class="dlist"> <dl> <dt class="hdlist1">XML</dt> <dd> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<batchConfig reverse="true"/>
<header>mySeqNo</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </dd> </dl> </div> </div> </div> </div> <div class="sect2"> <h3 id="_ignoring_invalid_messages"><a class="anchor" href="#_ignoring_invalid_messages"></a>Ignoring invalid messages</h3> <div class="paragraph"> <p>The Resequencer throws a <code>CamelExchangeException</code> if the incoming Exchange is not valid for the resequencer such as, the expression cannot be evaluated due to a missing header.</p> </div> <div class="paragraph"> <p>You can ignor [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_ignoring_invalid_messages"><a class="anchor" href="#_ignoring_invalid_messages"></a>Ignoring invalid messages</h3> <div class="paragraph"> <p>The Resequencer throws a <code>CamelExchangeException</code> if the incoming Exchange is not valid for the resequencer such as, the expression cannot be evaluated due to a missing header.</p> </div> <div class="paragraph"> <p>You can ignore these kind [...]
.resequence(header("seqno")).batch()
// ignore invalid exchanges (they are discarded)
.ignoreInvalidExchanges()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_6_xml--panel" class="tabpanel" aria-labelledby="_tabs_6_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<batchConfig ignoreInvalidExchanges="true"/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This option is available for both batch and stream mode.</p> </div> </div> <div class="sect2"> <h3 id="_resequence_jms_messages_based_on_jmspriority"><a class="anchor" href="#_resequence_jms_messages_based_on_jmspriority"></a>Resequence JMS messages based on JMSPriority</h3> <div class="paragraph"> <p>It’s now much easier to use the Resequencer to resequence messages from JMS queues based on J [...]
- // sort by JMSPriority by allowing duplicates (message can have same JMSPriority)
- // and use reverse ordering so 9 is first output (most important), and 0 is last
- // use batch mode and fire every 3th second
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This option is available for both batch and stream mode.</p> </div> </div> <div class="sect2"> <h3 id="_resequence_jms_messages_based_on_jmspriority"><a class="anchor" href="#_resequence_jms_messages_based_on_jmspriority"></a>Resequence JMS messages based on JMSPriority</h3> <div class="paragraph"> <p>It’s now much easier to use the Resequencer to resequence messages from JMS queues based on J [...]
+ // sort by JMSPriority by allowing duplicates (the message can have the same JMSPriority)
+ // and use reverse ordering so 9 is the first output (most important), and 0 is the last
+ // use batch mode and fire every 3rd second
.resequence(header("JMSPriority")).batch().timeout(3000).allowDuplicates().reverse()
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Notice this is <strong>only</strong> possible in the <code>batch</code> mode of the Resequencer.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_stream_resequencing"><a class="anchor" href="#_stream_resequencing"></a>Stream Resequencing</h2> <div class="sectionbody"> <div class="paragraph"> <p>In streaming mode then the Resequencer will send out messages as soon as possible when a message with the [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>Notice this is <strong>only</strong> possible in the <code>batch</code> mode of the Resequencer.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_stream_resequencing"><a class="anchor" href="#_stream_resequencing"></a>Stream Resequencing</h2> <div class="sectionbody"> <div class="paragraph"> <p>In streaming mode, then the Resequencer will send out messages as soon as possible when a message with the [...]
.resequence(header("seqnum")).stream()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_6_xml--panel" class="tabpanel" aria-labelledby="_tabs_6_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The Resequencer keeps a backlog of pending messages in a backlog. The default capacity is 1000 elements, which can be configured:</p> </div> <div id="_tabs_7" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_7_java" class="tab"> <p>Java</p> </li> <li id="_tabs_7_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_7_java--panel [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The Resequencer keeps a backlog of pending messages in a backlog. The default capacity is 1000 elements, which can be configured:</p> </div> <div id="_tabs_8" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_8_java" class="tab"> <p>Java</p> </li> <li id="_tabs_8_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_8_java--panel [...]
.resequence(header("seqnum")).stream().capacity(5000).timeout(4000)
- .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result")</code></pre> </div> </div> </div> <div id="_tabs_8_xml--panel" class="tabpanel" aria-labelledby="_tabs_8_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig capacity="5000" timeout="4000"/>
<header>seqno</header>
<to uri="mock:result"/>
</resequence>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This uses a capacity of 5000 elements. And the timeout has been set to 4 seconds. In case of a timeout, then the resequencer disreards the current exepected sequence number, and moves to the next expected number.</p> </div> <div class="sect2"> <h3 id="_how_streaming_mode_works"><a class="anchor" href="#_how_streaming_mode_works"></a>How streaming mode works</h3> <div class="paragraph"> <p>The stream [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This uses a capacity of 5000 elements. And the timeout has been set to 4 seconds. In case of a timeout, then the resequencer disregards the current expected sequence number, and moves to the next expected number.</p> </div> <div class="sect2"> <h3 id="_how_streaming_mode_works"><a class="anchor" href="#_how_streaming_mode_works"></a>How streaming mode works?</h3> <div class="paragraph"> <p>The strea [...]
public String getFileName(Exchange exchange) {
return exchange.getIn().getBody(String.class);
@@ -97,9 +97,9 @@
}
}</code></pre> </div> </div> <div class="paragraph"> <p>And then you can use this expression in a Camel route:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:start")
.resequence(new MyFileNameExpression()).stream().timeout(2000)
- .to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_rejecting_old_messages"><a class="anchor" href="#_rejecting_old_messages"></a>Rejecting old messages</h3> <div class="paragraph"> <p>Rejecting old messages is used to prevent out of order messages from being sent, regardless of the event that delivered messages downstream (capacity, timeout, etc).</p> </div> <div class="paragraph"> <p>If enabled, the Resequencer will throw a <code>MessageRejectedExcept [...]
+ .to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_rejecting_old_messages"><a class="anchor" href="#_rejecting_old_messages"></a>Rejecting old messages</h3> <div class="paragraph"> <p>Rejecting old messages is used to prevent out of order messages from being sent, regardless of the event that delivered messages downstream (capacity, timeout, etc).</p> </div> <div class="paragraph"> <p>If enabled, the Resequencer will throw a <code>MessageRejectedExcept [...]
.resequence(header("seqno")).stream().timeout(1000).rejectOld()
- .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_8_xml--panel" class="tabpanel" aria-labelledby="_tabs_8_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_9_xml--panel" class="tabpanel" aria-labelledby="_tabs_9_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<resequence>
<streamConfig rejectOld="true" timeout="1000"/>
diff --git a/components/next/eips/resilience4j-eip.html b/components/next/eips/resilience4j-eip.html
index aaf65233..109090de 100644
--- a/components/next/eips/resilience4j-eip.html
+++ b/components/next/eips/resilience4j-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4j-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Resilience4j [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4j-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Resilience4j [...]
.circuitBreaker()
.to("http://fooservice.com/faulty")
.onFallback()
@@ -15,9 +15,9 @@
</onFallback>
</circuitBreaker>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In case the calling the downstream HTTP service is failing, and an exception is thrown, then the circuit breaker will react and execute the fallback route instead.</p> </div> <div class="paragraph"> <p>If there was no fallback, then the circuit breaker will throw an exception.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip [...]
.circuitBreaker()
- // use 2 second timeout
+ // use a 2-second timeout
.resilience4jConfiguration().timeoutEnabled(true).timeoutDuration(2000).end()
.log("Resilience processing start: ${threadName}")
.to("http://fooservice.com/faulty")
@@ -43,7 +43,7 @@ from("direct:start")
.throwException(new IllegalArgumentException("Forced"))
.end()
.to("log:result")
- .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
+ .to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This example is from a test, where you can see the Circuit Breaker EIP block has been hardcoded to always fail by throwing an exception. Because the <code>inheritErrorHandler</code> has been enabled, then Camel’s error handler will attempt to call the Circuit Breaker EIP block again.</p> </div> <div class="paragraph"> <p>That means the <code>mock:a</code> endpoint will receive the message again, and a tot [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-resilience4j</artifactId>
<version>x.x.x</version><!-- use the same version as your Camel core version -->
diff --git a/components/next/eips/resilience4jConfiguration-eip.html b/components/next/eips/resilience4jConfiguration-eip.html
index c669b757..2d84a9d9 100644
--- a/components/next/eips/resilience4jConfiguration-eip.html
+++ b/components/next/eips/resilience4jConfiguration-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j Configuration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4jConfiguration-eip.html"> <meta name="description" content="Resilience4j Circuit Breaker EIP configuration"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.c [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j Configuration :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resilience4jConfiguration-eip.html"> <meta name="description" content="Resilience4j Circuit Breaker EIP configuration"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.c [...]
\ No newline at end of file
diff --git a/components/next/eips/resume-strategies.html b/components/next/eips/resume-strategies.html
index 766af2bc..ff418d8c 100644
--- a/components/next/eips/resume-strategies.html
+++ b/components/next/eips/resume-strategies.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resume Strategies :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resume-strategies.html"> <meta name="description" content="Provide strategies to allow consuming data from specific offsets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resume Strategies :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/resume-strategies.html"> <meta name="description" content="Provide strategies to allow consuming data from specific offsets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
.withBootstrapServers("kafka-address:9092")
.withTopic("offset")
.withProducerProperty("max.block.ms", "10000")
@@ -16,21 +16,21 @@ from("some:component")
from("some:component")
.resumable(new MyTestResumeStrategy())
- .process(this::process)</code></pre> </div> </div> <div class="paragraph"> <p>In some circumstances, such as when dealing with File I/O, it may be necessary to set the offset manually. There are <strong>supporting classes</strong> that can help work with resumables:</p> </div> <div class="ulist"> <ul> <li> <p><code>org.apache.camel.support.Resumables</code> - resumables handling support</p> </li> <li> <p><code>org.apache.camel.support.Offsets</code> - offset handling support</p> </li [...]
+ .process(this::process)</code></pre> </div> </div> <div class="paragraph"> <p>In some circumstances, such as when dealing with File I/O, it may be necessary to set the offset manually. There are <strong>supporting classes</strong> that can help work with resumables:</p> </div> <div class="ulist"> <ul> <li> <p><code>org.apache.camel.support.Resumables</code> - resumables handling support</p> </li> <li> <p><code>org.apache.camel.support.Offsets</code> - offset handling support</p> </li [...]
.resumable(new MyTestResumeStrategy()).intermittent(true)
-.process(this::process)</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_builtin_resume_strategies"><a class="anchor" href="#_builtin_resume_strategies"></a>Builtin Resume Strategies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with a few builtin strategies that can be used to store, retrieve and update the offsets. The following strategies are available:</p> </div> <div class="ulist"> <ul> <li> <p><code>SingleNodeKafkaResumeStrategy</ [...]
+.process(this::process)</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_builtin_resume_strategies"><a class="anchor" href="#_builtin_resume_strategies"></a>Builtin Resume Strategies</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel comes with a few builtin strategies that can be used to store, retrieve and update the offsets. The following strategies are available:</p> </div> <div class="ulist"> <ul> <li> <p><code>SingleNodeKafkaResumeStrategy</ [...]
.withBootstrapServers(bootStrapAddress)
.withTopic(kafkaTopic)
.build();</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_implementing_new_builtin_resume_strategies"><a class="anchor" href="#_implementing_new_builtin_resume_strategies"></a>Implementing New Builtin Resume Strategies</h3> <div class="paragraph"> <p>New builtin resume strategies can be created by implementing the <code>ResumeStrategy</code> interface. Check the code for <code>SingleNodeKafkaResumeStrategy</code> for implementation details.</p> </div> </div> </ [...]
.resumable("testResumeStrategy")
.convertBodyTo(Reader.class)
- .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p>Is different from the behavior of:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:{{input.dir}}?noop=true&fileName={{input.file}}")
+ .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p>It is different from the behavior of:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:{{input.dir}}?noop=true&fileName={{input.file}}")
.resumable("testResumeStrategy")
.convertBodyTo(InputStream.class)
- .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p><strong>Reason</strong>: the <code>skip</code> method in the Reader will skip characters, whereas the same method on the InputStream will skip bytes.</p> </div> </div> </div> <div class="sect1"> <h2 id="_pausable_consumers_api"><a class="anchor" href="#_pausable_consumers_api"></a>Pausable Consumers API</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Pausable consumers API is a subset of the [...]
+ .process(this::process);</code></pre> </div> </div> <div class="paragraph"> <p><strong>Reason</strong>: the <code>skip</code> method in the Reader will skip characters, whereas the same method on the InputStream will skip bytes.</p> </div> </div> </div> <div class="sect1"> <h2 id="_pausable_consumers_api"><a class="anchor" href="#_pausable_consumers_api"></a>Pausable Consumers API</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Pausable consumers API is a subset of the [...]
.pausable(new KafkaConsumerListener(), o -> canContinue())
.process(exchange -> LOG.info("Received an exchange: {}", exchange.getMessage().getBody()))
- .to(destination);</code></pre> </div> </div> <div class="paragraph"> <p>You can also integrate the pausable API and the consumer listener with the circuit breaker EIP. For instance, it’s possible to configure the circuit breaker so that it can manipulate the state of the listener based on success or on error conditions on the circuit.</p> </div> <div class="paragraph"> <p>One example, would be to create a event watcher that checks for a downstream system availability. It watche [...]
+ .to(destination);</code></pre> </div> </div> <div class="paragraph"> <p>You can also integrate the pausable API and the consumer listener with the circuit breaker EIP. For instance, it’s possible to configure the circuit breaker so that it can manipulate the state of the listener based on success or on error conditions on the circuit.</p> </div> <div class="paragraph"> <p>One example would be to create an event watcher that checks for a downstream system availability. It watche [...]
circuitBreaker.getEventPublisher()
.onSuccess(event -> {
diff --git a/components/next/eips/return-address.html b/components/next/eips/return-address.html
index d8524df5..c8a606ba 100644
--- a/components/next/eips/return-address.html
+++ b/components/next/eips/return-address.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Return Address :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/return-address.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Return Address"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Return Address :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/return-address.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Return Address"> [...]
.to(ExchangePattern.InOut, "jms:queue:cheese");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:foo"/>
<to pattern="InOut" uri="jms:queue:cheese"/>
diff --git a/components/next/eips/rollback-eip.html b/components/next/eips/rollback-eip.html
index 3fc0e387..a260d9c6 100644
--- a/components/next/eips/rollback-eip.html
+++ b/components/next/eips/rollback-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Rollback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/rollback-eip.html"> <meta name="description" content="Forces a rollback by stopping routing the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Rollback :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/rollback-eip.html"> <meta name="description" content="Forces a rollback by stopping routing the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
.choice().when(body().contains("error"))
.rollback("That do not work")
.otherwise()
@@ -13,7 +13,7 @@
<to uri="direct:continue"/>
</otherwise>
</choice>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When Camel is rolling back, then a <code>RollbackExchangeException</code> is thrown with the caused message "That do not work".</p> </div> <div class="sect2"> <h3 id="_marking_for_rollback_only"><a class="anchor" href="#_marking_for_rollback_only"></a>Marking for Rollback only</h3> <div class="paragraph"> <p>When a message is rolled back, then Camel will by default throw a <code>RollbackExchangeExce [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When Camel is rolling back, then a <code>RollbackExchangeException</code> is thrown with the cause message <code><em>"That do not work"</em></code>.</p> </div> <div class="sect2"> <h3 id="_marking_for_rollback_only"><a class="anchor" href="#_marking_for_rollback_only"></a>Marking for Rollback only</h3> <div class="paragraph"> <p>When a message is rolled back, then Camel will by default throw a <code [...]
.choice().when(body().contains("error"))
.markRollbackOnly()
.otherwise()
@@ -28,4 +28,4 @@
<to uri="direct:continue"/>
</otherwise>
</choice>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then no exception is thrown, but the message is marked to rollback and stopped continue routing.</p> </div> </div> <div class="sect2"> <h3 id="_using_rollback_with_transactions"><a class="anchor" href="#_using_rollback_with_transactions"></a>Using Rollback with Transactions</h3> <div class="paragraph"> <p>Rollback can be used together with <a href="transactional-client.html" class="xref page">transa [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then no exception is thrown, but the message is marked to rollback and stopped routing.</p> </div> </div> <div class="sect2"> <h3 id="_using_rollback_with_transactions"><a class="anchor" href="#_using_rollback_with_transactions"></a>Using Rollback with Transactions</h3> <div class="paragraph"> <p>Rollback can be used together with <a href="transactional-client.html" class="xref page">transactions</a [...]
\ No newline at end of file
diff --git a/components/next/eips/roundRobin-eip.html b/components/next/eips/roundRobin-eip.html
index bde8b52c..2afe7829 100644
--- a/components/next/eips/roundRobin-eip.html
+++ b/components/next/eips/roundRobin-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Round Robin :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/roundRobin-eip.html"> <meta name="description" content="The destination endpoints are selected in a round-robin fashion. This is a well known and classic policy, which spreads the load evenly."> <meta name="generator" content="Antora 3.1.7"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Round Robin :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/roundRobin-eip.html"> <meta name="description" content="The destination endpoints are selected in a round-robin fashion. This is a well-known and classic policy, which spreads the load evenly."> <meta name="generator" content="Antora 3.1.7"> < [...]
.loadBalance().roundRobin()
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML, you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<roundRobin/>
diff --git a/components/next/eips/routingSlip-eip.html b/components/next/eips/routingSlip-eip.html
index 7c775b0b..3abe11ee 100644
--- a/components/next/eips/routingSlip-eip.html
+++ b/components/next/eips/routingSlip-eip.html
@@ -1,10 +1,10 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Routing Slip :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/routingSlip-eip.html"> <meta name="description" content="Routes a message through a series of steps that are pre-determined (the slip)"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Routing Slip :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/routingSlip-eip.html"> <meta name="description" content="Routes a message through a series of steps that are pre-determined (the slip)"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
.routingSlip(header("whereTo"));</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:cheese"/>
<routingSlip>
<header>whereTo</header>
</routingSlip>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The value of the header ("whereTo") should be a comma-delimited string of endpoint URIs you wish the message to be routed to. The message will be routed in a <a href="pipeline-eip.html" class="xref page">pipeline</a> fashion, i.e., one after the other.</p> </div> <div class="paragraph"> <p>The Routing Slip sets a property, <code>Exchange.SLIP_ENDPOINT</code>, on the <code>Exchange</code> which conta [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The value of the header ("whereTo") should be a comma-delimited string of endpoint URIs you wish the message to be routed to. The message will be routed in a <a href="pipeline-eip.html" class="xref page">pipeline</a> fashion, i.e., one after the other.</p> </div> <div class="paragraph"> <p>The Routing Slip sets a property, <code>Exchange.SLIP_ENDPOINT</code>, on the <code>Exchange</code> which conta [...]
.routingSlip("myHeader").ignoreInvalidEndpoints();</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<routingSlip ignoreInvalidEndpoints="true">
diff --git a/components/next/eips/saga-eip.html b/components/next/eips/saga-eip.html
index 685495e4..09e2ce1b 100644
--- a/components/next/eips/saga-eip.html
+++ b/components/next/eips/saga-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Saga :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/saga-eip.html"> <meta name="description" content="Enables Sagas on the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Saga :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/saga-eip.html"> <meta name="description" content="Enables Sagas on the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lra</artifactId>
<!-- use the same version as your Camel core version -->
@@ -8,7 +8,7 @@
<artifactId>camel-undertow</artifactId>
<!-- use the same version as your Camel core version -->
<version>x.y.z</version>
-</dependency></code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The LRA implementation of the Saga EIP will add some web endpoints under the "/lra-participant" path. Those endpoints will be used by the LRA coordinator for calling back the application.</p> </div> </td> </tr> </table></div> </div> <div class="listingbloc [...]
+</dependency></code></pre> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The LRA implementation of the Saga EIP will add some web endpoints under the <code><em>"/lra-participant"</em></code> path. Those endpoints will be used by the LRA coordinator for calling back the application.</p> </div> </td> </tr> </table></div> </div> < [...]
org.apache.camel.service.lra.LRASagaService sagaService = new org.apache.camel.service.lra.LRASagaService();
sagaService.setCoordinatorUrl("http://lra-service-host");
sagaService.setLocalParticipantUrl("http://my-host-as-seen-by-lra-service:8080/context-path");
@@ -30,19 +30,19 @@ context.addService(sagaService);</code></pre> </div> </div> <div class="sect3">
lra:
enabled: true
coordinator-url: http://lra-service-host
- local-participant-url: http://my-host-as-seen-by-lra-service:8080/context-path</code></pre> </div> </div> <div class="paragraph"> <p>Once done, the Saga EIP can be directly used inside Camel routes, and it will use the LRA Saga Service under the hood.</p> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_examples"><a class="anchor" href="#_examples"></a>Examples</h2> <div class="sectionbody"> <div class="paragraph"> <p>Suppose you want to place a new order, and you have [...]
+ local-participant-url: http://my-host-as-seen-by-lra-service:8080/context-path</code></pre> </div> </div> <div class="paragraph"> <p>Once done, the Saga EIP can be directly used inside Camel routes, and it will use the LRA Saga Service under the hood.</p> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_examples"><a class="anchor" href="#_examples"></a>Examples</h2> <div class="sectionbody"> <div class="paragraph"> <p>Suppose you want to place a new order, and you have [...]
.saga()
.to("direct:newOrder")
- .to("direct:reserveCredit");</code></pre> </div> </div> <div class="paragraph"> <p><strong>That’s it</strong>. The buy action will not change for the rest of the examples. We’ll just see different options that can be used to model the "New Order" and "Reserve Credit" actions in the following.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div clas [...]
+ .to("direct:reserveCredit");</code></pre> </div> </div> <div class="paragraph"> <p><strong>That’s it</strong>. The buy action will not change for the rest of the examples. We’ll just see different options that can be used to model the "New Order" and "Reserve Credit" actions in the following.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div clas [...]
.saga()
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "newOrder")
- .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>Here the propagation mode is set to <em>MANDATORY</em> meaning that any exchange flowing in this route must be already part of a saga (and it is the case in this example, since the saga is created in the <em>direct:buy</em> route).</p> </div> <div class="paragraph"> <p>The <em>direct:newOrder</em> route declares a compensating action that is called <em>direct:cancelOrder</em>, responsible for undoing [...]
+ .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>Here the propagation mode is set to <code>MANDATORY</code> meaning that any exchange flowing in this route must be already part of a saga. And it is the case in this example, since the saga is created in the <code>direct:buy</code> route.</p> </div> <div class="paragraph"> <p>The <code>direct:newOrder</code> route declares a compensating action called <code>direct:cancelOrder</code>, responsible for [...]
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "cancelOrder")
- .log("Order ${body} cancelled");</code></pre> </div> </div> <div class="paragraph"> <p>It is called automatically by the Saga EIP implementation when the order should be cancelled.</p> </div> <div class="paragraph"> <p>It should not terminate with error. In case an error is thrown in the <em>direct:cancelOrder</em> route, the EIP implementation should periodically retry to execute the compensating action up to a certain limit. This means that <strong>any compensating action must be ide [...]
+ .log("Order ${body} cancelled");</code></pre> </div> </div> <div class="paragraph"> <p>It is called automatically by the Saga EIP implementation when the order should be canceled.</p> </div> <div class="paragraph"> <p>It should not terminate with error. In case an error is thrown in the <code>direct:cancelOrder</code> route, the EIP implementation should periodically retry to execute the compensating action up to a certain limit. This means that <strong>any compensating action must be [...]
from("direct:reserveCredit")
.saga()
.propagation(SagaPropagation.MANDATORY)
@@ -55,7 +55,7 @@ from("direct:reserveCredit")
from("direct:refundCredit")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(creditService, "refundCredit")
- .log("Credit for action ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p>Here the compensating action for a credit reservation is a refund.</p> </div> <div class="paragraph"> <p>This completes the example. It can be run with both implementations of the Saga EIP, as it does not involve remote endpoints.</p> </div> <div class="paragraph"> <p>Further, options will be shown next.</p> </div> <div class="sect2"> <h3 id="_handling_completion_events"><a class="anchor" [...]
+ .log("Credit for action ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p>Here the compensating action for a credit reservation is a refund.</p> </div> <div class="paragraph"> <p>This completes the example. It can be run with both implementations of the Saga EIP, as it does not involve remote endpoints.</p> </div> <div class="paragraph"> <p>Further, options will be shown next.</p> </div> <div class="sect2"> <h3 id="_handling_completion_events"><a class="anchor" [...]
.saga()
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
@@ -71,9 +71,9 @@ from("direct:completeOrder")
.transform().header(Exchange.SAGA_LONG_RUNNING_ACTION)
.bean(orderManagerService, "findExternalId")
.to("jms:prepareOrder")
- .log("Order ${body} sent for preparation");</code></pre> </div> </div> <div class="paragraph"> <p>When the Saga is completed, the order is sent to a JMS queue for preparation.</p> </div> <div class="paragraph"> <p>Like compensating actions, also completion actions may be called multiple times by the Saga coordinator (especially in case of errors, like network errors). In this example, the service listening to the <em>prepareOrder</em> JMS queue should be prepared to hold possible dupli [...]
+ .log("Order ${body} sent for preparation");</code></pre> </div> </div> <div class="paragraph"> <p>When the Saga is completed, the order is sent to a JMS queue for preparation.</p> </div> <div class="paragraph"> <p>Like compensating actions, also completion actions may be called multiple times by the Saga coordinator. Especially in case of errors, like network errors. In this example, the service listening to the <code>prepareOrder</code> JMS queue should be prepared to hold possible du [...]
from("direct:reserveCredit")
- .bean(idService, "generateCustomId") // generate a custom Id and set it in the body
+ .bean(idService, "generateCustomId") // generate a custom ID and set it in the body
.to("direct:creditReservation")
// delegate action
@@ -85,22 +85,22 @@ from("direct:creditReservation")
.bean(creditService, "reserveCredit")
.log("Credit ${header.amount} reserved. Custom Id used is ${body}");
-// called only if the saga is cancelled
+// called only if the saga is canceled
from("direct:creditRefund")
.transform(header("CreditId")) // retrieve the CreditId option from headers
.bean(creditService, "refundCredit")
- .log("Credit for Custom Id ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p><strong>Note how the previous listing is not using the <code>Exchange.SAGA_LONG_RUNNING_ACTION</code> header at all.</strong></p> </div> <div class="paragraph"> <p>Since the <em>direct:creditReservation</em> endpoint can be now called also from outside a Saga, the propagation mode can be set to <strong>SUPPORTS</strong>.</p> </div> <div class="paragraph"> <p><strong>Multiple options</st [...]
+ .log("Credit for Custom Id ${body} refunded");</code></pre> </div> </div> <div class="paragraph"> <p><strong>Note how the previous listing is not using the <code>Exchange.SAGA_LONG_RUNNING_ACTION</code> header at all.</strong></p> </div> <div class="paragraph"> <p>Since the <code>direct:creditReservation</code> endpoint can be now called also from outside a Saga, the propagation mode can be set to <code>SUPPORTS</code>.</p> </div> <div class="admonitionblock note"> <div class="table-wr [...]
.saga()
.timeout(1, TimeUnit.MINUTES) // newOrder requires that the saga is completed within 1 minute
.propagation(SagaPropagation.MANDATORY)
.compensation("direct:cancelOrder")
.completion("direct:completeOrder")
// ...
- .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>All participants (e.g. credit service, order service) can set their own timeout. When a participant joins an existing transaction, the timeout of the already active saga can be influenced. It should calculate the moment in time the saga would become eligible for cancellation based on the time which the request enters the method and the timeout. When this moment is earlier than the moment calculated f [...]
+ .log("Order ${body} created");</code></pre> </div> </div> <div class="paragraph"> <p>All participants, e.g., credit service, order service, can set their own timeout. When a participant joins an existing transaction, the timeout of the already active saga can be influenced. It should calculate the moment in time the saga would become eligible for cancellation based on the time which the request enters the method and the timeout. When this moment is earlier than the moment calculated [...]
.saga()
.timeout(5, TimeUnit.MINUTES) // timeout at saga level
.to("direct:newOrder")
- .to("direct:reserveCredit");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_choosing_propagation"><a class="anchor" href="#_choosing_propagation"></a>Choosing Propagation</h3> <div class="paragraph"> <p>In the examples above, we have used the <em>MANDATORY</em> and <em>SUPPORTS</em> propagation modes, but also the <em>REQUIRED</em> propagation mode, that is the default propagation used when nothing else is specified.</p> </div> <div class="paragraph"> <p>These propaga [...]
+ .to("direct:reserveCredit");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_choosing_propagation"><a class="anchor" href="#_choosing_propagation"></a>Choosing Propagation</h3> <div class="paragraph"> <p>In the examples above, we have used the <code>MANDATORY</code> and <code>SUPPORTS</code> propagation modes, but also the <code>REQUIRED</code> propagation mode, that is the default propagation used when nothing else is specified.</p> </div> <div class="paragraph"> <p>T [...]
.saga()
.completionMode(SagaCompletionMode.MANUAL)
.completion("direct:finalize")
@@ -120,7 +120,7 @@ from("seda:operationCompleted") // an asynchronous callback
.to("saga:complete") // complete the current saga manually (saga component)
.end()
-// You can put here the direct:finalize endpoint to execute final actions</code></pre> </div> </div> <div class="paragraph"> <p>Setting the completion mode to <em>MANUAL</em> means that the saga is not completed when the exchange is processed in the route <em>direct:mysaga</em> but it will last longer (max duration is set to 2 hours).</p> </div> <div class="paragraph"> <p>When both asynchronous actions are completed the saga is completed. The call to complete is done using the Camel Saga [...]
+// You can put here the direct:finalize endpoint to execute final actions</code></pre> </div> </div> <div class="paragraph"> <p>Setting the completion mode to <code>MANUAL</code> means that the saga is not completed when the exchange is processed in the route <code>direct:mysaga</code> but it will last longer (max duration is set to 2 hours).</p> </div> <div class="paragraph"> <p>When both asynchronous actions are completed, the saga is completed. The call to complete is done using the C [...]
<from uri="direct:start"/>
<saga>
<compensation uri="direct:compensation" />
diff --git a/components/next/eips/sample-eip.html b/components/next/eips/sample-eip.html
index 48ca5a3b..2d91764a 100644
--- a/components/next/eips/sample-eip.html
+++ b/components/next/eips/sample-eip.html
@@ -1,18 +1,18 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sample :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sample-eip.html"> <meta name="description" content="Extract a sample of the messages passing through a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sample :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sample-eip.html"> <meta name="description" content="Extract a sample of the messages passing through a route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.sample()
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
<sample>
<to uri="direct:sampled"/>
</sample>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_time_period"><a class="anchor" href="#_sampling_using_time_period"></a>Sampling using time period</h3> <div class="paragraph"> <p>The default time period is 1 second, but this can easily be configured. For example to sample 1 message per 5 seconds you can do:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_time_period"><a class="anchor" href="#_sampling_using_time_period"></a>Sampling using time period</h3> <div class="paragraph"> <p>The default time period is 1 second, but this can easily be configured. For example, to sample one message per 5 seconds, you can do:</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> [...]
.sample(5, TimeUnit.SECONDS)
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
<sample samplePeriod="5000">
<to uri="direct:sampled"/>
</sample>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_message_frequency"><a class="anchor" href="#_sampling_using_message_frequency"></a>Sampling using message frequency</h3> <div class="paragraph"> <p>The Sample EIP can also be configured to sample based on frequency instead of time period.</p> </div> <div class="paragraph"> <p>For example to sample every 10th message you can do:</p> </div> <div id="_tabs_3" class="openblock ta [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_sampling_using_message_frequency"><a class="anchor" href="#_sampling_using_message_frequency"></a>Sampling using message frequency</h3> <div class="paragraph"> <p>The Sample EIP can also be configured to sample based on frequency instead of a time period.</p> </div> <div class="paragraph"> <p>For example, to sample every 10th message you can do:</p> </div> <div id="_tabs_3" class="openblock [...]
.sample(10)
.to("direct:sampled");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:sample"/>
diff --git a/components/next/eips/scatter-gather.html b/components/next/eips/scatter-gather.html
index 48f6f12c..56e3c221 100644
--- a/components/next/eips/scatter-gather.html
+++ b/components/next/eips/scatter-gather.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Scatter Gather :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/scatter-gather.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Scatter Gather"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Scatter-Gather :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/scatter-gather.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Scatter-Gather"> [...]
<route>
<from uri="servlet:cheese"/>
@@ -8,7 +8,7 @@
<to uri="log:response"/>
</route>
-</routes></code></pre> </div> </div> <div class="paragraph"> <p>This is a basic example that only uses basic functionality of the <a href="recipientList-eip.html" class="xref page">Recipient List</a>. For more details how the aggregation works, see the <a href="recipientList-eip.html" class="xref page">Recipient List</a> documentation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_using_recipient_list_and_aggregate_eip"><a class="anchor" href="#_using_recipient_list_and_agg [...]
+</routes></code></pre> </div> </div> <div class="paragraph"> <p>This is a basic example that only uses basic functionality of the <a href="recipientList-eip.html" class="xref page">Recipient List</a>. For more details on how the aggregation works, see the <a href="recipientList-eip.html" class="xref page">Recipient List</a> documentation.</p> </div> </div> </div> <div class="sect1"> <h2 id="_using_recipient_list_and_aggregate_eip"><a class="anchor" href="#_using_recipient_list_and_ [...]
<route>
<from uri="direct:start"/>
@@ -27,7 +27,7 @@
</aggregate>
</route>
-</routes></code></pre> </div> </div> <div class="paragraph"> <p>So in the first route you see that the <a href="recipientList-eip.html" class="xref page">Recipient List</a> is looking at the listOfVendors header for the list of recipients. So, we need to send a message like:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Map<String, Object> headers = new HashMap<>();
+</routes></code></pre> </div> </div> <div class="paragraph"> <p>So in the first route, you see that the <a href="recipientList-eip.html" class="xref page">Recipient List</a> is looking at the listOfVendors header for the list of recipients. So, we need to send a message like:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Map<String, Object> headers = new HashMap<>();
headers.put("listOfVendors", "bean:vendor1,bean:vendor2,bean:vendor3");
headers.put("quoteRequestId", "quoteRequest-1");
@@ -65,7 +65,7 @@ template.sendBodyAndHeaders("direct:start", "<quote_request item=\"beer\"/>
<constructor-arg><value>3</value></constructor-arg>
</bean>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Each bean is loaded with a different price for beer. When the message is sent to each bean endpoint, it will arrive at the <code>MyVendor.quote</code> method. This method does a simple check whether this quote request is for beer and then sets the price of beer on the exchange for retrieval at a later step. The message is forwarded on to the next step using <a href="../../../manual/pojo-producing.html" class="xre [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Each bean is loaded with a different price for beer. When the message is sent to each bean endpoint, it will arrive at the <code>MyVendor.quote</code> method. This method does a simple check whether this quote request is for beer and then sets the price of beer on the exchange for retrieval at a later step. The message is forwarded on to the next step using <a href="../../../manual/pojo-producing.html" class="xre [...]
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
// the first time we only have the new exchange
@@ -79,4 +79,4 @@ template.sendBodyAndHeaders("direct:start", "<quote_request item=\"beer\"/>
return newExchange;
}
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>And finally the aggregator will assemble the response message with the best beer price (the lowest). Notice how the aggregator has timeout built-in, meaning that if one or more of the beer vendors does not respond, then the aggregator will discard those <em>late</em> responses, and send out a message with the <em>best price so far</em>.</p> </div> <div class="paragraph"> <p>The message is then continued to another route via the <cod [...]
\ No newline at end of file
+}</code></pre> </div> </div> <div class="paragraph"> <p>And finally, the aggregator will assemble the response message with the best beer price (the lowest). Notice how the aggregator has timeout built-in, meaning that if one or more of the beer vendors does not respond, then the aggregator will discard those <em>late</em> responses, and send out a message with the <em>best price so far</em>.</p> </div> <div class="paragraph"> <p>The message is then continued to another route via the <co [...]
\ No newline at end of file
diff --git a/components/next/eips/script-eip.html b/components/next/eips/script-eip.html
index 5227d813..2c53bebc 100644
--- a/components/next/eips/script-eip.html
+++ b/components/next/eips/script-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Script :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/script-eip.html"> <meta name="description" content="Executes a script from a language which does not change the message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Script :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/script-eip.html"> <meta name="description" content="Executes a script from a language which does not change the message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
.script().groovy("some groovy code goes here")
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -12,7 +12,7 @@
<groovy><![CDATA[ some groovy script here that can be multiple lines and whatnot ]]></groovy>
</script>
<to uri="bean:myServiceBean.processLine"/>
-</route></code></pre> </div> </div> </div> </div> <div class="sect2"> <h3 id="_scripting_context"><a class="anchor" href="#_scripting_context"></a>Scripting Context</h3> <div class="paragraph"> <p>The scripting context has access to the current <code>Exchange</code> and can essentially change the message or headers directly.</p> </div> </div> <div class="sect2"> <h3 id="_using_external_script_files"><a class="anchor" href="#_using_external_script_files"></a>Using external script fi [...]
+</route></code></pre> </div> </div> </div> </div> <div class="sect2"> <h3 id="_scripting_context"><a class="anchor" href="#_scripting_context"></a>Scripting Context</h3> <div class="paragraph"> <p>The scripting context has access to the current <code>Exchange</code> and can essentially change the message or headers directly.</p> </div> </div> <div class="sect2"> <h3 id="_using_external_script_files"><a class="anchor" href="#_using_external_script_files"></a>Using external script fi [...]
<from uri="file:inbox"/>
<script>
<groovy>resource:classpath:com/foo/myscript.groovy</groovy>
diff --git a/components/next/eips/selective-consumer.html b/components/next/eips/selective-consumer.html
index eb5c13df..107bbb66 100644
--- a/components/next/eips/selective-consumer.html
+++ b/components/next/eips/selective-consumer.html
@@ -1,8 +1,8 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Selective Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/selective-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Selectiv [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Selective Consumer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/selective-consumer.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Selectiv [...]
.to("bean:red");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:queue:hello?selector=color='red'"/>
<to uri="bean:red"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_selective_consumer_using_filter_eip"><a class="anchor" href="#_selective_consumer_using_filter_eip"></a>Selective Consumer using Filter EIP</h3> <div class="paragraph"> <p>The other approach is to use a <a href="filter-eip.html" class="xref page">Message Filter</a> which is applied; if the filter matches the message your "consumer" is invoked as shown in the following example:</p> </div> <d [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_selective_consumer_using_filter_eip"><a class="anchor" href="#_selective_consumer_using_filter_eip"></a>Selective Consumer using Filter EIP</h3> <div class="paragraph"> <p>The other approach is to use a <a href="filter-eip.html" class="xref page">Message Filter</a> which is applied; if the filter matches the message, your "consumer" is invoked as shown in the following example:</p> </div> < [...]
.filter(header("color").isEqualTo("red"))
.to("bean:red")</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:colors"/>
diff --git a/components/next/eips/service-activator.html b/components/next/eips/service-activator.html
index 71a7bb2c..e5f37d17 100644
--- a/components/next/eips/service-activator.html
+++ b/components/next/eips/service-activator.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Activator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/service-activator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Service Ac [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Activator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/service-activator.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Service Ac [...]
.to("bean:myService");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:invokeMyService"/>
<to uri="bean:myService"/>
diff --git a/components/next/eips/serviceCall-eip.html b/components/next/eips/serviceCall-eip.html
index fe4b619f..20fa738e 100644
--- a/components/next/eips/serviceCall-eip.html
+++ b/components/next/eips/serviceCall-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Call :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/serviceCall-eip.html"> <meta name="description" content="To call remote services"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Service Call :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/serviceCall-eip.html"> <meta name="description" content="To call remote services"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
.serviceCall("foo")
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
@@ -6,7 +6,7 @@
<serviceCall name="foo"/>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Camel will then:</p> </div> <div class="ulist"> <ul> <li> <p>search for a service call configuration from the Camel context and registry</p> </li> <li> <p>lookup a service with the name <code><code>foo</code></code> from an external service registry</p> </li> <li> <p>filter the servers</p> </li> <li> <p>select the server to use</p> </li> <li> <p>build a Camel URI using the chosen server info</p> </li> </ul> </div [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Camel will then:</p> </div> <div class="ulist"> <ul> <li> <p>search for a service call configuration from the Camel context and registry</p> </li> <li> <p>lookup a service with the name <code><code>foo</code></code> from an external service registry</p> </li> <li> <p>filter the servers</p> </li> <li> <p>select the server to use</p> </li> <li> <p>build a Camel URI using the chosen server info</p> </li> </ul> </div [...]
.serviceCall("foo/hello")
.to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>If you want to have more control over the uri construction, you can use the <strong>uri</strong> directive:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">URI</th> <th class="tableblock halign-left valign-top">Res [...]
.serviceCall("foo", "undertow:http://foo/hello")
@@ -14,7 +14,7 @@
.serviceCall()
.name("foo")
.expression()
- .simple("undertow:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_static_service_discovery"><a class="anchor" href="#_static_service_discovery"></a>Static Service Discovery</h3> <div class="paragraph"> <p>This service discovery implementation does not query any external services to find out the list of services associated to a named service but keep them in memory. Each [...]
+ .simple("undertow:http://${header.CamelServiceCallServiceHost}:${header.CamelServiceCallServicePort}/hello");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_static_service_discovery"><a class="anchor" href="#_static_service_discovery"></a>Static Service Discovery</h3> <div class="paragraph"> <p>This service discovery implementation does not query any external services to find out the list of services associated with a named service but keep them in memory. Eac [...]
.serviceCall("foo")
.staticServiceDiscovery()
.servers("service1@host1:80,service1@host2:80")
@@ -63,7 +63,7 @@
<artifactId>camel-kubernetes</artifactId>
<!-- use the same version as your Camel core version -->
<version>x.y.z</version>
-</dependency></code></pre> </div> </div> <div class="paragraph"> <p>Available options:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">Java Type</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top" [...]
+</dependency></code></pre> </div> </div> <div class="paragraph"> <p>Available options:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Name</th> <th class="tableblock halign-left valign-top">Java Type</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top" [...]
.serviceCall("foo")
.kubernetesServiceDiscovery()
.lookup("dns")
@@ -101,7 +101,7 @@
</serviceCall>
<to uri="mock:result"/>
</route>
-</camelContext></code></pre> </div> </div> </div> <div class="sect3"> <h4 id="_custom_service_filter"><a class="anchor" href="#_custom_service_filter"></a>Custom Service Filter</h4> <div class="paragraph"> <p>Service Filters choose suitable candidates from the service definitions found in the service discovery.</p> </div> <div class="paragraph"> <p>The service filter have access to the current exchange, which allows you to create service filters comparing service metadata with mess [...]
+</camelContext></code></pre> </div> </div> </div> <div class="sect3"> <h4 id="_custom_service_filter"><a class="anchor" href="#_custom_service_filter"></a>Custom Service Filter</h4> <div class="paragraph"> <p>Service Filters choose suitable candidates from the service definitions found in the service discovery.</p> </div> <div class="paragraph"> <p>The service filter has access to the current exchange, which allows you to create service filters comparing service metadata with messa [...]
Collections.singletonMap("supports", "foo")));</code></pre> </div> </div> <div class="paragraph"> <p>The current exchange has a property which says that it needs a foo service:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">exchange.setProperty("needs", "foo");</code></pre> </div> </div> <div class="paragraph"> <p>You can then use a <code>ServiceFilter</code> to select the service instan [...]
.serviceCall()
.name("service")
diff --git a/components/next/eips/setBody-eip.html b/components/next/eips/setBody-eip.html
index 85985697..5d320c28 100644
--- a/components/next/eips/setBody-eip.html
+++ b/components/next/eips/setBody-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Body :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setBody-eip.html"> <meta name="description" content="Sets the contents of the message body"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Body :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setBody-eip.html"> <meta name="description" content="Sets the contents of the message body"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
@@ -6,4 +6,4 @@
<simple>Hello ${body}</simple>
</setBody>
<to uri="log:hello"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_what_is_the_difference_between_transform_and_set_body"><a class="anchor" href="#_what_is_the_difference_between_transform_and_set_body"></a>What is the difference between Transform and Set Body</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Transform EIP always sets the result on the OUT message body.</p> </div> <div class="paragraph"> <p>Set Body sets the result accor [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_what_is_the_difference_between_transform_and_set_body"><a class="anchor" href="#_what_is_the_difference_between_transform_and_set_body"></a>What is the difference between Transform and Set Body?</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Transform EIP always sets the result on the OUT message body.</p> </div> <div class="paragraph"> <p>Set Body sets the result acco [...]
\ No newline at end of file
diff --git a/components/next/eips/setHeader-eip.html b/components/next/eips/setHeader-eip.html
index 608fce53..0e8c1f15 100644
--- a/components/next/eips/setHeader-eip.html
+++ b/components/next/eips/setHeader-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeader-eip.html"> <meta name="description" content="Sets the value of a message header"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeader-eip.html"> <meta name="description" content="Sets the value of a message header"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
.setHeader("myHeader", constant("test"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -6,7 +6,7 @@
<constant>test</constant>
</setHeader>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example the header value is a <a href="../../4.4.x/languages/constant-language.html" class="xref page">constant</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="uli [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example, the header value is a <a href="../../4.4.x/languages/constant-language.html" class="xref page">constant</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ul [...]
.setHeader("randomNumber", simple("${random(1,100)}"))
.to("direct:b");</code></pre> </div> </div> <div class="paragraph"> <p>Header can be set using fluent syntax.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:a")
.setHeader("randomNumber").simple("${random(1,100)}")
@@ -16,7 +16,7 @@
<simple>${random(1,100)}</simple>
</setHeader>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>See <a href="../../4.4.x/languages/jsonpath-language.html#_using_header_as_input" class="xref page">JSONPath</a> for another example.</p> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set a header with the value from another [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>See <a href="../../4.4.x/languages/jsonpath-language.html#_using_header_as_input" class="xref page">JSONPath</a> for another example.</p> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set a header with the value from another [...]
.setHeader("foo", header("bar"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/next/eips/setHeaders-eip.html b/components/next/eips/setHeaders-eip.html
index f6e6ca88..17701510 100644
--- a/components/next/eips/setHeaders-eip.html
+++ b/components/next/eips/setHeaders-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeaders-eip.html"> <meta name="description" content="Allows to set multiple headers on the message at the same time."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Headers :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setHeaders-eip.html"> <meta name="description" content="Allows setting multiple headers on the message at the same time."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta n [...]
.setHeaders("myHeader", constant("test"), "otherHeader", constant("other"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -21,7 +21,7 @@
- name: otherHeader
constant: other
- to:
- uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example the header values are <a href="../../4.4.x/languages/constant-language.html" class="xref page">constants</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div c [...]
+ uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>For example, the header values are <a href="../../4.4.x/languages/constant-language.html" class="xref page">constants</a>.</p> </div> <div class="paragraph"> <p>Any of the Camel languages can be used, such as <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a>.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div cla [...]
.setHeaders("randomNumber", simple("${random(1,100)}"), "body", simple("${body}"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -44,7 +44,7 @@
- name: body
simple: "${body}"
- to:
- uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set several headers where later ones depend on earlier ones.</p> </div> <div class="paragraph"> <p>In the example we first set the header foo to the body and then set bar based on comparing foo with a val [...]
+ uri:direct:b</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_a_header_from_another_header"><a class="anchor" href="#_setting_a_header_from_another_header"></a>Setting a header from another header</h3> <div class="paragraph"> <p>You can also set several headers where later ones depend on earlier ones.</p> </div> <div class="paragraph"> <p>In the example, we first set the header foo to the body and then set bar based on comparing foo with a va [...]
.setHeaders("foo", simple("${body}"), "bar", simple("${header.foo} > 10", Boolean.class))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/next/eips/setProperty-eip.html b/components/next/eips/setProperty-eip.html
index c8c87018..cef65b7a 100644
--- a/components/next/eips/setProperty-eip.html
+++ b/components/next/eips/setProperty-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setProperty-eip.html"> <meta name="description" content="Sets a named property on the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Property :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setProperty-eip.html"> <meta name="description" content="Sets a named property on the message exchange"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.setProperty("myProperty", constant("test"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -6,7 +6,7 @@
<constant>test</constant>
</setProperty>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_from_another_exchange_property"><a class="anchor" href="#_setting_an_exchange_property_from_another_exchange_property"></a>Setting an exchange property from another exchange property</h3> <div class="paragraph"> <p>You can also set an exchange property with the value from another exchange property.</p> </div> <div class="paragraph"> <p>In the example we set the exchang [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_from_another_exchange_property"><a class="anchor" href="#_setting_an_exchange_property_from_another_exchange_property"></a>Setting an exchange property from another exchange property</h3> <div class="paragraph"> <p>You can also set an exchange property with the value from another exchange property.</p> </div> <div class="paragraph"> <p>In the example, we set the exchan [...]
.setProperty("foo", exchangeProperty("bar"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -14,7 +14,7 @@
<exchangeProperty>bar</exchangeProperty>
</setProperty>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_with_the_current_message_body"><a class="anchor" href="#_setting_an_exchange_property_with_the_current_message_body"></a>Setting an exchange property with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set an exchange property with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> < [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_an_exchange_property_with_the_current_message_body"><a class="anchor" href="#_setting_an_exchange_property_with_the_current_message_body"></a>Setting an exchange property with the current message body</h3> <div class="paragraph"> <p>It is also possible to set an exchange property with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_t [...]
.setProperty("myBody", body())
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="paragraph"> <p>We use the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language to refer to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/next/eips/setVariable-eip.html b/components/next/eips/setVariable-eip.html
index bc507a89..f64064c6 100644
--- a/components/next/eips/setVariable-eip.html
+++ b/components/next/eips/setVariable-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setVariable-eip.html"> <meta name="description" content="Sets the value of a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Set Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/setVariable-eip.html"> <meta name="description" content="Sets the value of a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.setVariable("myVar", constant("test"))
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -14,7 +14,7 @@
<header>bar</header>
</setVariable>
<to uri="direct:b"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_variable_with_the_current_message_body"><a class="anchor" href="#_setting_variable_with_the_current_message_body"></a>Setting variable with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set an variable with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_tabs_3" class="openblock tabs is-syn [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_setting_variable_with_the_current_message_body"><a class="anchor" href="#_setting_variable_with_the_current_message_body"></a>Setting variable with the current message body</h3> <div class="paragraph"> <p>It is of course also possible to set a variable with a value from anything on the <code>Exchange</code> such as the message body:</p> </div> <div id="_tabs_3" class="openblock tabs is-sync [...]
.setVariable("myBody", body())
.to("direct:b");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="paragraph"> <p>We use the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language to refer to the message body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
diff --git a/components/next/eips/sort-eip.html b/components/next/eips/sort-eip.html
index 8f4afa53..06076098 100644
--- a/components/next/eips/sort-eip.html
+++ b/components/next/eips/sort-eip.html
@@ -1,8 +1,8 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sort :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sort-eip.html"> <meta name="description" content="Sorts the contents of the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sort :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sort-eip.html"> <meta name="description" content="Sorts the contents of the message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
.sort(body().tokenize("\n"))
- .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can pass in your own comparator as a 2nd argument:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
+ .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can pass in your own comparator as a second argument:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
.sort(body().tokenize("\n"), new MyReverseComparator())
- .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>In the route below it will read the file content and tokenize by line breaks so each line can be sorted. In XML you use the <a href="../../4.4.x/languages/tokenize-language.html" class="xref page">Tokenize</a> language as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("bean:MyServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>In the route below, it will read the file content and tokenize by line breaks so each line can be sorted. In XML, you use the <a href="../../4.4.x/languages/tokenize-language.html" class="xref page">Tokenize</a> language as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
<sort>
<tokenize>\n</tokenize>
diff --git a/components/next/eips/split-eip.html b/components/next/eips/split-eip.html
index f6e9df02..4066f520 100644
--- a/components/next/eips/split-eip.html
+++ b/components/next/eips/split-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Split :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/split-eip.html"> <meta name="description" content="Splits a single message into many sub-messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Split :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/split-eip.html"> <meta name="description" content="Splits a single message into many sub-messages."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
.split(body().tokenize("\n"))
.to("direct:b");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:a"/>
@@ -22,9 +22,9 @@
<xpath>//foo/bar</xpath>
<to uri="file:some/directory"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_splitting_the_message_body"><a class="anchor" href="#_splitting_the_message_body"></a>Splitting the message body</h3> <div class="paragraph"> <p>A common use case is to split a list/set/collection/map, array, or something that is iterable from the message body.</p> </div> <div class="paragraph"> <p>The Split EIP will by default split the message body based on the value type:</p> </div> <div class= [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_splitting_the_message_body"><a class="anchor" href="#_splitting_the_message_body"></a>Splitting the message body</h3> <div class="paragraph"> <p>A common use case is to split a list/set/collection/map, array, or something that is iterable from the message body.</p> </div> <div class="paragraph"> <p>The Split EIP will by default split the message body based on the value type:</p> </div> <div class= [...]
.split(body())
- .to("mock:result");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="paragraph"> <p>In XML you use <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> to refer to the message body:</p> </div> </dd> </dl> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("mock:result");</code></pre> </div> </div> </dd> <dt class="hdlist1">XML</dt> <dd> <div class="paragraph"> <p>In XML, you use <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> to refer to the message body:</p> </div> </dd> </dl> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:splitUsingBody"/>
<split>
<simple>${body}</simple>
@@ -42,7 +42,7 @@
<to uri="direct:c"/>
<to uri="direct:d"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the splitter, then m [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the splitter, then m [...]
.split(body()).parallelProcessing()
.to("direct:x")
.to("direct:y")
@@ -72,7 +72,7 @@
<to uri="direct:d"/>
</split>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure in one o [...]
+</route></code></pre> </div> </div> </div> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> <div class="paragraph"> <p>The Multicast, Recipient List, and Splitter EIPs have special support for using <code>AggregationStrategy</code> with access to the original input exchange. You may want to use this when you aggregate messages and there has been a failure in one o [...]
.split(body().tokenize(",")).streaming()
.to("activemq:my.parts");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:streaming"/>
@@ -88,7 +88,7 @@
<method ref="#class:com.foo.MyCustomSplitter" method="splitMe"/>
<to uri="activemq:my.parts"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then the custom bean could for example be implemented as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyCustomSplitter {
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Then the custom bean could, for example, be implemented as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public class MyCustomSplitter {
public List splitMe(Exchange exchange) {
Object body = exchange.getMessage().getBody();
@@ -97,7 +97,7 @@
// split the message body how you like
return answer;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>The bean should just return something that the splitter can work with when splitting, such as a <code>List</code> or <code>Iterator</code> etc.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> The bean method <code>splitMe</code> uses <code>Exchange</code> as parameter, however Camel supports <a href="../../../man [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>The bean should just return something that the splitter can work with when splitting, such as a <code>List</code> or <code>Iterator</code> etc.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> The bean method <code>splitMe</code> uses <code>Exchange</code> as parameter, however, Camel supports <a href="../../../ma [...]
<order>
<!-- order stuff here -->
</order>
@@ -108,7 +108,7 @@
<order>
<!-- order stuff here -->
</order>
-</orders></code></pre> </div> </div> <div class="paragraph"> <p>Now to split this big file using <a href="../../4.4.x/languages/xpath-language.html" class="xref page">XPath</a> would cause the entire content to be loaded into memory. So instead we can use the <a href="../../4.4.x/languages/tokenize-language.html" class="xref page">Tokenize</a> language to do this as follows:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ul [...]
+</orders></code></pre> </div> </div> <div class="paragraph"> <p>Now to split this big file using <a href="../../4.4.x/languages/xpath-language.html" class="xref page">XPath</a> would cause the entire content to be loaded into memory. So instead, we can use the <a href="../../4.4.x/languages/tokenize-language.html" class="xref page">Tokenize</a> language to do this as follows:</p> </div> <div id="_tabs_5" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="u [...]
.split().tokenizeXML("order").streaming()
.to("activemq:queue:order");</code></pre> </div> </div> </div> <div id="_tabs_5_xml--panel" class="tabpanel" aria-labelledby="_tabs_5_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -116,7 +116,7 @@
<tokenize token="order" xml="true"/>
<to uri="activemq:queue:order"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This will split the file using the tag name of the child nodes (more precisely speaking, the local name of the element without its namespace prefix if any), which mean it will grab the content between the <code><order></code> and <code></order></code> tags (incl. the tags).</p> </div> <div class="paragraph"> <p>So for example a split message would be structured as follows:</p> </div> <di [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>This will split the file using the tag name of the child nodes (more precisely speaking, the local name of the element without its namespace prefix if any), which mean it will grab the content between the <code><order></code> and <code></order></code> tags (incl. the tags).</p> </div> <div class="paragraph"> <p>So for example, a split message would be structured as follows:</p> </div> <d [...]
<!-- order stuff here -->
</order></code></pre> </div> </div> <div class="paragraph"> <p>If you want to inherit namespaces from a root/parent tag, then you can do this as well by providing the name of the root/parent tag:</p> </div> <div id="_tabs_6" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_6_java" class="tab"> <p>Java</p> </li> <li id="_tabs_6_xml" class="tab"> <p>XML</p> </li> </ul> </div> <div id="_tabs_6_java--panel" class="tabpanel" [...]
.split().tokenizeXML("order", "orders").streaming()
@@ -133,7 +133,7 @@ from("file:inbox")
.to("activemq:queue:order)</code></pre> </div> </div> <div class="paragraph"> <p>Two arguments control the behavior of the tokenizer:</p> </div> <div class="olist arabic"> <ol class="arabic"> <li> <p>The first argument specifies the element using a path notation This path notation uses a subset of xpath with wildcard support.</p> </li> <li> <p>The second argument represents the extraction mode.</p> </li> </ol> </div> <div class="paragraph"> <p>The available extraction modes are:</p> [...]
<m:order><id>123</id><date>2014-02-25</date>...</m:order>
...
-</m:orders></code></pre> </div> </div> <div class="paragraph"> <p>Each mode will result in the following tokens,</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Mode</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock">i</p></td> <td cla [...]
+</m:orders></code></pre> </div> </div> <div class="paragraph"> <p>Each mode will result in the following tokens:</p> </div> <div class="table-wrapper"><table class="tableblock frame-all grid-all stretch"> <colgroup> <col> <col> </colgroup> <thead> <tr> <th class="tableblock halign-left valign-top">Mode</th> <th class="tableblock halign-left valign-top">Description</th> </tr> </thead> <tbody> <tr> <td class="tableblock halign-left valign-top"><p class="tableblock">i</p></td> <td cla [...]
<route>
<from uri="file:inbox"/>
<split streaming="true">
@@ -141,7 +141,7 @@ from("file:inbox")
<to uri="activemq:queue:order"/>
</split>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>or setting the extraction mode explicitly as</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><xtokenize mode="i">//ns1:order</xtokenize></code></pre> </div> </div> <div class="paragraph"> <p>Note that this StAX based tokenizer uses StAX Location API and requires a StAX Reader implementation (such as Woodstox [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>or setting the extraction mode explicitly as</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><xtokenize mode="i">//ns1:order</xtokenize></code></pre> </div> </div> <div class="paragraph"> <p>Note that this StAX based tokenizer uses StAX Location API and requires a StAX Reader implementation (such as Woodstox [...]
.split().tokenize("\n", 1000).streaming()
.to("activemq:queue:order");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -149,9 +149,9 @@ from("file:inbox")
<tokenize token="\n" group="1000"/>
<to uri="activemq:queue:order"/>
</split>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The <code>group</code> value must be a positive number dictating how many elements to combine together in a group. Each part will be combined using the token.</p> </div> <div class="paragraph"> <p>In the example above the message being sent to the activemq order queue, will contain 1000 lines, and each line separated by the token (which is a new line token).</p> </div> <div class="paragraph"> <p>The [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The <code>group</code> value must be a positive number dictating how many elements to combine in a group. Each part will be combined using the token.</p> </div> <div class="paragraph"> <p>In the example above, the message being sent to the activemq order queue, will contain 1000 lines, and each line separated by the token (which is a new line token).</p> </div> <div class="paragraph"> <p>The output [...]
// the body is then split based on @ separator
-// the splitter in Camel supports InOut as well and for that we need
+// the splitter in Camel supports InOut as well, and for that we need
// to be able to aggregate what response we need to send back, so we provide our
// own strategy with the class MyOrderStrategy.
from("direct:start")
@@ -161,8 +161,8 @@ from("direct:start")
// this is important to end the splitter route as we do not want to do more routing
// on each split message
.end()
- // after we have split and handled each message we want to send a single combined
- // response back to the original caller, so we let this bean build it for us
+ // after we have split and handled each message, we want to send a single combined
+ // response back to the original caller, so we let this bean build it for us,
// this bean will receive the result of the aggregate strategy: MyOrderStrategy
.to("bean:MyOrderService?method=buildCombinedResponse")</code></pre> </div> </div> <div class="paragraph"> <p>And the OrderService bean is as follows:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">public static class MyOrderService {
@@ -188,7 +188,7 @@ from("direct:start")
* This is our own order aggregation strategy where we can control
* how each split message should be combined. As we do not want to
* loos any message we copy from the new to the old to preserve the
- * order lines as long we process them
+ * order lines as we process them
*/
public static class MyOrderStrategy implements AggregationStrategy {
@@ -215,7 +215,7 @@ public static class MyOrderStrategy implements AggregationStrategy {
// return old as this is the one that has all the orders gathered until now
return oldExchange;
}
-}</code></pre> </div> </div> <div class="paragraph"> <p>So lets run the sample and see how it works.</p> </div> <div class="paragraph"> <p>We send an Exchange to the direct:start endpoint containing a message body with the String value: <code>A@B@C</code>. The flow is:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-text hljs" data-lang="text">HandleOrder: A
+}</code></pre> </div> </div> <div class="paragraph"> <p>So let’s run the sample and see how it works.</p> </div> <div class="paragraph"> <p>We send an Exchange to the direct:start endpoint containing a message body with the String value: <code>A@B@C</code>. The flow is:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-text hljs" data-lang="text">HandleOrder: A
HandleOrder: B
Aggregate old orders: (id=1,item=A)
Aggregate new order: (id=2,item=B)
@@ -223,7 +223,7 @@ HandleOrder: C
Aggregate old orders: (id=1,item=A);(id=2,item=B)
Aggregate new order: (id=3,item=C)
BuildCombinedResponse: (id=1,item=A);(id=2,item=B);(id=3,item=C)
-Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_stop_processing_in_case_of_exception"><a class="anchor" href="#_stop_processing_in_case_of_exception"></a>Stop processing in case of exception</h3> <div class="paragraph"> <p>The Splitter will by default continue to process the entire Exchange even in case of one of the split message will throw an exception during routing.</p> </div> <div class="paragraph [...]
+Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_stop_processing_in_case_of_exception"><a class="anchor" href="#_stop_processing_in_case_of_exception"></a>Stop processing in case of exception</h3> <div class="paragraph"> <p>The Splitter will by default continue to process the entire Exchange even in case of one of the split messages will throw an exception during routing.</p> </div> <div class="paragrap [...]
.split(body().tokenize(",")).stopOnException()
.process(new MyProcessor())
.to("mock:split")
@@ -236,7 +236,7 @@ Response to caller: Response[(id=1,item=A);(id=2,item=B);(id=3,item=C)]</code></
<to uri="mock:split"/>
</split>
<to uri="direct:cheese"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Split EIP will stop after this, and not split anymore.</p> </div> </div> <div class="sect2"> <h3 id="_sharing_unit_of_work"><a class="anchor" href="#_sharing_unit_of_work"></a>Sharing unit of work</h3> <div class="paragraph"> <p>The Splitter will by default not share unit of work between [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, then <code>MyProcessor</code> is causing a failure and throws an exception. This means the Split EIP will stop after this, and not split anymore.</p> </div> </div> <div class="sect2"> <h3 id="_sharing_unit_of_work"><a class="anchor" href="#_sharing_unit_of_work"></a>Sharing unit of work</h3> <div class="paragraph"> <p>The Splitter will by default not share unit of work between [...]
.maximumRedeliveries(3).redeliveryDelay(0));
from("direct:start")
@@ -253,7 +253,7 @@ from("direct:start")
from("direct:line")
.to("log:line")
.process(new MyProcessor())
- .to("mock:line");</code></pre> </div> </div> <div class="paragraph"> <p>What would happen is that in case there is an exception thrown during splitting then the error handler will kick in (yes error handling still applies for the sub messages).</p> </div> <div class="paragraph"> <p>The error handler in this example is configured to retry up till 3 times. And when a split message fails all redelivery attempts (its exhausted), then this message is <strong>not</strong> moved into that d [...]
+ .to("mock:line");</code></pre> </div> </div> <div class="paragraph"> <p>What would happen is that in case there is an exception thrown during splitting, then the error handler will kick in (yes error handling still applies for the sub messages).</p> </div> <div class="paragraph"> <p>The error handler in this example is configured to retry up till three times. And when a split message fails all redelivery attempts (its exhausted), then this message is <strong>not</strong> moved into t [...]
<!-- define error handler as DLC, with use original message enabled -->
<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="mock:dead" useOriginalMessage="true">
@@ -282,4 +282,4 @@ from("direct:line")
<to uri="mock:line"/>
</route>
-</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Because <a href="multicast-eip.html" class="xref page">Multicast</a> EIP is baseline for the <a href="recipientList-eip.html" class="xref page">Recipient List</a> and Split EIPs, then you can find more information in those EIPs about features that is also available with Split [...]
\ No newline at end of file
+</camelContext></code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_see_also"><a class="anchor" href="#_see_also"></a>See Also</h2> <div class="sectionbody"> <div class="paragraph"> <p>Because <a href="multicast-eip.html" class="xref page">Multicast</a> EIP is a baseline for the <a href="recipientList-eip.html" class="xref page">Recipient List</a> and Split EIPs, then you can find more information in those EIPs about features that are also available with Sp [...]
\ No newline at end of file
diff --git a/components/next/eips/step-eip.html b/components/next/eips/step-eip.html
index 06b970d2..57c68961 100644
--- a/components/next/eips/step-eip.html
+++ b/components/next/eips/step-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Step :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/step-eip.html"> <meta name="description" content="Routes the message to a sequence of processors which is grouped together as one logical name"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Step :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/step-eip.html"> <meta name="description" content="Routes the message to a sequence of processors which is grouped together as one logical name"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c6 [...]
.step("foo")
.bean("foo")
.to("activemq:OutputQueue")
.end()
- .to("direct:bar");</code></pre> </div> </div> <div class="paragraph"> <p>As you can see this groups together <code>.bean("foo")</code> and <code>.to("activemq:OutputQueue")</code> into a logical unit with the name foo.</p> </div> <div class="paragraph"> <p>In XML you use the <code><step></code> tag:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("direct:bar");</code></pre> </div> </div> <div class="paragraph"> <p>As you can see this groups together <code>.bean("foo")</code> and <code>.to("activemq:OutputQueue")</code> into a logical unit with the name foo.</p> </div> <div class="paragraph"> <p>In XML, you use the <code><step></code> tag:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="activemq:SomeQueue"/>
<step id="foo">
<bean ref="foo"/>
@@ -28,4 +28,4 @@
<bean ref="something"/>
<to uri="log:Something"/>
</step>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_jmx_management_of_step_eip"><a class="anchor" href="#_jmx_management_of_step_eip"></a>JMX Management of Step EIP</h3> <div class="paragraph"> <p>Each Step EIP is registered in JMX under the <code>type=steps</code> tree, which allows to monitor all the steps in the CamelContext. It is also possible to dump statistics in XML format by the <code>dumpStepStatsAsXml</code> operations on the <code>Camel [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_jmx_management_of_step_eip"><a class="anchor" href="#_jmx_management_of_step_eip"></a>JMX Management of Step EIP</h3> <div class="paragraph"> <p>Each Step EIP is registered in JMX under the <code>type=steps</code> tree, which allows monitoring all the steps in the CamelContext. It is also possible to dump statistics in XML format by the <code>dumpStepStatsAsXml</code> operations on the <code>Camel [...]
\ No newline at end of file
diff --git a/components/next/eips/sticky-eip.html b/components/next/eips/sticky-eip.html
index be96d7ed..1a1086ae 100644
--- a/components/next/eips/sticky-eip.html
+++ b/components/next/eips/sticky-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sticky :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sticky-eip.html"> <meta name="description" content="Sticky load balancing using an expression to calculate a correlation key to perform the sticky load balancing."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Sticky :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/sticky-eip.html"> <meta name="description" content="Sticky load balancing using an expression to calculate a correlation key to perform the sticky load balancing."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../. [...]
.loadBalance().sticky(header("myKey"))
.to("seda:x")
.to("seda:y")
diff --git a/components/next/eips/stop-eip.html b/components/next/eips/stop-eip.html
index 31b1a8c1..59884057 100644
--- a/components/next/eips/stop-eip.html
+++ b/components/next/eips/stop-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Stop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/stop-eip.html"> <meta name="description" content="Stops the processing of the current message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Stop :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/stop-eip.html"> <meta name="description" content="Stops the processing of the current message"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
.choice()
.when(body().contains("Hello")).to("mock:hello")
.when(body().contains("Bye")).to("mock:bye").stop()
diff --git a/components/next/eips/streamConfig-eip.html b/components/next/eips/streamConfig-eip.html
index 3c20203a..ad67de95 100644
--- a/components/next/eips/streamConfig-eip.html
+++ b/components/next/eips/streamConfig-eip.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>StreamConfig :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/streamConfig-eip.html"> <meta name="description" content="Configures stream-processing resequence eip."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>StreamConfig :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/streamConfig-eip.html"> <meta name="description" content="Configures stream-processing resequence eip."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
\ No newline at end of file
diff --git a/components/next/eips/threads-eip.html b/components/next/eips/threads-eip.html
index c4459d03..39c80ffe 100644
--- a/components/next/eips/threads-eip.html
+++ b/components/next/eips/threads-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Threads :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/threads-eip.html"> <meta name="description" content="Specifies that all steps after this node are processed asynchronously"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Threads :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/threads-eip.html"> <meta name="description" content="Specifies that all steps after this node are processed asynchronously"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta nam [...]
.threads(5)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -16,4 +16,4 @@
<from uri="seda:a"/>
<threads poolSize="5" maxQueueSize="0"/>
<to uri="mock:result"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_about_rejected_tasks"><a class="anchor" href="#_about_rejected_tasks"></a>About rejected tasks</h3> <div class="paragraph"> <p>The Threads EIP uses a thread pool which has a worker queue for tasks. When the worker queue gets full, the task is rejected.</p> </div> <div class="paragraph"> <p>You can customize how to react upon this using the <code>rejectedPolicy</code> and <code>callerRunsWhenReject [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_about_rejected_tasks"><a class="anchor" href="#_about_rejected_tasks"></a>About rejected tasks</h3> <div class="paragraph"> <p>The Threads EIP uses a thread pool which has a worker queue for tasks. When the worker queue gets full, the task is rejected.</p> </div> <div class="paragraph"> <p>You can customize how to react upon this using the <code>rejectedPolicy</code> and <code>callerRunsWhenReject [...]
\ No newline at end of file
diff --git a/components/next/eips/throttle-eip.html b/components/next/eips/throttle-eip.html
index 3ead7de8..242a2c79 100644
--- a/components/next/eips/throttle-eip.html
+++ b/components/next/eips/throttle-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Throttle :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/throttle-eip.html"> <meta name="description" content="Controls the rate at which messages are passed to the next node in the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Throttle :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/throttle-eip.html"> <meta name="description" content="Controls the rate at which messages are passed to the next node in the route"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> [...]
.throttle(3).timePeriodMillis(10000)
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -14,7 +14,7 @@
constant: 3
timePeriodMillis: 10000
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To use 10-seconds window we set the <code>timePeriodMillis</code> to ten-thousand. The default value is 1000 (i.e. 1 second), meaning that setting just <code>throttle(3)</code> has the effect of setting the maximum number of requests per second.</p> </div> <div class="paragraph"> <p>To throttle by 50 requests per second, would look like this:</p> </div> <div id="_tabs_2" class="openblock [...]
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>To use 10-seconds window, we set the <code>timePeriodMillis</code> to ten-thousand. The default value is 1000 (i.e., 1 second), meaning that setting just <code>throttle(3)</code> has the effect of setting the maximum number of requests per second.</p> </div> <div class="paragraph"> <p>To throttle by 50 requests per second, it would look like this:</p> </div> <div id="_tabs_2" class="open [...]
.throttle(50)
.to("seda:b");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -29,7 +29,7 @@
expression:
constant: 50
- to:
- uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamically_changing_maximum_requests_per_period"><a class="anchor" href="#_dynamically_changing_maximum_requests_per_period"></a>Dynamically changing maximum requests per period</h3> <div class="paragraph"> <p>The Throttler uses an <a href="../../../manual/expression.html" class="xref page">Expression</a> to configure the number of requests. In all the examples from above, we used a < [...]
+ uri: mock:result</code></pre> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_dynamically_changing_maximum_requests_per_period"><a class="anchor" href="#_dynamically_changing_maximum_requests_per_period"></a>Dynamically changing maximum requests per period</h3> <div class="paragraph"> <p>The Throttler uses an <a href="../../../manual/expression.html" class="xref page">Expression</a> to configure the number of requests. In all the examples from above, we used a < [...]
.throttle(header("throttleValue")).timePeriodMillis(500)
.to("seda:b")</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
@@ -100,7 +100,7 @@
correlationExpression:
header: region
- to:
- uri: seda:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above messages are throttled by the header with name region. So suppose there are regions for US, EMEA, and ASIA, then we have three different groups, that each are throttled by 100 messages per second.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_throttling_modes"><a class="anchor" href="#_throttling_modes"></a>Throttling Modes</h2> <div class="sectionbody"> <d [...]
+ uri: seda:b</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, messages are throttled by the header with name region. So suppose there are regions for US, EMEA, and ASIA. Then we have three different groups that each are throttled by 100 messages per second.</p> </div> </div> </div> </div> <div class="sect1"> <h2 id="_throttling_modes"><a class="anchor" href="#_throttling_modes"></a>Throttling Modes</h2> <div class="sectionbody"> <d [...]
.throttle(3).mode("ConcurrentRequests")
.to("mock:result");</code></pre> </div> </div> </div> <div id="_tabs_7_xml--panel" class="tabpanel" aria-labelledby="_tabs_7_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:a"/>
diff --git a/components/next/eips/to-eip.html b/components/next/eips/to-eip.html
index 487e358c..52299f1d 100644
--- a/components/next/eips/to-eip.html
+++ b/components/next/eips/to-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/to-eip.html"> <meta name="description" content="Sends the message to a static endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/to-eip.html"> <meta name="description" content="Sends the message to a static endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
.to("jms:queue:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:messages/foo"/>
<to uri="jms:queue:foo"/>
diff --git a/components/next/eips/toD-eip.html b/components/next/eips/toD-eip.html
index 28aa8601..70682dd6 100644
--- a/components/next/eips/toD-eip.html
+++ b/components/next/eips/toD-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To D :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/toD-eip.html"> <meta name="description" content="Sends the message to a dynamic endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>To D :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/toD-eip.html"> <meta name="description" content="Sends the message to a dynamic endpoint"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
.toD("${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="${header.foo}"/>
@@ -6,22 +6,22 @@
.toD("mock:${header.foo}");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="mock:${header.foo}"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above we compute the dynamic endpoint with a prefix "mock:" and then the header foo is appended. So for example if the header foo has value order, then the endpoint is computed as "mock:order".</p> </div> <div class="sect2"> <h3 id="_using_other_languages_with_tod"><a class="anchor" href="#_using_other_languages_with_tod"></a>Using other languages with toD</h3> <div class="paragraph"> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>In the example above, we compute the dynamic endpoint with a prefix "mock:" and then the header foo is appended. So, for example, if the header foo has value order, then the endpoint is computed as "mock:order".</p> </div> <div class="sect2"> <h3 id="_using_other_languages_with_tod"><a class="anchor" href="#_using_other_languages_with_tod"></a>Using other languages with toD</h3> <div class="paragrap [...]
.toD("language:xpath:/order/@uri");</code></pre> </div> </div> </div> <div id="_tabs_3_xml--panel" class="tabpanel" aria-labelledby="_tabs_3_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<toD uri="language:xpath:/order/@uri"/>
-</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_avoid_creating_endless_dynamic_endpoints_which_takes_up_resources"><a class="anchor" href="#_avoid_creating_endless_dynamic_endpoints_which_takes_up_resources"></a>Avoid creating endless dynamic endpoints which takes up resources</h3> <div class="paragraph"> <p>When using dynamic computed endpoints with <code>toD</code> then you may compute a lot of dynamic endpoints, which results in an ov [...]
- .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>In the example above then the parameter <code>userid</code> is dynamic computed, and would result in one instance of endpoint and producer for each different userid. To avoid having too many dynamic endpoints you can configure <code>toD</code> to reduce its cache size, for example to use a cache size of 10:</p> </div> <div id="_tabs_4" class="openblock tabs is-sync is- [...]
+</route></code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_avoid_creating_endless_dynamic_endpoints_that_take_up_resources"><a class="anchor" href="#_avoid_creating_endless_dynamic_endpoints_that_take_up_resources"></a>Avoid creating endless dynamic endpoints that take up resources</h3> <div class="paragraph"> <p>When using dynamic computed endpoints with <code>toD</code> then you may compute a lot of dynamic endpoints, which results in an overhead [...]
+ .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>In the example above then the parameter <code>userid</code> is dynamically computed, and would result in one instance of endpoint and producer for each different userid. To avoid having too many dynamic endpoints you can configure <code>toD</code> to reduce its cache size, for example, to use a cache size of 10:</p> </div> <div id="_tabs_4" class="openblock tabs is-syn [...]
.toD("http:myloginserver:8080/login?userid=${header.userName}", 10);</code></pre> </div> </div> </div> <div id="_tabs_4_xml--panel" class="tabpanel" aria-labelledby="_tabs_4_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:login"/>
<toD uri="http:myloginserver:8080/login?userid=${header.userName}" cacheSize="10"/>
-</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> this will only reduce the endpoint cache of the <code>toD</code> that has a chance of being reused in case a message is routed with the same <code>userName</code> header. Therefore, reducing the cache size will not solve the <em>endless dynamic endpoin [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> this will only reduce the endpoint cache of the <code>toD</code> that has a chance of being reused in case a message is routed with the same <code>userName</code> header. Therefore, reducing the cache size will not solve the <em>endless dynamic endpoin [...]
.setHeader(Exchange.HTTP_PATH, constant("/login"))
.setHeader(Exchange.HTTP_QUERY, simple("userid=${header.userName}"))
- .toD("http:myloginserver:8080");</code></pre> </div> </div> <div class="paragraph"> <p>However, you can use optimised components for <code>toD</code> that can <em>solve</em> this out of the box, as documented next.</p> </div> </div> </div> <div class="sect2"> <h3 id="_using_optimised_components_with_tod"><a class="anchor" href="#_using_optimised_components_with_tod"></a>Using optimised components with toD</h3> <div class="paragraph"> <p>A better solution would be if the HTTP component [...]
- .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>Will essentially be optimised to (pseudo route):</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:login")
+ .toD("http:myloginserver:8080");</code></pre> </div> </div> <div class="paragraph"> <p>However, you can use optimized components for <code>toD</code> that can <em>solve</em> this out of the box, as documented next.</p> </div> </div> </div> <div class="sect2"> <h3 id="_using_optimized_components_with_tod"><a class="anchor" href="#_using_optimized_components_with_tod"></a>Using optimized components with toD</h3> <div class="paragraph"> <p>A better solution would be if the HTTP component [...]
+ .toD("http:myloginserver:8080/login?userid=${header.userName}");</code></pre> </div> </div> <div class="paragraph"> <p>It Will essentially be optimized to (pseudo route):</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:login")
.setHeader(Exchange.HTTP_PATH, expression("/login"))
.setHeader(Exchange.HTTP_QUERY, expression("userid=${header.userName}"))
.toD("http:myloginserver:8080")
.removeHeader(Exchange.HTTP_PATH)
- .removeHeader(Exchange.HTTP_QUERY);</code></pre> </div> </div> <div class="paragraph"> <p>Where <em>expression</em> will be evaluated dynamically. Notice how the uri in <code>toD</code> is now static (<code>http:myloginserver:8080</code>). This optimisation allows Camel to reuse the same endpoint and its associated producer for all dynamic variations. This yields much lower resource overhead as the same http producer will be used for all the different variations of userid’s.</p> [...]
\ No newline at end of file
+ .removeHeader(Exchange.HTTP_QUERY);</code></pre> </div> </div> <div class="paragraph"> <p>Where <em>expression</em> will be evaluated dynamically. Notice how the uri in <code>toD</code> is now static (<code>http:myloginserver:8080</code>). This optimization allows Camel to reuse the same endpoint and its associated producer for all dynamic variations. This yields much lower resource overhead as the same http producer will be used for all the different variations of <code>userids</code> [...]
\ No newline at end of file
diff --git a/components/next/eips/topic-eip.html b/components/next/eips/topic-eip.html
index e9ffa1d6..690cd644 100644
--- a/components/next/eips/topic-eip.html
+++ b/components/next/eips/topic-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/topic-eip.html"> <meta name="description" content="Topic which sends to all destinations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/topic-eip.html"> <meta name="description" content="Topic which sends to all destinations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
.loadBalance().topic()
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<topic/>
@@ -11,4 +11,4 @@
<to uri="seda:y"/>
<to uri="seda:z"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" aria-label="white si [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" [...]
\ No newline at end of file
diff --git a/components/next/eips/transactional-client.html b/components/next/eips/transactional-client.html
index 50a1726f..a1d971b4 100644
--- a/components/next/eips/transactional-client.html
+++ b/components/next/eips/transactional-client.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transactional Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transactional-client.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Tran [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transactional Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transactional-client.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Tran [...]
Transaction tx = tm.getTransaction();
try {
tx.begin();
@@ -6,13 +6,13 @@ try {
tx.commit();
} catch (Exception e) {
tx.rollback();
-}</code></pre> </div> </div> <div class="paragraph"> <p>You start the transaction using the <code>begin</code> method. Then you have a series of events to do whatever work needs to be done. At the end, you either <code>commit</code> or <code>rollback</code> the transaction, depending on whether an exception is thrown.</p> </div> <div class="paragraph"> <p>You may already be familiar with this principle, and transactions in Camel use the same principle at a higher level of abstraction. In [...]
+}</code></pre> </div> </div> <div class="paragraph"> <p>You start the transaction using the <code>begin</code> method. Then you have a series of events to do whatever work needs to be done. At the end, you either <code>commit</code> or <code>rollback</code> the transaction, depending on whether an exception is thrown.</p> </div> <div class="paragraph"> <p>You may already be familiar with this principle, and transactions in Camel use the same principle at a higher level of abstraction. In [...]
.transacted()
- .to("bean:foo");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .to("bean:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="jms:cheese"/>
<transacted/>
<to uri="bean:foo"/>
-</route></code></pre> </div> </div> <div class="paragraph"> <p>When you specify <code><transacted/></code> in a route, Camel uses transactions for that particular route and any other routes that the message may undertake.</p> </div> <div class="paragraph"> <p>When a route is specified as <code><transacted/></code>, then under the hood Camel looks up the Spring/JTA transaction manager and uses it. This is convention over configuration.</p> </div> <div class="paragraph"> [...]
+</route></code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>When you specify <code><transacted/></code> in a route, Camel uses transactions for that particular route and any other routes that the message may undertake.</p> </div> <div class="paragraph"> <p>When a route is specified as <code><transacted/></code>, then under the hood Camel looks up the Spring/JTA transaction manager and uses it. This is a convention over configuration.</p> </div> < [...]
<property name="transactionManager" ref="jmsTransactionManager"/>
</bean>
@@ -24,7 +24,7 @@ try {
<bean id="txMandatory" class="org.apache.camel.spring.spi.SpringTransactionPolicy">
<property name="transactionManager" ref="jmsTransactionManager"/>
<property name="propagationBehaviorName" value="PROPAGATION_REQUIRES_MANDATORY"/>
-</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we have routes, where each of the route use their different policy:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
+</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we have routes where each of the routes uses their different policy:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="activemq:queue:inbox"/>
<transacted ref="txRequired"/>
@@ -44,7 +44,7 @@ try {
<transacted ref="txMandatory"/>
<bean ref="orderService" method="insertOrder"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how the ref attribute on <code><transacted></code> refers to the corresponding bean id of the transaction policy.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <strong>Keep it simple:</strong> Although you can use multiple propagation behaviors with multiple routes in Camel, do [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>Notice how the ref attribute on <code><transacted></code> refers to the corresponding bean id of the transaction policy.</p> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <strong>Keep it simple:</strong> Although you can use multiple propagation behaviors with multiple routes in Camel, do [...]
<jdbc:embedded-database id="dataSource" type="DERBY">
<jdbc:script location="classpath:sql/init.sql" />
</jdbc:embedded-database>
@@ -58,13 +58,13 @@ try {
<!-- bean for book business logic -->
<bean id="bookService" class="org.apache.camel.spring.interceptor.BookService">
<property name="dataSource" ref="dataSource"/>
-</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we are ready to define our Camel routes. We have two routes: 1 for success conditions, and 1 for a forced rollback condition.</p> </div> <div class="paragraph"> <p>This is after all based on a unit test. Notice that we mark each route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-x [...]
+</bean></code></pre> </div> </div> <div class="paragraph"> <p>Then we are ready to define our Camel routes. We have two routes: 1 for success conditions, and 1 for a forced rollback condition.</p> </div> <div class="paragraph"> <p>This is, after all, based on a unit test. Notice that we mark each route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language [...]
<route>
<from uri="direct:okay"/>
- <!-- we mark this route as transacted. Camel will lookup the spring transaction manager
+ <!-- we mark this route as transacted. Camel will look up the spring transaction manager
and use it by default. We can optimally pass in arguments to specify a policy to use
- that is configured with a spring transaction manager of choice. However Camel supports
+ that is configured with a spring transaction manager of choice. However, Camel supports
convention over configuration as we can just use the defaults out of the box and Camel
that suites in most situations -->
<transacted/>
@@ -92,7 +92,7 @@ try {
<bean ref="bookService"/>
</route>
-</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>That is all that is needed to configure a Camel route as being transacted. Just remember to use <code><transacted/></code>. The rest is standard Spring XML to set up the transaction manager.</p> </div> </div> </div> <div class="sect1"> <h2 id="_transaction_example_with_jms"><a class="anchor" href="#_transaction_example_with_jms"></a>Transaction example with JMS</h2> <div class="sectionbody"> <div class="par [...]
+</camelContext></code></pre> </div> </div> <div class="paragraph"> <p>That is all that is needed to configure a Camel route as being transacted. Remember to use <code><transacted/></code>. The rest is standard Spring XML to set up the transaction manager.</p> </div> </div> </div> <div class="sect1"> <h2 id="_transaction_example_with_jms"><a class="anchor" href="#_transaction_example_with_jms"></a>Transaction example with JMS</h2> <div class="sectionbody"> <div class="paragrap [...]
<bean id="poolConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start" destroy-method="stop">
<property name="maxConnections" value="8"/>
<property name="connectionFactory" ref="jmsConnectionFactory"/>
@@ -112,9 +112,9 @@ try {
<property name="connectionFactory" ref="poolConnectionFactory"/>
<!-- define the jms consumer/producer as transacted -->
<property name="transacted" value="true"/>
- <!-- setup the transaction manager to use -->
- <!-- if not provided then Camel will automatic use a JmsTransactionManager, however if you
- for instance use a JTA transaction manager then you must configure it -->
+ <!-- set up the transaction manager to use -->
+ <!-- if not provided, then Camel will automatically use a JmsTransactionManager, however, if you
+ for instance use a JTA transaction manager, then you must configure it -->
<property name="transactionManager" ref="jmsTransactionManager"/>
</bean></code></pre> </div> </div> <div class="paragraph"> <p>And then we configure our routes. Notice that all we have to do is mark the route as transacted using the <code><transacted/></code> XML tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
diff --git a/components/next/eips/transform-eip.html b/components/next/eips/transform-eip.html
index 4a692801..344790d9 100644
--- a/components/next/eips/transform-eip.html
+++ b/components/next/eips/transform-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transform :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transform-eip.html"> <meta name="description" content="Transforms the message body based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Transform :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/transform-eip.html"> <meta name="description" content="Transforms the message body based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.setBody(simple("Hello ${body}"))
.to("log:hello");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:cheese"/>
@@ -25,4 +25,4 @@
- transform:
to-type: myDataType
- to:
- uri: log:hello</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The example above defines the <a href="#">Transform</a> EIP that uses a target data type <code>myDataType</code>. The given data type may reference a <a href="../../../manual/transformer.html" class="xref page">Transformer</a> that is able to handle the data type transformation.</p> </div> <div class="paragraph"> <p>Users may also specify <code>fromType</code> in order to reference a very [...]
\ No newline at end of file
+ uri: log:hello</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>The example above defines the <a href="#">Transform</a> EIP that uses a target data type <code>myDataType</code>. The given data type may reference a <a href="../../../manual/transformer.html" class="xref page">Transformer</a> that is able to handle the data type transformation.</p> </div> <div class="paragraph"> <p>Users may also specify <code>fromType</code> in order to reference a very [...]
\ No newline at end of file
diff --git a/components/next/eips/unmarshal-eip.html b/components/next/eips/unmarshal-eip.html
index f1e494b8..fb9c4668 100644
--- a/components/next/eips/unmarshal-eip.html
+++ b/components/next/eips/unmarshal-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Unmarshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/unmarshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Unmarshal EIP"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Unmarshal EIP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/unmarshal-eip.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Unmarshal EIP"> <m [...]
.unmarshal().jaxb()
.to("bean:validateOrder")
.marshal().jaxb()
@@ -18,7 +18,7 @@
- marshal:
jaxb: {}
- to:
- uri: jms:queue:order</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_allow_null_body"><a class="anchor" href="#_allow_null_body"></a>Allow Null Body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes, there are situations where <code>null</code> can be a normal value for the body of a message but <code>null</code> by default is not an accepted value to unmarshal. To workaround that, it is possible to allow <code>null</ [...]
+ uri: jms:queue:order</code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_allow_null_body"><a class="anchor" href="#_allow_null_body"></a>Allow Null Body</h2> <div class="sectionbody"> <div class="paragraph"> <p>Sometimes, there are situations where <code>null</code> can be a normal value for the body of a message but <code>null</code> by default is not an accepted value to unmarshal. To work around that, it is possible to allow <code>null< [...]
.unmarshal().allowNullBody().jaxb()
// End of the route</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><!-- Beginning of the route -->
<unmarshal allowNullBody="true"><jaxb/></unmarshal>
diff --git a/components/next/eips/validate-eip.html b/components/next/eips/validate-eip.html
index 6691dd7b..bf629cc5 100644
--- a/components/next/eips/validate-eip.html
+++ b/components/next/eips/validate-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Validate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/validate-eip.html"> <meta name="description" content="Validates a message based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Validate :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/validate-eip.html"> <meta name="description" content="Validates a message based on an expression"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
.validate(body(String.class).regex("^\\w{10}\\,\\d{2}\\,\\w{24}$"))
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
@@ -17,7 +17,7 @@
parameters:
method: processLine</code></pre> </div> </div> </div> </div> </div> <div class="paragraph"> <p>Validate EIP is not limited to the message body. You can also validate the message header.</p> </div> <div id="_tabs_2" class="openblock tabs is-sync is-loading"> <div class="content"> <div class="ulist tablist"> <ul> <li id="_tabs_2_java" class="tab"> <p>Java</p> </li> <li id="_tabs_2_xml" class="tab"> <p>XML</p> </li> <li id="_tabs_2_yaml" class="tab"> <p>YAML</p> </li> </ul> </di [...]
.validate(header("bar").isGreaterThan(100))
- .to("bean:myServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also use validate together with the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
+ .to("bean:myServiceBean.processLine");</code></pre> </div> </div> <div class="paragraph"> <p>You can also use <code>validate</code> together with the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("file:inbox")
.validate(simple("${header.bar} > 100"))
.to("bean:myServiceBean.processLine");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="file:inbox"/>
diff --git a/components/next/eips/weighted-eip.html b/components/next/eips/weighted-eip.html
index 1fef463f..2cd8e81b 100644
--- a/components/next/eips/weighted-eip.html
+++ b/components/next/eips/weighted-eip.html
@@ -1,9 +1,9 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Weighted :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/weighted-eip.html"> <meta name="description" content="Uses a weighted load distribution ratio for each server with respect to others."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Weighted :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/weighted-eip.html"> <meta name="description" content="Uses a weighted load distribution ratio for each server with respect to others."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css [...]
.loadBalance().weighted(false, "4,2,1")
.to("seda:x")
.to("seda:y")
.to("seda:z")
- .end();</code></pre> </div> </div> <div class="paragraph"> <p>In XML you’ll have a route like this:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
+ .end();</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
<loadBalance>
<weighted distributionRatio="4 2 1"/>
@@ -11,4 +11,4 @@
<to uri="seda:y"/>
<to uri="seda:z"/>
</loadBalance>
-</route></code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" aria-label="white si [...]
\ No newline at end of file
+</route></code></pre> </div> </div> </div> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-small mt-60" alt="Apache Camel Logo" [...]
\ No newline at end of file
diff --git a/components/next/eips/wireTap-eip.html b/components/next/eips/wireTap-eip.html
index 045f1cef..37396d3f 100644
--- a/components/next/eips/wireTap-eip.html
+++ b/components/next/eips/wireTap-eip.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wire Tap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/wireTap-eip.html"> <meta name="description" content="Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wire Tap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/eips/wireTap-eip.html"> <meta name="description" content="Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesh [...]
.to("log:foo")
.wireTap("direct:tap")
.to("log:result");
@@ -29,7 +29,7 @@ from("direct:tap")
uri: direct:tap
steps:
- to:
- uri: log:log</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_wire_tapping_with_dynamic_uris"><a class="anchor" href="#_wire_tapping_with_dynamic_uris"></a>Wire tapping with dynamic URIs</h3> <div class="paragraph"> <p>For example to wire tap to a dynamic URI, then the URI uses the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language that allows to construct dynamic URIs.</p> </div> <div class="paragraph"> [...]
+ uri: log:log</code></pre> </div> </div> </div> </div> </div> </div> <div class="sect2"> <h3 id="_wire_tapping_with_dynamic_uris"><a class="anchor" href="#_wire_tapping_with_dynamic_uris"></a>Wire tapping with dynamic URIs</h3> <div class="paragraph"> <p>For example, to wire tap to a dynamic URI, then the URI uses the <a href="../../4.4.x/languages/simple-language.html" class="xref page">Simple</a> language that allows to construct dynamic URIs.</p> </div> <div class="paragraph" [...]
.wireTap("jms:queue:backup-${header.id}")
.to("bean:doSomething");</code></pre> </div> </div> </div> <div id="_tabs_2_xml--panel" class="tabpanel" aria-labelledby="_tabs_2_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start"/>
@@ -41,4 +41,4 @@ from("direct:tap")
- wireTap:
uri: jms:queue:backup-${header.id}
- to:
- uri: bean:doSomething</code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_wiretap_thread_pools"><a class="anchor" href="#_wiretap_thread_pools"></a>WireTap Thread Pools</h2> <div class="sectionbody"> <div class="paragraph"> <p>The WireTap uses a thread pool to process the tapped messages. This thread pool will by default use the settings detailed at <a href="../../../manual/threading-model.html" class="xref page">Threading Model</a> [...]
\ No newline at end of file
+ uri: bean:doSomething</code></pre> </div> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_wiretap_thread_pools"><a class="anchor" href="#_wiretap_thread_pools"></a>WireTap Thread Pools</h2> <div class="sectionbody"> <div class="paragraph"> <p>The WireTap uses a thread pool to process the tapped messages. This thread pool will by default use the settings detailed in the <a href="../../../manual/threading-model.html" class="xref page">Threading Model [...]
\ No newline at end of file
diff --git a/components/next/elasticsearch-component.html b/components/next/elasticsearch-component.html
index 8c6d82d5..835f1f97 100644
--- a/components/next/elasticsearch-component.html
+++ b/components/next/elasticsearch-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elasticsearch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/elasticsearch-component.html"> <meta name="description" content="Send requests to ElasticSearch via Java Client API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elasticsearch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/elasticsearch-component.html"> <meta name="description" content="Send requests to ElasticSearch via Java Client API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-elasticsearch</artifactId>
<version>x.x.x</version>
diff --git a/components/next/elasticsearch-rest-client-component.html b/components/next/elasticsearch-rest-client-component.html
index 7c1f6b3e..f21628b3 100644
--- a/components/next/elasticsearch-rest-client-component.html
+++ b/components/next/elasticsearch-rest-client-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elasticsearch Low level Rest Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/elasticsearch-rest-client-component.html"> <meta name="description" content="Perform queries and other operations on Elasticsearch or OpenSearch (uses low-level client)."> <meta name="generator" content="Antora 3.1.7"> <link [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elasticsearch Low level Rest Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/elasticsearch-rest-client-component.html"> <meta name="description" content="Perform queries and other operations on Elasticsearch or OpenSearch (uses low-level client)."> <meta name="generator" content="Antora 3.1.7"> <link [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-elasticsearch-rest-client</artifactId>
<version>x.x.x</version>
diff --git a/components/next/etcd3-component.html b/components/next/etcd3-component.html
index 2ef8ca11..89197f29 100644
--- a/components/next/etcd3-component.html
+++ b/components/next/etcd3-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Etcd v3 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/etcd3-component.html"> <meta name="description" content="Get, set, delete or watch keys in etcd key-value store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Etcd v3 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/etcd3-component.html"> <meta name="description" content="Get, set, delete or watch keys in etcd key-value store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-etcd3</artifactId>
<version>x.x.x</version>
diff --git a/components/next/exec-component.html b/components/next/exec-component.html
index 05bfb6f2..ad10cb45 100644
--- a/components/next/exec-component.html
+++ b/components/next/exec-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Exec :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/exec-component.html"> <meta name="description" content="Execute commands on the underlying operating system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Exec :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/exec-component.html"> <meta name="description" content="Execute commands on the underlying operating system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-exec</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/fhir-component.html b/components/next/fhir-component.html
index 14d3b953..638a9caf 100644
--- a/components/next/fhir-component.html
+++ b/components/next/fhir-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/fhir-component.html"> <meta name="description" content="Exchange information in the healthcare domain using the FHIR (Fast Healthcare Interoperability Resources) standard."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../.. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FHIR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/fhir-component.html"> <meta name="description" content="Exchange information in the healthcare domain using the FHIR (Fast Healthcare Interoperability Resources) standard."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../.. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-fhir</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/file-component.html b/components/next/file-component.html
index ecf9168d..c2827f37 100644
--- a/components/next/file-component.html
+++ b/components/next/file-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/file-component.html"> <meta name="description" content="Read and write files."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prope [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/file-component.html"> <meta name="description" content="Read and write files."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prope [...]
.to("file:outbox?charset=iso-8859-1")</code></pre> </div> </div> <div class="paragraph"> <p>You can also use the <code>convertBodyTo</code> in the route. In the example below, we have still input files in utf-8 format, but we want to convert the file content to a byte array in iso-8859-1 format. And then let a bean process the data. Before writing the content to the outbox folder using the current charset.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highligh [...]
.convertBodyTo(byte[].class, "iso-8859-1")
.to("bean:myBean")
diff --git a/components/next/file-watch-component.html b/components/next/file-watch-component.html
index 0921f48d..8629d6d6 100644
--- a/components/next/file-watch-component.html
+++ b/components/next/file-watch-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File Watch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/file-watch-component.html"> <meta name="description" content="Get notified about file events in a directory using java.nio.file.WatchService."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File Watch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/file-watch-component.html"> <meta name="description" content="Get notified about file events in a directory using java.nio.file.WatchService."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.c [...]
.log("File event: ${header.CamelFileEventType} occurred on file ${header.CamelFileName} at ${header.CamelFileLastModified}");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_recursive_watch_for_creation_and_deletion_of_txt_files"><a class="anchor" href="#_recursive_watch_for_creation_and_deletion_of_txt_files"></a>Recursive watch for creation and deletion of txt files:</h3> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class= [...]
.log("File event: ${header.CamelFileEventType} occurred on file ${header.CamelFileName} at ${header.CamelFileLastModified}");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_create_a_snapshot_of_file_when_modified"><a class="anchor" href="#_create_a_snapshot_of_file_when_modified"></a>Create a snapshot of file when modified:</h3> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("f [...]
.setHeader(Exchange.FILE_NAME, simple("${header.CamelFileName}.${header.CamelFileLastModified}"))
diff --git a/components/next/flatpack-component.html b/components/next/flatpack-component.html
index 52f970e3..7e8f480f 100644
--- a/components/next/flatpack-component.html
+++ b/components/next/flatpack-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flatpack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/flatpack-component.html"> <meta name="description" content="Parse fixed width and delimited files using the FlatPack library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="a [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flatpack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/flatpack-component.html"> <meta name="description" content="Parse fixed width and delimited files using the FlatPack library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="a [...]
String firstName = row.get("FIRSTNAME");</code></pre> </div> </div> <div class="paragraph"> <p>However, you can also always get it as a <code>List</code> (even for <code>splitRows=true</code>). The same example:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> List data = exchange.getIn().getBody(List.class);
Map row = (Map)data.get(0);
String firstName = row.get("FIRSTNAME");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_header_and_trailer_records"><a class="anchor" href="#_header_and_trailer_records"></a>Header and Trailer records</h2> <div class="sectionbody"> <div class="paragraph"> <p>The header and trailer notions in Flatpack are supported. However, you <strong>must</strong> use fixed record IDs:</p> </div> <div class="ulist"> <ul> <li> <p><code>header</code> for the header record (must b [...]
diff --git a/components/next/flink-component.html b/components/next/flink-component.html
index a5f08b1d..2ea413fe 100644
--- a/components/next/flink-component.html
+++ b/components/next/flink-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flink :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/flink-component.html"> <meta name="description" content="Send DataSet jobs to an Apache Flink cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Flink :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/flink-component.html"> <meta name="description" content="Send DataSet jobs to an Apache Flink cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-flink</artifactId>
<version>x.x.x</version>
diff --git a/components/next/fop-component.html b/components/next/fop-component.html
index 4d08477b..5c50309d 100644
--- a/components/next/fop-component.html
+++ b/components/next/fop-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FOP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/fop-component.html"> <meta name="description" content="Render messages into PDF and other output formats supported by Apache FOP."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FOP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/fop-component.html"> <meta name="description" content="Render messages into PDF and other output formats supported by Apache FOP."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-fop</artifactId>
<version>x.x.x</version>
diff --git a/components/next/freemarker-component.html b/components/next/freemarker-component.html
index 88533501..fede08ae 100644
--- a/components/next/freemarker-component.html
+++ b/components/next/freemarker-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Freemarker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/freemarker-component.html"> <meta name="description" content="Transform messages using FreeMarker templates."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Freemarker :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/freemarker-component.html"> <meta name="description" content="Transform messages using FreeMarker templates."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-freemarker</artifactId>
<version>x.x.x</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/ftp-component.html b/components/next/ftp-component.html
index 805c8b2c..5c688dab 100644
--- a/components/next/ftp-component.html
+++ b/components/next/ftp-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ftp-component.html"> <meta name="description" content="Upload and download files to/from FTP servers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ftp-component.html"> <meta name="description" content="Upload and download files to/from FTP servers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ftps-component.html b/components/next/ftps-component.html
index fc09779c..d52f2794 100644
--- a/components/next/ftps-component.html
+++ b/components/next/ftps-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FTPS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ftps-component.html"> <meta name="description" content="Upload and download files to/from FTP servers supporting the FTPS protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>FTPS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ftps-component.html"> <meta name="description" content="Upload and download files to/from FTP servers supporting the FTPS protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name= [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
<version>x.x.x</version>
diff --git a/components/next/geocoder-component.html b/components/next/geocoder-component.html
index 7fa4dc9e..616e921e 100644
--- a/components/next/geocoder-component.html
+++ b/components/next/geocoder-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Geocoder :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/geocoder-component.html"> <meta name="description" content="Find geocodes (latitude and longitude) for a given address or the other way round."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Geocoder :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/geocoder-component.html"> <meta name="description" content="Find geocodes (latitude and longitude) for a given address or the other way round."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.cs [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-geocoder</artifactId>
<version>x.x.x</version>
diff --git a/components/next/git-component.html b/components/next/git-component.html
index 83b6e2cf..8b9214f3 100644
--- a/components/next/git-component.html
+++ b/components/next/git-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Git :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/git-component.html"> <meta name="description" content="Perform operations on git repositories."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Git :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/git-component.html"> <meta name="description" content="Perform operations on git repositories."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-git</artifactId>
<version>x.x.x</version>
diff --git a/components/next/github-component.html b/components/next/github-component.html
index 7ae89683..b88c1ad2 100644
--- a/components/next/github-component.html
+++ b/components/next/github-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GitHub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/github-component.html"> <meta name="description" content="Interact with the GitHub API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GitHub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/github-component.html"> <meta name="description" content="Interact with the GitHub API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-github</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/google-bigquery-component.html b/components/next/google-bigquery-component.html
index 3c7e760a..5096ae2a 100644
--- a/components/next/google-bigquery-component.html
+++ b/components/next/google-bigquery-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google BigQuery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-bigquery-component.html"> <meta name="description" content="Google BigQuery data warehouse for analytics."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google BigQuery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-bigquery-component.html"> <meta name="description" content="Google BigQuery data warehouse for analytics."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-bigquery</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-bigquery-sql-component.html b/components/next/google-bigquery-sql-component.html
index 2eca2011..8d649920 100644
--- a/components/next/google-bigquery-sql-component.html
+++ b/components/next/google-bigquery-sql-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google BigQuery Standard SQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-bigquery-sql-component.html"> <meta name="description" content="Access Google Cloud BigQuery service using SQL queries."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google BigQuery Standard SQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-bigquery-sql-component.html"> <meta name="description" content="Access Google Cloud BigQuery service using SQL queries."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-bigquery</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-calendar-component.html b/components/next/google-calendar-component.html
index 2c65a34f..a58d863f 100644
--- a/components/next/google-calendar-component.html
+++ b/components/next/google-calendar-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Calendar :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-calendar-component.html"> <meta name="description" content="Perform various operations on a Google Calendar."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Calendar :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-calendar-component.html"> <meta name="description" content="Perform various operations on a Google Calendar."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-calendar</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-calendar-stream-component.html b/components/next/google-calendar-stream-component.html
index ad34c2a1..d024282a 100644
--- a/components/next/google-calendar-stream-component.html
+++ b/components/next/google-calendar-stream-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Calendar Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-calendar-stream-component.html"> <meta name="description" content="Poll for changes in a Google Calendar."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Calendar Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-calendar-stream-component.html"> <meta name="description" content="Poll for changes in a Google Calendar."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name=" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-calendar</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-drive-component.html b/components/next/google-drive-component.html
index 8348af5e..c99f67cb 100644
--- a/components/next/google-drive-component.html
+++ b/components/next/google-drive-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Drive :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-drive-component.html"> <meta name="description" content="Manage files in Google Drive."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Drive :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-drive-component.html"> <meta name="description" content="Manage files in Google Drive."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-drive</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-functions-component.html b/components/next/google-functions-component.html
index b3d7d79d..7a41a15a 100644
--- a/components/next/google-functions-component.html
+++ b/components/next/google-functions-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Cloud Functions :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-functions-component.html"> <meta name="description" content="Manage and invoke Google Cloud Functions"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Cloud Functions :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-functions-component.html"> <meta name="description" content="Manage and invoke Google Cloud Functions"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-functions</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-mail-component.html b/components/next/google-mail-component.html
index 0a5dabf9..e5af6b97 100644
--- a/components/next/google-mail-component.html
+++ b/components/next/google-mail-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Mail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-mail-component.html"> <meta name="description" content="Manage messages in Google Mail."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Mail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-mail-component.html"> <meta name="description" content="Manage messages in Google Mail."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-mail</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-mail-stream-component.html b/components/next/google-mail-stream-component.html
index cfb1be28..5d669e33 100644
--- a/components/next/google-mail-stream-component.html
+++ b/components/next/google-mail-stream-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Mail Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-mail-stream-component.html"> <meta name="description" content="Poll for incoming messages in Google Mail."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Mail Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-mail-stream-component.html"> <meta name="description" content="Poll for incoming messages in Google Mail."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-mail</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-pubsub-component.html b/components/next/google-pubsub-component.html
index f15d7915..366c495e 100644
--- a/components/next/google-pubsub-component.html
+++ b/components/next/google-pubsub-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Pubsub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-pubsub-component.html"> <meta name="description" content="Send and receive messages to/from Google Cloud Platform PubSub Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Pubsub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-pubsub-component.html"> <meta name="description" content="Send and receive messages to/from Google Cloud Platform PubSub Service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-pubsub</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-secret-manager-component.html b/components/next/google-secret-manager-component.html
index 1dec3404..c16b9b90 100644
--- a/components/next/google-secret-manager-component.html
+++ b/components/next/google-secret-manager-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Secret Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-secret-manager-component.html"> <meta name="description" content="Manage Google Secret Manager Secrets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Secret Manager :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-secret-manager-component.html"> <meta name="description" content="Manage Google Secret Manager Secrets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-secret-manager</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-sheets-component.html b/components/next/google-sheets-component.html
index 7f070684..d3d39b89 100644
--- a/components/next/google-sheets-component.html
+++ b/components/next/google-sheets-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Sheets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-sheets-component.html"> <meta name="description" content="Manage spreadsheets in Google Sheets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Sheets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-sheets-component.html"> <meta name="description" content="Manage spreadsheets in Google Sheets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-sheets</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-sheets-stream-component.html b/components/next/google-sheets-stream-component.html
index 52bb86b1..68d55342 100644
--- a/components/next/google-sheets-stream-component.html
+++ b/components/next/google-sheets-stream-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Sheets Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-sheets-stream-component.html"> <meta name="description" content="Poll for changes in Google Sheets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Sheets Stream :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-sheets-stream-component.html"> <meta name="description" content="Poll for changes in Google Sheets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-sheets</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-storage-component.html b/components/next/google-storage-component.html
index 56e8fb96..e12b1867 100644
--- a/components/next/google-storage-component.html
+++ b/components/next/google-storage-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Storage :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-storage-component.html"> <meta name="description" content="Store and retrieve objects from Google Cloud Storage Service using the google-cloud-storage library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google Storage :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-storage-component.html"> <meta name="description" content="Store and retrieve objects from Google Cloud Storage Service using the google-cloud-storage library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-storage</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/google-summary.html b/components/next/google-summary.html
index 291a91f7..b21b1301 100644
--- a/components/next/google-summary.html
+++ b/components/next/google-summary.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Google"> <meta property="og:site [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Google :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/google-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Google"> <meta property="og:site [...]
\ No newline at end of file
diff --git a/components/next/grape-component.html b/components/next/grape-component.html
index 8795c74a..6c74dcba 100644
--- a/components/next/grape-component.html
+++ b/components/next/grape-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Grape :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/grape-component.html"> <meta name="description" content="Fetch, load and manage additional jars dynamically after Camel Context was started."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Grape :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/grape-component.html"> <meta name="description" content="Fetch, load and manage additional jars dynamically after Camel Context was started."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
...
CamelContext camelContext = grapeCamelContext(new DefaultCamelContext());</code></pre> </div> </div> <div class="paragraph"> <p>You can also set up the Groovy class loader used by the Camel context by yourself:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">camelContext.setApplicationContextClassLoader(new GroovyClassLoader(myClassLoader));</code></pre> </div> </div> <div class="paragraph"> [...]
to("grape:org.apache.camel/camel-ftp/2.15.2");</code></pre> </div> </div> <div class="paragraph"> <p>You can also specify the Maven coordinates by sending them to the endpoint as the exchange body:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:loadCamelFTP").
diff --git a/components/next/graphql-component.html b/components/next/graphql-component.html
index f3206fc7..c4f14b79 100644
--- a/components/next/graphql-component.html
+++ b/components/next/graphql-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GraphQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/graphql-component.html"> <meta name="description" content="Send GraphQL queries and mutations to external systems."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>GraphQL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/graphql-component.html"> <meta name="description" content="Send GraphQL queries and mutations to external systems."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-graphql</artifactId>
<version>x.x.x</version>
diff --git a/components/next/grpc-component.html b/components/next/grpc-component.html
index 28edb6c3..8c1c13e3 100644
--- a/components/next/grpc-component.html
+++ b/components/next/grpc-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>gRPC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/grpc-component.html"> <meta name="description" content="Expose gRPC endpoints and access external gRPC endpoints."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>gRPC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/grpc-component.html"> <meta name="description" content="Expose gRPC endpoints and access external gRPC endpoints."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-grpc</artifactId>
<version>x.x.x</version>
diff --git a/components/next/guava-eventbus-component.html b/components/next/guava-eventbus-component.html
index 2182cfe3..dc0a1a51 100644
--- a/components/next/guava-eventbus-component.html
+++ b/components/next/guava-eventbus-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guava EventBus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/guava-eventbus-component.html"> <meta name="description" content="Send and receive messages to/from Guava EventBus."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Guava EventBus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/guava-eventbus-component.html"> <meta name="description" content="Send and receive messages to/from Guava EventBus."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-guava-eventbus</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hashicorp-vault-component.html b/components/next/hashicorp-vault-component.html
index 4c8f5dab..53855161 100644
--- a/components/next/hashicorp-vault-component.html
+++ b/components/next/hashicorp-vault-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hashicorp Vault :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hashicorp-vault-component.html"> <meta name="description" content="Manage secrets in Hashicorp Vault Service"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hashicorp Vault :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hashicorp-vault-component.html"> <meta name="description" content="Manage secrets in Hashicorp Vault Service"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-hashicorp-vault</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hazelcast-atomicvalue-component.html b/components/next/hazelcast-atomicvalue-component.html
index 5acaa608..f2409b12 100644
--- a/components/next/hazelcast-atomicvalue-component.html
+++ b/components/next/hazelcast-atomicvalue-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Atomic Number :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-atomicvalue-component.html"> <meta name="description" content="Increment, decrement, set, etc. Hazelcast atomic number (a grid wide number)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Atomic Number :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-atomicvalue-component.html"> <meta name="description" content="Increment, decrement, set, etc. Hazelcast atomic number (a grid wide number)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_ [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.SET_VALUE))
.toF("hazelcast-%sfoo", HazelcastConstants.ATOMICNUMBER_PREFIX);</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:set" />
diff --git a/components/next/hazelcast-instance-component.html b/components/next/hazelcast-instance-component.html
index 2534f812..e98f1c46 100644
--- a/components/next/hazelcast-instance-component.html
+++ b/components/next/hazelcast-instance-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Instance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-instance-component.html"> <meta name="description" content="Consume join/leave events of a cache instance in a Hazelcast cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b9 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Instance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-instance-component.html"> <meta name="description" content="Consume join/leave events of a cache instance in a Hazelcast cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b9 [...]
.log("instance...")
.choice()
.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ADDED))
diff --git a/components/next/hazelcast-list-component.html b/components/next/hazelcast-list-component.html
index 1632c74c..f273f8fa 100644
--- a/components/next/hazelcast-list-component.html
+++ b/components/next/hazelcast-list-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-list-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed list."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast List :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-list-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed list."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.ADD))
.toF("hazelcast-%sbar", HazelcastConstants.LIST_PREFIX);</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_sample_for_get"><a class="anchor" href="#_sample_for_get"></a>Sample for <strong>get</strong>:</h3> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:get")
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.GET))
diff --git a/components/next/hazelcast-map-component.html b/components/next/hazelcast-map-component.html
index a497fe8b..6232cd6b 100644
--- a/components/next/hazelcast-map-component.html
+++ b/components/next/hazelcast-map-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Map :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-map-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed map."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Map :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-map-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed map."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.PUT))
.toF("hazelcast-%sfoo", HazelcastConstants.MAP_PREFIX);</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:put" />
diff --git a/components/next/hazelcast-multimap-component.html b/components/next/hazelcast-multimap-component.html
index e3eccfbe..2e2fc552 100644
--- a/components/next/hazelcast-multimap-component.html
+++ b/components/next/hazelcast-multimap-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Multimap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-multimap-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed multimap."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Multimap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-multimap-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed multimap."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.PUT))
.to(String.format("hazelcast-%sbar", HazelcastConstants.MULTIMAP_PREFIX));</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:put" />
diff --git a/components/next/hazelcast-queue-component.html b/components/next/hazelcast-queue-component.html
index 742971eb..99b8a378 100644
--- a/components/next/hazelcast-queue-component.html
+++ b/components/next/hazelcast-queue-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Queue :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-queue-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed queue."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Queue :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-queue-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed queue."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.ADD))
.toF("hazelcast-%sbar", HazelcastConstants.QUEUE_PREFIX);</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_sample_for_put"><a class="anchor" href="#_sample_for_put"></a>Sample for <strong>put</strong>:</h3> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:put")
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.PUT))
diff --git a/components/next/hazelcast-replicatedmap-component.html b/components/next/hazelcast-replicatedmap-component.html
index a055dd82..7fc35de4 100644
--- a/components/next/hazelcast-replicatedmap-component.html
+++ b/components/next/hazelcast-replicatedmap-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Replicated Map :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-replicatedmap-component.html"> <meta name="description" content="Perform operations on Hazelcast replicated map."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Replicated Map :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-replicatedmap-component.html"> <meta name="description" content="Perform operations on Hazelcast replicated map."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.PUT))
.to(String.format("hazelcast-%sbar", HazelcastConstants.REPLICATEDMAP_PREFIX));</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:put" />
diff --git a/components/next/hazelcast-ringbuffer-component.html b/components/next/hazelcast-ringbuffer-component.html
index 98c185c8..166b65b9 100644
--- a/components/next/hazelcast-ringbuffer-component.html
+++ b/components/next/hazelcast-ringbuffer-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Ringbuffer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-ringbuffer-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed ringbuffer."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Ringbuffer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-ringbuffer-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed ringbuffer."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.ADD))
.to(String.format("hazelcast-%sbar", HazelcastConstants.RINGBUFFER_PREFIX));</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:put" />
diff --git a/components/next/hazelcast-seda-component.html b/components/next/hazelcast-seda-component.html
index 1e321680..9001c507 100644
--- a/components/next/hazelcast-seda-component.html
+++ b/components/next/hazelcast-seda-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast SEDA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-seda-component.html"> <meta name="description" content="Asynchronously send/receive Exchanges between Camel routes running on potentially distinct JVMs/hosts backed by Hazelcast BlockingQueue."> <meta name="generator" content="Antora 3 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast SEDA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-seda-component.html"> <meta name="description" content="Asynchronously send/receive Exchanges between Camel routes running on potentially distinct JVMs/hosts backed by Hazelcast BlockingQueue."> <meta name="generator" content="Antora 3 [...]
.to("hazelcast-seda:foo");</code></pre> </div> </div> </div> <div id="_tabs_1_spring_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_spring_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="direct:start" />
<to uri="hazelcast-seda:foo" />
diff --git a/components/next/hazelcast-set-component.html b/components/next/hazelcast-set-component.html
index 975e95f0..9214e806 100644
--- a/components/next/hazelcast-set-component.html
+++ b/components/next/hazelcast-set-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Set :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-set-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed set."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Set :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-set-component.html"> <meta name="description" content="Perform operations on Hazelcast distributed set."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicat [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-hazelcast-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hazelcast-summary.html b/components/next/hazelcast-summary.html
index 8bb9086a..f5911e23 100644
--- a/components/next/hazelcast-summary.html
+++ b/components/next/hazelcast-summary.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Hazelcast"> <meta property [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Hazelcast"> <meta property [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-hazelcast</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hazelcast-topic-component.html b/components/next/hazelcast-topic-component.html
index 99d61620..b34ff47b 100644
--- a/components/next/hazelcast-topic-component.html
+++ b/components/next/hazelcast-topic-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-topic-component.html"> <meta name="description" content="Send and receive messages to/from Hazelcast distributed topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Hazelcast Topic :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hazelcast-topic-component.html"> <meta name="description" content="Send and receive messages to/from Hazelcast distributed topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <m [...]
.setHeader(HazelcastConstants.OPERATION, constant(HazelcastOperation.PUBLISH))
.toF("hazelcast-%sbar", HazelcastConstants.PUBLISH_OPERATION);</code></pre> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_topic_consumer_fromhazelcast_topicfoo"><a class="anchor" href="#_topic_consumer_fromhazelcast_topicfoo"></a>Topic consumer – from(“hazelcast-topic:foo”)</h2> <div class="sectionbody"> <div class="paragraph"> <p>The topic consumer provides only one operation (received). This component is supposed to support multiple consumption as it’s expected [...]
.choice()
diff --git a/components/next/http-component.html b/components/next/http-component.html
index a44010a6..3fb61002 100644
--- a/components/next/http-component.html
+++ b/components/next/http-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/http-component.html"> <meta name="description" content="Send requests to external HTTP servers using Apache HTTP Client 5.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/http-component.html"> <meta name="description" content="Send requests to external HTTP servers using Apache HTTP Client 5.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-dms-component.html b/components/next/hwcloud-dms-component.html
index 863d29a1..454a4491 100644
--- a/components/next/hwcloud-dms-component.html
+++ b/components/next/hwcloud-dms-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Distributed Message Service (DMS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-dms-component.html"> <meta name="description" content="To integrate with a fully managed, high-performance message queuing service on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Distributed Message Service (DMS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-dms-component.html"> <meta name="description" content="To integrate with a fully managed, high-performance message queuing service on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-dms</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-frs-component.html b/components/next/hwcloud-frs-component.html
index ea3238e6..a71959b3 100644
--- a/components/next/hwcloud-frs-component.html
+++ b/components/next/hwcloud-frs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud Face Recognition Service (FRS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-frs-component.html"> <meta name="description" content="Face Recognition Service (FRS) is an intelligent service that uses computers to process, analyze, and understand facial images based on human facial feat [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud Face Recognition Service (FRS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-frs-component.html"> <meta name="description" content="Face Recognition Service (FRS) is an intelligent service that uses computers to process, analyze, and understand facial images based on human facial feat [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-frs</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-functiongraph-component.html b/components/next/hwcloud-functiongraph-component.html
index 7cbc96b7..61fc1295 100644
--- a/components/next/hwcloud-functiongraph-component.html
+++ b/components/next/hwcloud-functiongraph-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei FunctionGraph :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-functiongraph-component.html"> <meta name="description" content="To call serverless functions on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei FunctionGraph :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-functiongraph-component.html"> <meta name="description" content="To call serverless functions on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta nam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-functiongraph</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-iam-component.html b/components/next/hwcloud-iam-component.html
index d98d2bec..1f9876b4 100644
--- a/components/next/hwcloud-iam-component.html
+++ b/components/next/hwcloud-iam-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Identity and Access Management (IAM) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-iam-component.html"> <meta name="description" content="To securely manage users on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Identity and Access Management (IAM) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-iam-component.html"> <meta name="description" content="To securely manage users on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-iam</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-imagerecognition-component.html b/components/next/hwcloud-imagerecognition-component.html
index 24c04483..eba7eb61 100644
--- a/components/next/hwcloud-imagerecognition-component.html
+++ b/components/next/hwcloud-imagerecognition-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud Image Recognition :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-imagerecognition-component.html"> <meta name="description" content="To identify objects, scenes, and concepts in images on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud Image Recognition :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-imagerecognition-component.html"> <meta name="description" content="To identify objects, scenes, and concepts in images on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_ [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-imagerecognition</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-obs-component.html b/components/next/hwcloud-obs-component.html
index 70f83888..6a8fa140 100644
--- a/components/next/hwcloud-obs-component.html
+++ b/components/next/hwcloud-obs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Object Storage Service (OBS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-obs-component.html"> <meta name="description" content="To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshee [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Object Storage Service (OBS) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-obs-component.html"> <meta name="description" content="To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshee [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-obs</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-smn-component.html b/components/next/hwcloud-smn-component.html
index 4060c7aa..b3c96bf0 100644
--- a/components/next/hwcloud-smn-component.html
+++ b/components/next/hwcloud-smn-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Simple Message Notification (SMN) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-smn-component.html"> <meta name="description" content="To broadcast messages and connect cloud services through notifications on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshee [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Simple Message Notification (SMN) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-smn-component.html"> <meta name="description" content="To broadcast messages and connect cloud services through notifications on Huawei Cloud"> <meta name="generator" content="Antora 3.1.7"> <link rel="styleshee [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-huaweicloud-smn</artifactId>
<version>x.x.x</version>
diff --git a/components/next/hwcloud-summary.html b/components/next/hwcloud-summary.html
index 0970611f..321798f0 100644
--- a/components/next/hwcloud-summary.html
+++ b/components/next/hwcloud-summary.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Huawei Cloud"> <meta prop [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Huawei Cloud :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/hwcloud-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Huawei Cloud"> <meta prop [...]
\ No newline at end of file
diff --git a/components/next/iec60870-client-component.html b/components/next/iec60870-client-component.html
index bfa53ef8..e2b2b071 100644
--- a/components/next/iec60870-client-component.html
+++ b/components/next/iec60870-client-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IEC 60870 Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/iec60870-client-component.html"> <meta name="description" content="IEC 60870 supervisory control and data acquisition (SCADA) client using NeoSCADA implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=". [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IEC 60870 Client :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/iec60870-client-component.html"> <meta name="description" content="IEC 60870 supervisory control and data acquisition (SCADA) client using NeoSCADA implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=". [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-iec60870</artifactId>
<version>x.x.x</version>
diff --git a/components/next/iec60870-server-component.html b/components/next/iec60870-server-component.html
index e5f3970b..49410236 100644
--- a/components/next/iec60870-server-component.html
+++ b/components/next/iec60870-server-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IEC 60870 Server :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/iec60870-server-component.html"> <meta name="description" content="IEC 60870 supervisory control and data acquisition (SCADA) server using NeoSCADA implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=". [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IEC 60870 Server :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/iec60870-server-component.html"> <meta name="description" content="IEC 60870 supervisory control and data acquisition (SCADA) server using NeoSCADA implementation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=". [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-iec60870</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-cache-component.html b/components/next/ignite-cache-component.html
index 085eb2ba..205c56ef 100644
--- a/components/next/ignite-cache-component.html
+++ b/components/next/ignite-cache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Cache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-cache-component.html"> <meta name="description" content="Perform cache operations on an Ignite cache or consume changes from a continuous query."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Cache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-cache-component.html"> <meta name="description" content="Perform cache operations on an Ignite cache or consume changes from a continuous query."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site- [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-compute-component.html b/components/next/ignite-compute-component.html
index 31f84326..f23329bb 100644
--- a/components/next/ignite-compute-component.html
+++ b/components/next/ignite-compute-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Compute :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-compute-component.html"> <meta name="description" content="Run compute operations on an Ignite cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Compute :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-compute-component.html"> <meta name="description" content="Run compute operations on an Ignite cluster."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-events-component.html b/components/next/ignite-events-component.html
index 25796378..f7678d9b 100644
--- a/components/next/ignite-events-component.html
+++ b/components/next/ignite-events-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Events :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-events-component.html"> <meta name="description" content="Receive events from an Ignite cluster by creating a local event listener."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Events :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-events-component.html"> <meta name="description" content="Receive events from an Ignite cluster by creating a local event listener."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.c [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-idgen-component.html b/components/next/ignite-idgen-component.html
index 4ade2e8e..8a8444bf 100644
--- a/components/next/ignite-idgen-component.html
+++ b/components/next/ignite-idgen-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite ID Generator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-idgen-component.html"> <meta name="description" content="Interact with Ignite Atomic Sequences and ID Generators ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite ID Generator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-idgen-component.html"> <meta name="description" content="Interact with Ignite Atomic Sequences and ID Generators ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-messaging-component.html b/components/next/ignite-messaging-component.html
index 7d1aa175..3d5b571d 100644
--- a/components/next/ignite-messaging-component.html
+++ b/components/next/ignite-messaging-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Messaging :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-messaging-component.html"> <meta name="description" content="Send and receive messages from an Ignite topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Messaging :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-messaging-component.html"> <meta name="description" content="Send and receive messages from an Ignite topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="app [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-queue-component.html b/components/next/ignite-queue-component.html
index 45c8cfc7..329c10f7 100644
--- a/components/next/ignite-queue-component.html
+++ b/components/next/ignite-queue-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Queues :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-queue-component.html"> <meta name="description" content="Interact with Ignite Queue data structures."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Queues :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-queue-component.html"> <meta name="description" content="Interact with Ignite Queue data structures."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-set-component.html b/components/next/ignite-set-component.html
index 30b4731d..f82b2982 100644
--- a/components/next/ignite-set-component.html
+++ b/components/next/ignite-set-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Sets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-set-component.html"> <meta name="description" content="Interact with Ignite Set data structures."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite Sets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-set-component.html"> <meta name="description" content="Interact with Ignite Set data structures."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ignite-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ignite-summary.html b/components/next/ignite-summary.html
index a09e10c7..413df3c3 100644
--- a/components/next/ignite-summary.html
+++ b/components/next/ignite-summary.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Ignite"> <meta property="og:site [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ignite :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ignite-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Ignite"> <meta property="og:site [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ignite</artifactId>
<version>${camel.version}</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/index.html b/components/next/index.html
index 49dab5de..b044568c 100644
--- a/components/next/index.html
+++ b/components/next/index.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Components :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Components"> <meta property="og:site_ [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Components :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Components"> <meta property="og:site_ [...]
\ No newline at end of file
diff --git a/components/next/infinispan-component.html b/components/next/infinispan-component.html
index 351359e0..268b4da1 100644
--- a/components/next/infinispan-component.html
+++ b/components/next/infinispan-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Infinispan :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/infinispan-component.html"> <meta name="description" content="Read and write from/to Infinispan distributed key/value store and data grid."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Infinispan :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/infinispan-component.html"> <meta name="description" content="Read and write from/to Infinispan distributed key/value store and data grid."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css" [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-infinispan</artifactId>
<version>x.x.x</version>
diff --git a/components/next/infinispan-embedded-component.html b/components/next/infinispan-embedded-component.html
index 60731401..7502a0cb 100644
--- a/components/next/infinispan-embedded-component.html
+++ b/components/next/infinispan-embedded-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Infinispan Embedded :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/infinispan-embedded-component.html"> <meta name="description" content="Read and write from/to Infinispan distributed key/value store and data grid."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/si [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Infinispan Embedded :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/infinispan-embedded-component.html"> <meta name="description" content="Read and write from/to Infinispan distributed key/value store and data grid."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/si [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-infinispan-embedded</artifactId>
<version>x.x.x</version>
diff --git a/components/next/influxdb-component.html b/components/next/influxdb-component.html
index b3a797de..f8a70f23 100644
--- a/components/next/influxdb-component.html
+++ b/components/next/influxdb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>InfluxDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/influxdb-component.html"> <meta name="description" content="Interact with InfluxDB v1, a time series database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>InfluxDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/influxdb-component.html"> <meta name="description" content="Interact with InfluxDB v1, a time series database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-influxdb</artifactId>
<version>x.x.x</version>
diff --git a/components/next/influxdb2-component.html b/components/next/influxdb2-component.html
index 791b145e..23b2a5af 100644
--- a/components/next/influxdb2-component.html
+++ b/components/next/influxdb2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>InfluxDB2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/influxdb2-component.html"> <meta name="description" content="Interact with InfluxDB v2, a time series database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>InfluxDB2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/influxdb2-component.html"> <meta name="description" content="Interact with InfluxDB v2, a time series database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-influxdb2</artifactId>
<version>x.x.x</version>
diff --git a/components/next/irc-component.html b/components/next/irc-component.html
index bf3d5a23..00968c47 100644
--- a/components/next/irc-component.html
+++ b/components/next/irc-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IRC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/irc-component.html"> <meta name="description" content="Send and receive messages to/from and IRC chat."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IRC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/irc-component.html"> <meta name="description" content="Send and receive messages to/from and IRC chat."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-irc</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ironmq-component.html b/components/next/ironmq-component.html
index f93e8dc1..45337981 100644
--- a/components/next/ironmq-component.html
+++ b/components/next/ironmq-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IronMQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ironmq-component.html"> <meta name="description" content="Send and receive messages to/from IronMQ an elastic and durable hosted message queue as a service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>IronMQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ironmq-component.html"> <meta name="description" content="Send and receive messages to/from IronMQ an elastic and durable hosted message queue as a service."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ironmq</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jcache-component.html b/components/next/jcache-component.html
index 614bf23e..cb288670 100644
--- a/components/next/jcache-component.html
+++ b/components/next/jcache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JCache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jcache-component.html"> <meta name="description" content="Perform caching operations against JSR107/JCache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JCache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jcache-component.html"> <meta name="description" content="Perform caching operations against JSR107/JCache."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
configuration.setTypes(String.class, Object.class);
configuration.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(new Duration(TimeUnit.MINUTES, 60)));
CacheManager cacheManager = Caching.getCachingProvider().getCacheManager();
diff --git a/components/next/jcr-component.html b/components/next/jcr-component.html
index f18b2b85..a727d5e6 100644
--- a/components/next/jcr-component.html
+++ b/components/next/jcr-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JCR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jcr-component.html"> <meta name="description" content="Read and write nodes to/from a JCR compliant content repository."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JCR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jcr-component.html"> <meta name="description" content="Read and write nodes to/from a JCR compliant content repository."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jcr</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jdbc-component.html b/components/next/jdbc-component.html
index 58d97a56..bd69d525 100644
--- a/components/next/jdbc-component.html
+++ b/components/next/jdbc-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JDBC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jdbc-component.html"> <meta name="description" content="Access databases through SQL and JDBC."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JDBC :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jdbc-component.html"> <meta name="description" content="Access databases through SQL and JDBC."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jdbc</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jetty-component.html b/components/next/jetty-component.html
index 15e4b5fa..cfc69c46 100644
--- a/components/next/jetty-component.html
+++ b/components/next/jetty-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jetty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jetty-component.html"> <meta name="description" content="Expose HTTP endpoints using Jetty 12."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jetty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jetty-component.html"> <meta name="description" content="Expose HTTP endpoints using Jetty 12."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jetty</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jgroups-component.html b/components/next/jgroups-component.html
index 2b669ecd..bcc0858e 100644
--- a/components/next/jgroups-component.html
+++ b/components/next/jgroups-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JGroups :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jgroups-component.html"> <meta name="description" content="Exchange messages with JGroups clusters."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JGroups :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jgroups-component.html"> <meta name="description" content="Exchange messages with JGroups clusters."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jgroups</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/jgroups-raft-component.html b/components/next/jgroups-raft-component.html
index 62ef976f..d4232252 100644
--- a/components/next/jgroups-raft-component.html
+++ b/components/next/jgroups-raft-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JGroups raft :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jgroups-raft-component.html"> <meta name="description" content="Exchange messages with JGroups-raft clusters."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JGroups raft :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jgroups-raft-component.html"> <meta name="description" content="Exchange messages with JGroups-raft clusters."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jgroups-raft</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/jira-component.html b/components/next/jira-component.html
index 45ca1bbb..ba588311 100644
--- a/components/next/jira-component.html
+++ b/components/next/jira-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jira :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jira-component.html"> <meta name="description" content="Interact with JIRA issue tracker."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jira :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jira-component.html"> <meta name="description" content="Interact with JIRA issue tracker."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jira</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/jms-component.html b/components/next/jms-component.html
index 45591414..dbcf71f9 100644
--- a/components/next/jms-component.html
+++ b/components/next/jms-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JMS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jms-component.html"> <meta name="description" content="Sent and receive messages to/from a JMS Queue or Topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JMS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jms-component.html"> <meta name="description" content="Sent and receive messages to/from a JMS Queue or Topic."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jmx-component.html b/components/next/jmx-component.html
index d929bfbb..f56cca5e 100644
--- a/components/next/jmx-component.html
+++ b/components/next/jmx-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JMX :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jmx-component.html"> <meta name="description" content="Receive JMX notifications."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta pr [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JMX :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jmx-component.html"> <meta name="description" content="Receive JMX notifications."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta pr [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-jmx-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jolt-component.html b/components/next/jolt-component.html
index c929082a..7c6558ff 100644
--- a/components/next/jolt-component.html
+++ b/components/next/jolt-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JOLT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jolt-component.html"> <meta name="description" content="JSON to JSON transformation using JOLT."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JOLT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jolt-component.html"> <meta name="description" content="JSON to JSON transformation using JOLT."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jolt</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jooq-component.html b/components/next/jooq-component.html
index 525eb330..8fcff241 100644
--- a/components/next/jooq-component.html
+++ b/components/next/jooq-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JOOQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jooq-component.html"> <meta name="description" content="Store and retrieve Java objects from an SQL database using JOOQ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JOOQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jooq-component.html"> <meta name="description" content="Store and retrieve Java objects from an SQL database using JOOQ."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
Query query = create.query("DELETE FROM BOOK");
query.execute();
diff --git a/components/next/jpa-component.html b/components/next/jpa-component.html
index 54dffaf6..3cb97e65 100644
--- a/components/next/jpa-component.html
+++ b/components/next/jpa-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JPA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jpa-component.html"> <meta name="description" content="Store and retrieve Java objects from databases using Java Persistence API (JPA)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JPA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jpa-component.html"> <meta name="description" content="Store and retrieve Java objects from databases using Java Persistence API (JPA)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jpa</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jslt-component.html b/components/next/jslt-component.html
index c22514cf..c379776d 100644
--- a/components/next/jslt-component.html
+++ b/components/next/jslt-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSLT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jslt-component.html"> <meta name="description" content="Query or transform JSON payloads using JSLT."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSLT :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jslt-component.html"> <meta name="description" content="Query or transform JSON payloads using JSLT."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jslt</artifactId>
<version>x.x.x</version>
diff --git a/components/next/json-patch-component.html b/components/next/json-patch-component.html
index f4d6e5ff..99e22684 100644
--- a/components/next/json-patch-component.html
+++ b/components/next/json-patch-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JsonPatch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/json-patch-component.html"> <meta name="description" content="Transforms JSON using JSON patch (RFC 6902)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JsonPatch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/json-patch-component.html"> <meta name="description" content="Transforms JSON using JSON patch (RFC 6902)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-json-patch</artifactId>
<version>x.x.x</version>
diff --git a/components/next/json-validator-component.html b/components/next/json-validator-component.html
index 05215c37..13adea01 100644
--- a/components/next/json-validator-component.html
+++ b/components/next/json-validator-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Schema Validator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/json-validator-component.html"> <meta name="description" content="Validate JSON payloads using NetworkNT JSON Schema."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSON Schema Validator :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/json-validator-component.html"> <meta name="description" content="Validate JSON payloads using NetworkNT JSON Schema."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-json-validator</artifactId>
<version>x.y.z</version>
diff --git a/components/next/jsonata-component.html b/components/next/jsonata-component.html
index 8bd598d1..200bddf7 100644
--- a/components/next/jsonata-component.html
+++ b/components/next/jsonata-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSONata :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jsonata-component.html"> <meta name="description" content="Transforms JSON payload using JSONata transformation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSONata :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jsonata-component.html"> <meta name="description" content="Transforms JSON payload using JSONata transformation."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jsonata</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jt400-component.html b/components/next/jt400-component.html
index 7b659b21..94c3ca5e 100644
--- a/components/next/jt400-component.html
+++ b/components/next/jt400-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JT400 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jt400-component.html"> <meta name="description" content="Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS/400 and iSeries servers."> <meta name="generator" content="Antora 3.1.7"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JT400 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jt400-component.html"> <meta name="description" content="Exchanges messages with an IBM i system using data queues, message queues, or program call. IBM i is the replacement for AS/400 and iSeries servers."> <meta name="generator" content="Antora 3.1.7"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jt400</artifactId>
<version>x.x.x</version>
diff --git a/components/next/jte-component.html b/components/next/jte-component.html
index 3b309724..15ff3df5 100644
--- a/components/next/jte-component.html
+++ b/components/next/jte-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JTE :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jte-component.html"> <meta name="description" content="Transform messages using a Java based template engine (JTE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JTE :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/jte-component.html"> <meta name="description" content="Transform messages using a Java based template engine (JTE)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jte</artifactId>
<version>x.x.x</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/kafka-component.html b/components/next/kafka-component.html
index ae86341a..5c05b606 100644
--- a/components/next/kafka-component.html
+++ b/components/next/kafka-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kafka :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kafka-component.html"> <meta name="description" content="Sent and receive messages to/from an Apache Kafka broker."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kafka :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kafka-component.html"> <meta name="description" content="Sent and receive messages to/from an Apache Kafka broker."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-kafka</artifactId>
<version>x.x.x</version>
diff --git a/components/next/kamelet-component.html b/components/next/kamelet-component.html
index ec394251..f497d6c8 100644
--- a/components/next/kamelet-component.html
+++ b/components/next/kamelet-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kamelet-component.html"> <meta name="description" content="To call Kamelets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prop [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kamelet-component.html"> <meta name="description" content="To call Kamelets"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prop [...]
.templateParameter("bodyValue")
.from("kamelet:source")
.setBody().constant("{{bodyValue}}");</code></pre> </div> </div> <div class="admonitionblock important"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-important" title="Important"></i> </td> <td class="content"> <div class="paragraph"> <p>To let the <strong>Kamelet</strong> component wiring the materialized route to the caller processor, we need to be able to identify the input and output endpoint of the route and this is done by using <code>kamelet: [...]
diff --git a/components/next/knative-component.html b/components/next/knative-component.html
index 529c2991..16b132ba 100644
--- a/components/next/knative-component.html
+++ b/components/next/knative-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/knative-component.html"> <meta name="description" content="Send and receive events from Knative."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/knative-component.html"> <meta name="description" content="Send and receive events from Knative."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-knative</artifactId>
<version>x.x.x</version>
diff --git a/components/next/kubernetes-config-maps-component.html b/components/next/kubernetes-config-maps-component.html
index 4a40499e..f588d986 100644
--- a/components/next/kubernetes-config-maps-component.html
+++ b/components/next/kubernetes-config-maps-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes ConfigMap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-config-maps-component.html"> <meta name="description" content="Perform operations on Kubernetes ConfigMaps and get notified on ConfigMaps changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes ConfigMap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-config-maps-component.html"> <meta name="description" content="Perform operations on Kubernetes ConfigMaps and get notified on ConfigMaps changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../ [...]
to("kubernetes-config-maps:///?kubernetesClient=#kubernetesClient&operation=listConfigMaps").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of ConfigMaps from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listConfigMapsByLabels: this operation lists the configmaps selected by label</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
diff --git a/components/next/kubernetes-cronjob-component.html b/components/next/kubernetes-cronjob-component.html
index 427c3d91..ad09ee45 100644
--- a/components/next/kubernetes-cronjob-component.html
+++ b/components/next/kubernetes-cronjob-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Cronjob :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-cronjob-component.html"> <meta name="description" content="Perform operations on Kubernetes CronJob."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Cronjob :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-cronjob-component.html"> <meta name="description" content="Perform operations on Kubernetes CronJob."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-kubernetes-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/kubernetes-custom-resources-component.html b/components/next/kubernetes-custom-resources-component.html
index de83ca6a..c07e7a96 100644
--- a/components/next/kubernetes-custom-resources-component.html
+++ b/components/next/kubernetes-custom-resources-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Custom Resources :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-custom-resources-component.html"> <meta name="description" content="Perform operations on Kubernetes Custom Resources and get notified on Deployment changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="sty [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Custom Resources :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-custom-resources-component.html"> <meta name="description" content="Perform operations on Kubernetes Custom Resources and get notified on Deployment changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="sty [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-kubernetes-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/kubernetes-deployments-component.html b/components/next/kubernetes-deployments-component.html
index 8f74e8bf..c993fe22 100644
--- a/components/next/kubernetes-deployments-component.html
+++ b/components/next/kubernetes-deployments-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Deployments :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-deployments-component.html"> <meta name="description" content="Perform operations on Kubernetes Deployments and get notified on Deployment changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Deployments :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-deployments-component.html"> <meta name="description" content="Perform operations on Kubernetes Deployments and get notified on Deployment changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient&operation=listDeployments").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation return a List of Deployment from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listDeploymentsByLabels: this operation list the deployments by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-events-component.html b/components/next/kubernetes-events-component.html
index cbd02730..bd859c01 100644
--- a/components/next/kubernetes-events-component.html
+++ b/components/next/kubernetes-events-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Event :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-events-component.html"> <meta name="description" content="Perform operations on Kubernetes Events and get notified on Events changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b28 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Event :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-events-component.html"> <meta name="description" content="Perform operations on Kubernetes Events and get notified on Events changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b28 [...]
to("kubernetes-events:///?kubernetesClient=#kubernetesClient&operation=listEvents").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a list of events from your cluster. The type of the events is <code>io.fabric8.kubernetes.api.model.events.v1.Event</code>.</p> </div> <div class="paragraph"> <p>To indicate from which namespace, the events are expected, it is possible to set the message header <code>CamelKubernetesNamespaceName</code>. By default, the events of all namespaces are returned.</p> </div> <div class="ulist"> < [...]
diff --git a/components/next/kubernetes-hpa-component.html b/components/next/kubernetes-hpa-component.html
index a1b71b94..57daf5f1 100644
--- a/components/next/kubernetes-hpa-component.html
+++ b/components/next/kubernetes-hpa-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes HPA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-hpa-component.html"> <meta name="description" content="Perform operations on Kubernetes Horizontal Pod Autoscalers (HPA) and get notified on HPA changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=".. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes HPA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-hpa-component.html"> <meta name="description" content="Perform operations on Kubernetes Horizontal Pod Autoscalers (HPA) and get notified on HPA changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=".. [...]
toF("kubernetes-hpa:///?kubernetesClient=#kubernetesClient&operation=listHPA").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of HPAs from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listDeploymentsByLabels: this operation lists the HPAs by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-job-component.html b/components/next/kubernetes-job-component.html
index 71df6ea2..14e65449 100644
--- a/components/next/kubernetes-job-component.html
+++ b/components/next/kubernetes-job-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Job :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-job-component.html"> <meta name="description" content="Perform operations on Kubernetes Jobs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Job :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-job-component.html"> <meta name="description" content="Perform operations on Kubernetes Jobs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
toF("kubernetes-job:///?kubernetesClient=#kubernetesClient&operation=listJob").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Jobs from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listJobByLabels: this operation lists the jobs by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-namespaces-component.html b/components/next/kubernetes-namespaces-component.html
index ea287171..df2e22d5 100644
--- a/components/next/kubernetes-namespaces-component.html
+++ b/components/next/kubernetes-namespaces-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Namespaces :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-namespaces-component.html"> <meta name="description" content="Perform operations on Kubernetes Namespaces and get notified on Namespace changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Namespaces :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-namespaces-component.html"> <meta name="description" content="Perform operations on Kubernetes Namespaces and get notified on Namespace changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../. [...]
toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient&operation=listNamespaces").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of namespaces from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listNamespacesByLabels: this operation lists the namespaces by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-nodes-component.html b/components/next/kubernetes-nodes-component.html
index 9fd47029..7a3c10bd 100644
--- a/components/next/kubernetes-nodes-component.html
+++ b/components/next/kubernetes-nodes-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Nodes :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-nodes-component.html"> <meta name="description" content="Perform operations on Kubernetes Nodes and get notified on Node changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Nodes :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-nodes-component.html"> <meta name="description" content="Perform operations on Kubernetes Nodes and get notified on Node changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
toF("kubernetes-nodes:///?kubernetesClient=#kubernetesClient&operation=listNodes").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Nodes from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listNodesByLabels: this operation lists the nodes by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-persistent-volumes-claims-component.html b/components/next/kubernetes-persistent-volumes-claims-component.html
index 5c69c014..6c2ccf70 100644
--- a/components/next/kubernetes-persistent-volumes-claims-component.html
+++ b/components/next/kubernetes-persistent-volumes-claims-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Persistent Volume Claim :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-persistent-volumes-claims-component.html"> <meta name="description" content="Perform operations on Kubernetes Persistent Volumes Claims and get notified on Persistent Volumes Claim changes."> <meta name="generator" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Persistent Volume Claim :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-persistent-volumes-claims-component.html"> <meta name="description" content="Perform operations on Kubernetes Persistent Volumes Claims and get notified on Persistent Volumes Claim changes."> <meta name="generator" [...]
toF("kubernetes-persistent-volumes-claims:///?kubernetesClient=#kubernetesClient&operation=listPersistentVolumesClaims").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of pvc from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listPersistentVolumesClaimsByLabels: this operation lists the pvc by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-persistent-volumes-component.html b/components/next/kubernetes-persistent-volumes-component.html
index cd262844..ef056663 100644
--- a/components/next/kubernetes-persistent-volumes-component.html
+++ b/components/next/kubernetes-persistent-volumes-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Persistent Volume :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-persistent-volumes-component.html"> <meta name="description" content="Perform operations on Kubernetes Persistent Volumes and get notified on Persistent Volume changes."> <meta name="generator" content="Antora 3.1.7"> <l [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Persistent Volume :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-persistent-volumes-component.html"> <meta name="description" content="Perform operations on Kubernetes Persistent Volumes and get notified on Persistent Volume changes."> <meta name="generator" content="Antora 3.1.7"> <l [...]
toF("kubernetes-persistent-volumes:///?kubernetesClient=#kubernetesClient&operation=listPersistentVolumes").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of pv from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listPersistentVolumesByLabels: this operation lists the pv by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-pods-component.html b/components/next/kubernetes-pods-component.html
index e4499fe3..0a447e3b 100644
--- a/components/next/kubernetes-pods-component.html
+++ b/components/next/kubernetes-pods-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Pods :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-pods-component.html"> <meta name="description" content="Perform operations on Kubernetes Pods and get notified on Pod changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Pods :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-pods-component.html"> <meta name="description" content="Perform operations on Kubernetes Pods and get notified on Pod changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
toF("kubernetes-pods:///?kubernetesClient=#kubernetesClient&operation=listPods").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Pods from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listPodsByLabels: this operation lists the pods by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-replication-controllers-component.html b/components/next/kubernetes-replication-controllers-component.html
index f63ef292..deb6304a 100644
--- a/components/next/kubernetes-replication-controllers-component.html
+++ b/components/next/kubernetes-replication-controllers-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Replication Controller :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-replication-controllers-component.html"> <meta name="description" content="Perform operations on Kubernetes Replication Controllers and get notified on Replication Controllers changes."> <meta name="generator" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Replication Controller :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-replication-controllers-component.html"> <meta name="description" content="Perform operations on Kubernetes Replication Controllers and get notified on Replication Controllers changes."> <meta name="generator" conte [...]
toF("kubernetes-replication-controllers:///?kubernetesClient=#kubernetesClient&operation=listReplicationControllers").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of RCs from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listReplicationControllersByLabels: this operation lists the RCs by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-resources-quota-component.html b/components/next/kubernetes-resources-quota-component.html
index 5132b8bf..9fee32e7 100644
--- a/components/next/kubernetes-resources-quota-component.html
+++ b/components/next/kubernetes-resources-quota-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Resources Quota :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-resources-quota-component.html"> <meta name="description" content="Perform operations on Kubernetes Resources Quotas."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Resources Quota :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-resources-quota-component.html"> <meta name="description" content="Perform operations on Kubernetes Resources Quotas."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
toF("kubernetes-resources-quota:///?kubernetesClient=#kubernetesClient&operation=listResourcesQuota").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Resource Quotas from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listResourcesQuotaByLabels: this operation lists the Resource Quotas by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Proc [...]
@Override
diff --git a/components/next/kubernetes-secrets-component.html b/components/next/kubernetes-secrets-component.html
index 4ca677fe..8d4286e0 100644
--- a/components/next/kubernetes-secrets-component.html
+++ b/components/next/kubernetes-secrets-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Secrets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-secrets-component.html"> <meta name="description" content="Perform operations on Kubernetes Secrets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Secrets :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-secrets-component.html"> <meta name="description" content="Perform operations on Kubernetes Secrets."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
toF("kubernetes-secrets:///?kubernetesClient=#kubernetesClient&operation=listSecrets").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of secrets from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listSecretsByLabels: this operation lists the Secrets by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-service-accounts-component.html b/components/next/kubernetes-service-accounts-component.html
index 8cc83ab7..86526dff 100644
--- a/components/next/kubernetes-service-accounts-component.html
+++ b/components/next/kubernetes-service-accounts-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Service Account :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-service-accounts-component.html"> <meta name="description" content="Perform operations on Kubernetes Service Accounts."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Service Account :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-service-accounts-component.html"> <meta name="description" content="Perform operations on Kubernetes Service Accounts."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c [...]
toF("kubernetes-service-accounts:///?kubernetesClient=#kubernetesClient&operation=listServiceAccounts").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of services from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listServiceAccountsByLabels: this operation lists the sa by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-services-component.html b/components/next/kubernetes-services-component.html
index dc790fb7..562b67f7 100644
--- a/components/next/kubernetes-services-component.html
+++ b/components/next/kubernetes-services-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Services :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-services-component.html"> <meta name="description" content="Perform operations on Kubernetes Services and get notified on Service changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes Services :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-services-component.html"> <meta name="description" content="Perform operations on Kubernetes Services and get notified on Service changes."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/ [...]
toF("kubernetes-services:///?kubernetesClient=#kubernetesClient&operation=listServices").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation return a List of services from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listServicesByLabels: this operation list the deployments by labels on a kubernetes cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/kubernetes-summary.html b/components/next/kubernetes-summary.html
index 4b10576d..6b81f0cd 100644
--- a/components/next/kubernetes-summary.html
+++ b/components/next/kubernetes-summary.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Kubernetes"> <meta prope [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kubernetes :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kubernetes-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Kubernetes"> <meta prope [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-kubernetes</artifactId>
<version>x.x.x</version>
diff --git a/components/next/kudu-component.html b/components/next/kudu-component.html
index b71958b6..38d4f60b 100644
--- a/components/next/kudu-component.html
+++ b/components/next/kudu-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kudu :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kudu-component.html"> <meta name="description" content="Interact with Apache Kudu, a free and open source column-oriented data store of the Apache Hadoop ecosystem."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/ [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kudu :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/kudu-component.html"> <meta name="description" content="Interact with Apache Kudu, a free and open source column-oriented data store of the Apache Hadoop ecosystem."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/ [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-kudu</artifactId>
<version>x.x.x</version>
diff --git a/components/next/language-component.html b/components/next/language-component.html
index 75687099..32c0bf60 100644
--- a/components/next/language-component.html
+++ b/components/next/language-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Language :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/language-component.html"> <meta name="description" content="Execute scripts in any of the languages supported by Camel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Language :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/language-component.html"> <meta name="description" content="Execute scripts in any of the languages supported by Camel."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applica [...]
.to("language:simple:Hello ${body}")</code></pre> </div> </div> <div class="paragraph"> <p>In case you want to convert the message body type, you can do this as well. However, it is better to use <a href="eips/convertBodyTo-eip.html" class="xref page">Convert Body To</a>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:toString")
.to("language:simple:${bodyAs(String.class)}")</code></pre> </div> </div> <div class="paragraph"> <p>You can also use the <a href="languages/groovy-language.html" class="xref page">Groovy</a> language, such as this example where the input message will be multiplied with 2:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-groovy hljs" data-lang="groovy">from("direct:double")
.to("language:groovy:${body} * 2}")</code></pre> </div> </div> <div class="paragraph"> <p>You can also provide the script as a header as shown below. Here we use <a href="languages/xpath-language.html" class="xref page">XPath</a> language to extract the text from the <code><foo></code> tag.</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">Object out = producer.requestBodyAndHeader("l [...]
diff --git a/components/next/languages/bean-language.html b/components/next/languages/bean-language.html
index 78806131..5ac2f241 100644
--- a/components/next/languages/bean-language.html
+++ b/components/next/languages/bean-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean Method :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/bean-language.html"> <meta name="description" content="Calls a Java bean method."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Bean Method :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/bean-language.html"> <meta name="description" content="Calls a Java bean method."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
.filter().method("myBean", "isGoldCustomer")
.to("activemq:BigSpendersQueue");</code></pre> </div> </div> <div class="admonitionblock tip"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-tip" title="Tip"></i> </td> <td class="content"> <div class="paragraph"> <p>It is also possible to omit the method name. In this case, then Camel would choose the best suitable method to use. This process is complex, so it is good practice to specify the method name.</p> </div> </td> </tr> </table></div> </div> </di [...]
<from uri="activemq:topic:OrdersTopic"/>
diff --git a/components/next/languages/constant-language.html b/components/next/languages/constant-language.html
index 73990cc3..07db6f75 100644
--- a/components/next/languages/constant-language.html
+++ b/components/next/languages/constant-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Constant :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/constant-language.html"> <meta name="description" content="A fixed value set only once during the route startup."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Constant :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/constant-language.html"> <meta name="description" content="A fixed value set only once during the route startup."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
<from uri="seda:a"/>
<setHeader name="theHeader">
<constant>the value</constant>
diff --git a/components/next/languages/csimple-language.html b/components/next/languages/csimple-language.html
index b72357e7..dd2dc1cd 100644
--- a/components/next/languages/csimple-language.html
+++ b/components/next/languages/csimple-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSimple :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/csimple-language.html"> <meta name="description" content="Evaluate a compiled simple expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSimple :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/csimple-language.html"> <meta name="description" content="Evaluate a compiled simple expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
<!-- generate source code for csimple languages -->
<plugin>
<groupId>org.apache.camel</groupId>
diff --git a/components/next/languages/datasonnet-language.html b/components/next/languages/datasonnet-language.html
index 382c9c38..0747bdf1 100644
--- a/components/next/languages/datasonnet-language.html
+++ b/components/next/languages/datasonnet-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DataSonnet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/datasonnet-language.html"> <meta name="description" content="To use DataSonnet scripts for message transformations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DataSonnet :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/datasonnet-language.html"> <meta name="description" content="To use DataSonnet scripts for message transformations."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta na [...]
from("queue:foo")
.filter(datasonnet("ds.arrays.firstWith(body.lineItems, function(item) item > 100) != null"))
.to("queue:bar");</code></pre> </div> </div> </div> <div id="_tabs_1_xml--panel" class="tabpanel" aria-labelledby="_tabs_1_xml"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
diff --git a/components/next/languages/exchangeProperty-language.html b/components/next/languages/exchangeProperty-language.html
index 5e6f6429..0d79b7ce 100644
--- a/components/next/languages/exchangeProperty-language.html
+++ b/components/next/languages/exchangeProperty-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ExchangeProperty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/exchangeProperty-language.html"> <meta name="description" content="Gets a property from the Exchange."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ExchangeProperty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/exchangeProperty-language.html"> <meta name="description" content="Gets a property from the Exchange."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<from uri="direct:a" />
<recipientList>
<exchangeProperty>myProperty</exchangeProperty>
diff --git a/components/next/languages/file-language.html b/components/next/languages/file-language.html
index 6f21fbeb..bc68eb1a 100644
--- a/components/next/languages/file-language.html
+++ b/components/next/languages/file-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/file-language.html"> <meta name="description" content="File related capabilities for the Simple language"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>File :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/file-language.html"> <meta name="description" content="File related capabilities for the Simple language"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-core-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/languages/groovy-language.html b/components/next/languages/groovy-language.html
index 97de515b..5e4fac46 100644
--- a/components/next/languages/groovy-language.html
+++ b/components/next/languages/groovy-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Groovy :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/groovy-language.html"> <meta name="description" content="Evaluates a Groovy script."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Groovy :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/groovy-language.html"> <meta name="description" content="Evaluates a Groovy script."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
.filter(groovy("request.lineItems.any { i -> i.value > 100 }"))
.to("queue:bar")</code></pre> </div> </div> </div> <div id="_tabs_1_xml_dsl--panel" class="tabpanel" aria-labelledby="_tabs_1_xml_dsl"> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="queue:foo"/>
diff --git a/components/next/languages/header-language.html b/components/next/languages/header-language.html
index c83cd556..5968133e 100644
--- a/components/next/languages/header-language.html
+++ b/components/next/languages/header-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/header-language.html"> <meta name="description" content="Gets a header from the Exchange."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Header :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/header-language.html"> <meta name="description" content="Gets a header from the Exchange."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
<from uri="direct:a" />
<recipientList>
<header>myHeader</header>
diff --git a/components/next/languages/hl7terser-language.html b/components/next/languages/hl7terser-language.html
index bc322ef7..ee30d74f 100644
--- a/components/next/languages/hl7terser-language.html
+++ b/components/next/languages/hl7terser-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HL7 Terser :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/hl7terser-language.html"> <meta name="description" content="Get the value of a HL7 message field specified by terse location specification syntax."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>HL7 Terser :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/hl7terser-language.html"> <meta name="description" content="Get the value of a HL7 message field specified by terse location specification syntax."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css [...]
// extract patient ID from field QRD-8 in the QRY_A19 message above and put into message header
from("direct:test1")
diff --git a/components/next/languages/index.html b/components/next/languages/index.html
index a465561f..152079f2 100644
--- a/components/next/languages/index.html
+++ b/components/next/languages/index.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Expression Languages :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Expression Lan [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Expression Languages :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Expression Lan [...]
\ No newline at end of file
diff --git a/components/next/languages/java-language.html b/components/next/languages/java-language.html
index 5a98ec87..0f8d6676 100644
--- a/components/next/languages/java-language.html
+++ b/components/next/languages/java-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Java :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/java-language.html"> <meta name="description" content="Evaluates a Java (Java compiled once at runtime) expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Java :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/java-language.html"> <meta name="description" content="Evaluates a Java (Java compiled once at runtime) expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
public String echo(String str) {
return str + str;
diff --git a/components/next/languages/joor-language.html b/components/next/languages/joor-language.html
index bdaf2307..d1507e20 100644
--- a/components/next/languages/joor-language.html
+++ b/components/next/languages/joor-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>jOOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/joor-language.html"> <meta name="description" content="Evaluates a jOOR (Java compiled once at runtime) expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>jOOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/joor-language.html"> <meta name="description" content="Evaluates a jOOR (Java compiled once at runtime) expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
public String echo(String str) {
return str + str;
diff --git a/components/next/languages/jq-language.html b/components/next/languages/jq-language.html
index c0093573..4339cd56 100644
--- a/components/next/languages/jq-language.html
+++ b/components/next/languages/jq-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/jq-language.html"> <meta name="description" content="Evaluates a JQ expression against a JSON message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JQ :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/jq-language.html"> <meta name="description" content="Evaluates a JQ expression against a JSON message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
.choice()
.when().jq(".store.book.price < 10)")
.to("jms:queue:book.cheap")
diff --git a/components/next/languages/js-language.html b/components/next/languages/js-language.html
index 7f71cf61..b141a0fb 100644
--- a/components/next/languages/js-language.html
+++ b/components/next/languages/js-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaScript :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/js-language.html"> <meta name="description" content="Evaluates a JavaScript expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaScript :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/js-language.html"> <meta name="description" content="Evaluates a JavaScript expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-javascript</artifactId>
<version>x.x.x</version>
diff --git a/components/next/languages/jsonpath-language.html b/components/next/languages/jsonpath-language.html
index e7ae03e0..64b66c2f 100644
--- a/components/next/languages/jsonpath-language.html
+++ b/components/next/languages/jsonpath-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSONPath :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/jsonpath-language.html"> <meta name="description" content="Evaluates a JSONPath expression against a JSON message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JSONPath :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/jsonpath-language.html"> <meta name="description" content="Evaluates a JSONPath expression against a JSON message body."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
.choice()
.when().jsonpath("$.store.book[?(@.price < 10)]")
.to("jms:queue:book.cheap")
diff --git a/components/next/languages/mvel-language.html b/components/next/languages/mvel-language.html
index 01d11edc..33c3f1e5 100644
--- a/components/next/languages/mvel-language.html
+++ b/components/next/languages/mvel-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MVEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/mvel-language.html"> <meta name="description" content="Evaluates a MVEL template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MVEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/mvel-language.html"> <meta name="description" content="Evaluates a MVEL template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
.filter().mvel("headers.foo == 'bar'")
.to("seda:bar");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/next/languages/ognl-language.html b/components/next/languages/ognl-language.html
index 92865086..badb5eb2 100644
--- a/components/next/languages/ognl-language.html
+++ b/components/next/languages/ognl-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OGNL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/ognl-language.html"> <meta name="description" content="Evaluates an OGNL expression (Apache Commons OGNL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OGNL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/ognl-language.html"> <meta name="description" content="Evaluates an OGNL expression (Apache Commons OGNL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application [...]
.filter().ognl("request.headers.foo == 'bar'")
.to("seda:bar");</code></pre> </div> </div> <div class="paragraph"> <p>And in XML:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
<from uri="seda:foo"/>
diff --git a/components/next/languages/python-language.html b/components/next/languages/python-language.html
index 80b51044..cc923ea1 100644
--- a/components/next/languages/python-language.html
+++ b/components/next/languages/python-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Python :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/python-language.html"> <meta name="description" content="Evaluates a Python expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Python :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/python-language.html"> <meta name="description" content="Evaluates a Python expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-python</artifactId>
<version>x.x.x</version>
diff --git a/components/next/languages/ref-language.html b/components/next/languages/ref-language.html
index 8fde1344..b7f05c9d 100644
--- a/components/next/languages/ref-language.html
+++ b/components/next/languages/ref-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ref :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/ref-language.html"> <meta name="description" content="Uses an existing expression from the registry."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Ref :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/ref-language.html"> <meta name="description" content="Uses an existing expression from the registry."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
<route>
<from uri="seda:a"/>
diff --git a/components/next/languages/simple-language.html b/components/next/languages/simple-language.html
index ea62bcfd..d23f86d3 100644
--- a/components/next/languages/simple-language.html
+++ b/components/next/languages/simple-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Simple :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/simple-language.html"> <meta name="description" content="Evaluates a Camel simple expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Simple :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/simple-language.html"> <meta name="description" content="Evaluates a Camel simple expression."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
simple("${body.address.street}")
simple("${body.address.zip}")</code></pre> </div> </div> <div class="paragraph"> <p>Camel understands the shorthand names for getters, but you can invoke any method or use the real name such as:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">simple("${body.address}")
simple("${body.getAddress.getStreet}")
diff --git a/components/next/languages/spel-language.html b/components/next/languages/spel-language.html
index 05c2af8f..1d235aa6 100644
--- a/components/next/languages/spel-language.html
+++ b/components/next/languages/spel-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SpEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/spel-language.html"> <meta name="description" content="Evaluates a Spring expression (SpEL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>SpEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/spel-language.html"> <meta name="description" content="Evaluates a Spring expression (SpEL)."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
<from uri="direct:foo"/>
<filter>
<spel>#{request.headers.foo == 'bar'}</spel>
diff --git a/components/next/languages/tokenize-language.html b/components/next/languages/tokenize-language.html
index 495ba877..ca45122e 100644
--- a/components/next/languages/tokenize-language.html
+++ b/components/next/languages/tokenize-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tokenize :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/tokenize-language.html"> <meta name="description" content="Tokenize text payloads using delimiter patterns."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tokenize :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/tokenize-language.html"> <meta name="description" content="Tokenize text payloads using delimiter patterns."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applic [...]
<from uri="direct:a"/>
<split>
<tokenize token="\n"/>
diff --git a/components/next/languages/variable-language.html b/components/next/languages/variable-language.html
index e96563cd..88e581f8 100644
--- a/components/next/languages/variable-language.html
+++ b/components/next/languages/variable-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/variable-language.html"> <meta name="description" content="Gets a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Variable :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/variable-language.html"> <meta name="description" content="Gets a variable"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
<from uri="direct:a" />
<recipientList>
<variable>myVar</variable>
diff --git a/components/next/languages/wasm-language.html b/components/next/languages/wasm-language.html
index 2d014c16..03030024 100644
--- a/components/next/languages/wasm-language.html
+++ b/components/next/languages/wasm-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wasm :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/wasm-language.html"> <meta name="description" content="Call a wasm (web assembly) function."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Wasm :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/wasm-language.html"> <meta name="description" content="Call a wasm (web assembly) function."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
let mut buf = Vec::with_capacity(size as usize);
let ptr = buf.as_mut_ptr();
diff --git a/components/next/languages/xpath-language.html b/components/next/languages/xpath-language.html
index 60ff9a6c..34b657df 100644
--- a/components/next/languages/xpath-language.html
+++ b/components/next/languages/xpath-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XPath :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xpath-language.html"> <meta name="description" content="Evaluates an XPath expression against an XML payload."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XPath :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xpath-language.html"> <meta name="description" content="Evaluates an XPath expression against an XML payload."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applica [...]
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
diff --git a/components/next/languages/xquery-language.html b/components/next/languages/xquery-language.html
index 9a81e965..2da103c4 100644
--- a/components/next/languages/xquery-language.html
+++ b/components/next/languages/xquery-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XQuery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xquery-language.html"> <meta name="description" content="Evaluates an XQuery expressions against an XML payload."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="app [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XQuery :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xquery-language.html"> <meta name="description" content="Evaluates an XQuery expressions against an XML payload."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="app [...]
.filter().xquery("//foo")
.to("queue:bar")</code></pre> </div> </div> <div class="paragraph"> <p>You can also use functions inside your query, in which case you need an explicit type conversion, or you will get an <code>org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR</code>). You need to pass in the expected output type of the function. For example, the concat function returns a <code>String</code> which is done as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highli [...]
.recipientList().xquery("concat('mock:foo.', /person/@city)", String.class);</code></pre> </div> </div> <div class="paragraph"> <p>And in XML DSL:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"><route>
diff --git a/components/next/languages/xtokenize-language.html b/components/next/languages/xtokenize-language.html
index 6a217445..b46fb4bd 100644
--- a/components/next/languages/xtokenize-language.html
+++ b/components/next/languages/xtokenize-language.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Tokenize :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xtokenize-language.html"> <meta name="description" content="Tokenize XML payloads."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Tokenize :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/languages/xtokenize-language.html"> <meta name="description" content="Tokenize XML payloads."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-stax-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ldap-component.html b/components/next/ldap-component.html
index 08bad83d..e9b06333 100644
--- a/components/next/ldap-component.html
+++ b/components/next/ldap-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LDAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ldap-component.html"> <meta name="description" content="Perform searches on LDAP servers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LDAP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ldap-component.html"> <meta name="description" content="Perform searches on LDAP servers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ldap</artifactId>
<version>x.x.x</version>
diff --git a/components/next/ldif-component.html b/components/next/ldif-component.html
index f851260c..f8e9e727 100644
--- a/components/next/ldif-component.html
+++ b/components/next/ldif-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LDIF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ldif-component.html"> <meta name="description" content="Perform updates on an LDAP server from an LDIF body content."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LDIF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/ldif-component.html"> <meta name="description" content="Perform updates on an LDAP server from an LDIF body content."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-ldif</artifactId>
<version>x.x.x</version>
diff --git a/components/next/log-component.html b/components/next/log-component.html
index 5e59d185..837579f2 100644
--- a/components/next/log-component.html
+++ b/components/next/log-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/log-component.html"> <meta name="description" content="Log messages to the underlying logging mechanism."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Log :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/log-component.html"> <meta name="description" content="Log messages to the underlying logging mechanism."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content=" [...]
<from uri="activemq:orders"/>
<to uri="log:com.mycompany.order?level=DEBUG"/>
<to uri="bean:processOrder"/>
diff --git a/components/next/lpr-component.html b/components/next/lpr-component.html
index 6277769d..70c69f9c 100644
--- a/components/next/lpr-component.html
+++ b/components/next/lpr-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Printer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lpr-component.html"> <meta name="description" content="Send print jobs to printers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Printer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lpr-component.html"> <meta name="description" content="Send print jobs to printers."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <m [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-printer</artifactId>
<version>x.x.x</version>
diff --git a/components/next/lucene-component.html b/components/next/lucene-component.html
index 3c3e4d0c..b1db52be 100644
--- a/components/next/lucene-component.html
+++ b/components/next/lucene-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Lucene :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lucene-component.html"> <meta name="description" content="Perform inserts or queries against Apache Lucene databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Lucene :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lucene-component.html"> <meta name="description" content="Perform inserts or queries against Apache Lucene databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lucene</artifactId>
<version>x.x.x</version>
diff --git a/components/next/lumberjack-component.html b/components/next/lumberjack-component.html
index 8d647ace..70c57820 100644
--- a/components/next/lumberjack-component.html
+++ b/components/next/lumberjack-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Lumberjack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lumberjack-component.html"> <meta name="description" content="Receive logs messages using the Lumberjack protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Lumberjack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/lumberjack-component.html"> <meta name="description" content="Receive logs messages using the Lumberjack protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lumberjack</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mail-component.html b/components/next/mail-component.html
index 5ffae4e1..513a9d70 100644
--- a/components/next/mail-component.html
+++ b/components/next/mail-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mail-component.html"> <meta name="description" content="Send and receive emails using imap, pop3 and smtp protocols."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mail :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mail-component.html"> <meta name="description" content="Send and receive emails using imap, pop3 and smtp protocols."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mapstruct-component.html b/components/next/mapstruct-component.html
index a3da02a1..928ba3a0 100644
--- a/components/next/mapstruct-component.html
+++ b/components/next/mapstruct-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MapStruct :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mapstruct-component.html"> <meta name="description" content="Type Conversion using Mapstruct"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MapStruct :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mapstruct-component.html"> <meta name="description" content="Type Conversion using Mapstruct"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
mc.setMapperPackageName("com.foo.mapper,com.bar.mapper");</code></pre> </div> </div> <div class="paragraph"> <p>This can also be configured in <code>application.properties</code>:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-properties hljs" data-lang="properties">camel.component.mapstruct.mapper-package-name = com.foo.mapper,com.bar.mapper</code></pre> </div> </div> <div class="paragraph"> <p>Camel will on startup s [...]
.convertBodyTo(MyFooDto.class);</code></pre> </div> </div> <div class="paragraph"> <p>Where <code>MyFooDto</code> is a POJO that MapStruct is able to convert to/from.</p> </div> <div class="admonitionblock note"> <div class="table-wrapper"><table> <tr> <td class="icon"> <i class="fa icon-note" title="Note"></i> </td> <td class="content"> Camel does not support mapper methods defined with a <code>void</code> return type such as those used with <code>@MappingTarget</code>. </td> </tr> </ [...]
<groupId>org.apache.camel.springboot</groupId>
diff --git a/components/next/master-component.html b/components/next/master-component.html
index 1a245200..d85b7e10 100644
--- a/components/next/master-component.html
+++ b/components/next/master-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Master :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/master-component.html"> <meta name="description" content="Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=".. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Master :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/master-component.html"> <meta name="description" content="Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=".. [...]
.to("activemq:wine");</code></pre> </div> </div> <div class="paragraph"> <p>In this example, the master component ensures that the route is only active in one node, at any given time, in the cluster. So if there are 8 nodes in the cluster, then the master component will elect one route to be the leader, and only this route will be active, and hence only this route will consume messages from <code>jms:foo</code>. In case this route is stopped or unexpectedly terminated, then the master [...]
String url = "file:target/inbox?delete=true";
diff --git a/components/next/metrics-component.html b/components/next/metrics-component.html
index 2f7c5444..3fb04355 100644
--- a/components/next/metrics-component.html
+++ b/components/next/metrics-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Metrics :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/metrics-component.html"> <meta name="description" content="Collect various metrics directly from Camel routes using the DropWizard metrics library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Metrics :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/metrics-component.html"> <meta name="description" content="Collect various metrics directly from Camel routes using the DropWizard metrics library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-metrics</artifactId>
<version>x.x.x</version>
diff --git a/components/next/micrometer-component.html b/components/next/micrometer-component.html
index ab20b4a3..df44d164 100644
--- a/components/next/micrometer-component.html
+++ b/components/next/micrometer-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/micrometer-component.html"> <meta name="description" content="Collect various metrics directly from Camel routes using the Micrometer library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/micrometer-component.html"> <meta name="description" content="Collect various metrics directly from Camel routes using the Micrometer library."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63. [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-micrometer</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mina-component.html b/components/next/mina-component.html
index 935aba23..090f59e6 100644
--- a/components/next/mina-component.html
+++ b/components/next/mina-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mina :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mina-component.html"> <meta name="description" content="Socket level networking using TCP or UDP with Apache Mina 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mina :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mina-component.html"> <meta name="description" content="Socket level networking using TCP or UDP with Apache Mina 2.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mina</artifactId>
<version>x.x.x</version>
diff --git a/components/next/minio-component.html b/components/next/minio-component.html
index f6d8330f..93eeafa6 100644
--- a/components/next/minio-component.html
+++ b/components/next/minio-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Minio :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/minio-component.html"> <meta name="description" content="Store and retrieve objects from Minio Storage Service using Minio SDK."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Minio :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/minio-component.html"> <meta name="description" content="Store and retrieve objects from Minio Storage Service using Minio SDK."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
.to("file:/var/downloaded");</code></pre> </div> </div> </div> </div> <div class="sect1"> <h2 id="_configuring_options"><a class="anchor" href="#_configuring_options"></a>Configuring Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel components are configured on two separate levels:</p> </div> <div class="ulist"> <ul> <li> <p>component level</p> </li> <li> <p>endpoint level</p> </li> </ul> </div> <div class="sect2"> <h3 id="_configuring_component_options"><a class= [...]
.to("mock:result");</code></pre> </div> </div> </div> <div class="sect2"> <h3 id="_minio_producer_operation_examples"><a class="anchor" href="#_minio_producer_operation_examples"></a>Minio Producer Operation examples</h3> <div class="ulist"> <ul> <li> <p>CopyObject: this operation copies an object from one bucket to a different one</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java"> [...]
diff --git a/components/next/mllp-component.html b/components/next/mllp-component.html
index 7c52d9f2..04d23ad7 100644
--- a/components/next/mllp-component.html
+++ b/components/next/mllp-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MLLP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mllp-component.html"> <meta name="description" content="Communicate with external systems using the MLLP protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MLLP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mllp-component.html"> <meta name="description" content="Communicate with external systems using the MLLP protocol."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mllp</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mock-component.html b/components/next/mock-component.html
index 9d94a17b..329a589e 100644
--- a/components/next/mock-component.html
+++ b/components/next/mock-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mock :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mock-component.html"> <meta name="description" content="Test routes and mediation rules using mocks."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mock :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mock-component.html"> <meta name="description" content="Test routes and mediation rules using mocks."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
// set expectations
resultEndpoint.expectedMessageCount(2);
diff --git a/components/next/mongodb-component.html b/components/next/mongodb-component.html
index 4f530951..58537165 100644
--- a/components/next/mongodb-component.html
+++ b/components/next/mongodb-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MongoDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mongodb-component.html"> <meta name="description" content="Perform operations on MongoDB documents and collections."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MongoDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mongodb-component.html"> <meta name="description" content="Perform operations on MongoDB documents and collections."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mongodb</artifactId>
<version>x.y.z</version>
diff --git a/components/next/mongodb-gridfs-component.html b/components/next/mongodb-gridfs-component.html
index c1ff8c5a..6de50415 100644
--- a/components/next/mongodb-gridfs-component.html
+++ b/components/next/mongodb-gridfs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MongoDB GridFS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mongodb-gridfs-component.html"> <meta name="description" content="Interact with MongoDB GridFS."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MongoDB GridFS :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mongodb-gridfs-component.html"> <meta name="description" content="Interact with MongoDB GridFS."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mongodb-gridfs</artifactId>
<version>x.y.z</version>
diff --git a/components/next/mustache-component.html b/components/next/mustache-component.html
index 844663d7..5059b680 100644
--- a/components/next/mustache-component.html
+++ b/components/next/mustache-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mustache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mustache-component.html"> <meta name="description" content="Transform messages using a Mustache template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mustache :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mustache-component.html"> <meta name="description" content="Transform messages using a Mustache template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mustache</artifactId>
<version>x.x.x</version> <!-- use the same version as your Camel core version -->
diff --git a/components/next/mvel-component.html b/components/next/mvel-component.html
index 2c681888..7fa97270 100644
--- a/components/next/mvel-component.html
+++ b/components/next/mvel-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MVEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mvel-component.html"> <meta name="description" content="Transform messages using an MVEL template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MVEL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mvel-component.html"> <meta name="description" content="Transform messages using an MVEL template."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mvel</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mybatis-bean-component.html b/components/next/mybatis-bean-component.html
index 6bb6f916..f4701f31 100644
--- a/components/next/mybatis-bean-component.html
+++ b/components/next/mybatis-bean-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MyBatis Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mybatis-bean-component.html"> <meta name="description" content="Perform queries, inserts, updates or deletes in a relational database using MyBatis."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b28 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MyBatis Bean :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mybatis-bean-component.html"> <meta name="description" content="Perform queries, inserts, updates or deletes in a relational database using MyBatis."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b28 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mybatis</artifactId>
<version>x.x.x</version>
diff --git a/components/next/mybatis-component.html b/components/next/mybatis-component.html
index 62d927d0..20515ea0 100644
--- a/components/next/mybatis-component.html
+++ b/components/next/mybatis-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MyBatis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mybatis-component.html"> <meta name="description" content="Performs a query, poll, insert, update or delete in a relational database using MyBatis."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>MyBatis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/mybatis-component.html"> <meta name="description" content="Performs a query, poll, insert, update or delete in a relational database using MyBatis."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c6 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mybatis</artifactId>
<version>x.x.x</version>
diff --git a/components/next/nats-component.html b/components/next/nats-component.html
index e3f7212f..1bad7e7d 100644
--- a/components/next/nats-component.html
+++ b/components/next/nats-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Nats :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/nats-component.html"> <meta name="description" content="Send and receive messages from NATS messaging system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Nats :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/nats-component.html"> <meta name="description" content="Send and receive messages from NATS messaging system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" con [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-nats</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/netty-component.html b/components/next/netty-component.html
index 9cdad904..dc61c98d 100644
--- a/components/next/netty-component.html
+++ b/components/next/netty-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Netty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/netty-component.html"> <meta name="description" content="Socket level networking using TCP or UDP with Netty 4.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Netty :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/netty-component.html"> <meta name="description" content="Socket level networking using TCP or UDP with Netty 4.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-netty</artifactId>
<version>x.x.x</version>
diff --git a/components/next/netty-http-component.html b/components/next/netty-http-component.html
index fb8cc98d..bd2653f7 100644
--- a/components/next/netty-http-component.html
+++ b/components/next/netty-http-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Netty HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/netty-http-component.html"> <meta name="description" content="Netty HTTP server and client using the Netty 4.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Netty HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/netty-http-component.html"> <meta name="description" content="Netty HTTP server and client using the Netty 4.x."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-netty-http</artifactId>
<version>x.x.x</version>
diff --git a/components/next/nitrite-component.html b/components/next/nitrite-component.html
index 885700db..88ea9c69 100644
--- a/components/next/nitrite-component.html
+++ b/components/next/nitrite-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Nitrite :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/nitrite-component.html"> <meta name="description" content="Access Nitrite databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Nitrite :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/nitrite-component.html"> <meta name="description" content="Access Nitrite databases."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-nitrite</artifactId>
<version>x.x.x</version>
diff --git a/components/next/oaipmh-component.html b/components/next/oaipmh-component.html
index 9f613de6..bb77454c 100644
--- a/components/next/oaipmh-component.html
+++ b/components/next/oaipmh-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OAI-PMH :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/oaipmh-component.html"> <meta name="description" content="Harvest metadata using OAI-PMH protocol"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OAI-PMH :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/oaipmh-component.html"> <meta name="description" content="Harvest metadata using OAI-PMH protocol"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apa [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-oaipmh</artifactId>
<version>x.x.x</version>
diff --git a/components/next/olingo2-component.html b/components/next/olingo2-component.html
index 50380414..08461182 100644
--- a/components/next/olingo2-component.html
+++ b/components/next/olingo2-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Olingo2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/olingo2-component.html"> <meta name="description" content="Communicate with OData 2.0 services using Apache Olingo."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Olingo2 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/olingo2-component.html"> <meta name="description" content="Communicate with OData 2.0 services using Apache Olingo."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-olingo2</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/olingo4-component.html b/components/next/olingo4-component.html
index 75ee0dd7..9987a050 100644
--- a/components/next/olingo4-component.html
+++ b/components/next/olingo4-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Olingo4 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/olingo4-component.html"> <meta name="description" content="Communicate with OData 4.0 services using Apache Olingo OData API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Olingo4 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/olingo4-component.html"> <meta name="description" content="Communicate with OData 4.0 services using Apache Olingo OData API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-olingo4</artifactId>
<version>x.x.x</version>
diff --git a/components/next/opensearch-component.html b/components/next/opensearch-component.html
index 46e92e39..4b5bb298 100644
--- a/components/next/opensearch-component.html
+++ b/components/next/opensearch-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenSearch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/opensearch-component.html"> <meta name="description" content="Send requests to OpenSearch via Java Client API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenSearch :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/opensearch-component.html"> <meta name="description" content="Send requests to OpenSearch via Java Client API."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-opensearch</artifactId>
<version>x.x.x</version>
diff --git a/components/next/openshift-build-configs-component.html b/components/next/openshift-build-configs-component.html
index 5ae193c2..bd26150b 100644
--- a/components/next/openshift-build-configs-component.html
+++ b/components/next/openshift-build-configs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Build Config :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-build-configs-component.html"> <meta name="description" content="Perform operations on OpenShift Build Configs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Build Config :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-build-configs-component.html"> <meta name="description" content="Perform operations on OpenShift Build Configs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <me [...]
toF("openshift-build-configs:///?kubernetesClient=#kubernetesClient&operation=listBuildConfigs").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Builds from your Openshift cluster</p> </div> <div class="ulist"> <ul> <li> <p>listBuildsByLabels: this operation lists the build configs by labels on an Openshift cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/openshift-builds-component.html b/components/next/openshift-builds-component.html
index 23f81bc9..b6e7ccab 100644
--- a/components/next/openshift-builds-component.html
+++ b/components/next/openshift-builds-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Builds :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-builds-component.html"> <meta name="description" content="Perform operations on OpenShift Builds."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Builds :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-builds-component.html"> <meta name="description" content="Perform operations on OpenShift Builds."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
toF("openshift-builds:///?kubernetesClient=#kubernetesClient&operation=listBuilds").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Builds from your Openshift cluster</p> </div> <div class="ulist"> <ul> <li> <p>listBuildsByLabels: this operation lists the builds by labels on an Openshift cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process(new Processor() {
@Override
diff --git a/components/next/openshift-deploymentconfigs-component.html b/components/next/openshift-deploymentconfigs-component.html
index f8beb949..247647b2 100644
--- a/components/next/openshift-deploymentconfigs-component.html
+++ b/components/next/openshift-deploymentconfigs-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Deployment Configs :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-deploymentconfigs-component.html"> <meta name="description" content="Perform operations on Openshift Deployment Configs and get notified on Deployment Config changes."> <meta name="generator" content="Antora 3.1.7"> <link [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openshift Deployment Configs :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openshift-deploymentconfigs-component.html"> <meta name="description" content="Perform operations on Openshift Deployment Configs and get notified on Deployment Config changes."> <meta name="generator" content="Antora 3.1.7"> <link [...]
toF("openshift-deploymentconfigs:///?kubernetesClient=#kubernetesClient&operation=listDeploymentConfigs").
to("mock:result");</code></pre> </div> </div> <div class="paragraph"> <p>This operation returns a List of Deployment Configs from your cluster</p> </div> <div class="ulist"> <ul> <li> <p>listDeploymentConfigsByLabels: this operation lists the deployment configs by labels on an Openshift cluster</p> </li> </ul> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">from("direct:listByLabels").process [...]
@Override
diff --git a/components/next/openstack-cinder-component.html b/components/next/openstack-cinder-component.html
index ab6c41e1..b0761fdf 100644
--- a/components/next/openstack-cinder-component.html
+++ b/components/next/openstack-cinder-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Cinder :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-cinder-component.html"> <meta name="description" content="Access data in OpenStack Cinder block storage."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Cinder :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-cinder-component.html"> <meta name="description" content="Access data in OpenStack Cinder block storage."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appl [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/openstack-glance-component.html b/components/next/openstack-glance-component.html
index 7b9abc9f..f5889155 100644
--- a/components/next/openstack-glance-component.html
+++ b/components/next/openstack-glance-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Glance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-glance-component.html"> <meta name="description" content="Manage VM images and metadata definitions in OpenStack Glance."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Glance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-glance-component.html"> <meta name="description" content="Manage VM images and metadata definitions in OpenStack Glance."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/openstack-keystone-component.html b/components/next/openstack-keystone-component.html
index 0ecc3499..44b741cd 100644
--- a/components/next/openstack-keystone-component.html
+++ b/components/next/openstack-keystone-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Keystone :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-keystone-component.html"> <meta name="description" content="Access OpenStack Keystone for API client authentication, service discovery and distributed multi-tenant authorization."> <meta name="generator" content="Antora 3.1.7"> <li [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Keystone :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-keystone-component.html"> <meta name="description" content="Access OpenStack Keystone for API client authentication, service discovery and distributed multi-tenant authorization."> <meta name="generator" content="Antora 3.1.7"> <li [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/openstack-neutron-component.html b/components/next/openstack-neutron-component.html
index e3ba656d..235c4e16 100644
--- a/components/next/openstack-neutron-component.html
+++ b/components/next/openstack-neutron-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Neutron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-neutron-component.html"> <meta name="description" content="Access OpenStack Neutron for network services."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Neutron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-neutron-component.html"> <meta name="description" content="Access OpenStack Neutron for network services."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/openstack-nova-component.html b/components/next/openstack-nova-component.html
index f647b083..c81c75b1 100644
--- a/components/next/openstack-nova-component.html
+++ b/components/next/openstack-nova-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Nova :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-nova-component.html"> <meta name="description" content="Access OpenStack to manage compute resources."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Nova :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-nova-component.html"> <meta name="description" content="Access OpenStack to manage compute resources."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicati [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/openstack-summary.html b/components/next/openstack-summary.html
index cf39e614..93f39448 100644
--- a/components/next/openstack-summary.html
+++ b/components/next/openstack-summary.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="OpenStack"> <meta property [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-summary.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="OpenStack"> <meta property [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>x.x.x</version>
diff --git a/components/next/openstack-swift-component.html b/components/next/openstack-swift-component.html
index 7413e5c5..9ee04a3c 100644
--- a/components/next/openstack-swift-component.html
+++ b/components/next/openstack-swift-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Swift :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-swift-component.html"> <meta name="description" content="Access OpenStack Swift object/blob store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenStack Swift :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/openstack-swift-component.html"> <meta name="description" content="Access OpenStack Swift object/blob store."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openstack</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/optaplanner-component.html b/components/next/optaplanner-component.html
index 62dfa2ad..dafb5cc3 100644
--- a/components/next/optaplanner-component.html
+++ b/components/next/optaplanner-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OptaPlanner :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/optaplanner-component.html"> <meta name="description" content="Solve planning problems with OptaPlanner."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OptaPlanner :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/optaplanner-component.html"> <meta name="description" content="Solve planning problems with OptaPlanner."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-optaplanner</artifactId>
<version>x.x.x</version><!-- use the same version as your Camel core version -->
diff --git a/components/next/others/attachments.html b/components/next/others/attachments.html
index 992b6da9..872e59d3 100644
--- a/components/next/others/attachments.html
+++ b/components/next/others/attachments.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Attachments :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/attachments.html"> <meta name="description" content="Support for attachments on Camel messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Attachments :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/attachments.html"> <meta name="description" content="Support for attachments on Camel messages"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" c [...]
Attachment attachment = attMsg.getAttachmentObject("myAttachment");
DataHandler dh = attachment.getDataHandler();</code></pre> </div> </div> <div class="paragraph"> <p>And if you want to add an attachment, to a Camel <code>Message</code> you can do as shown:</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">AttachmentMessage attMsg = exchange.getIn(AttachmentMessage.class);
attMsg.addAttachment("message1.xml", new DataHandler(new FileDataSource(new File("myMessage1.xml"))));</code></pre> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa. [...]
\ No newline at end of file
diff --git a/components/next/others/aws-xray.html b/components/next/others/aws-xray.html
index d601f769..d616efcb 100644
--- a/components/next/others/aws-xray.html
+++ b/components/next/others/aws-xray.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS XRay :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/aws-xray.html"> <meta name="description" content="Enable Distributed tracing using AWS XRay"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>AWS XRay :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/aws-xray.html"> <meta name="description" content="Enable Distributed tracing using AWS XRay"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
// By default, it uses a NoopTracingStrategy, but you can override it with a specific InterceptStrategy implementation.
xrayTracer.setTracingStrategy(...);
// And then initialize the context
diff --git a/components/next/others/azure-schema-registry.html b/components/next/others/azure-schema-registry.html
index 560b3af3..b9671b4f 100644
--- a/components/next/others/azure-schema-registry.html
+++ b/components/next/others/azure-schema-registry.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Schema Registry :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/azure-schema-registry.html"> <meta name="description" content="Azure Schema Registry Component for utilities to deal with authentication"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/s [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Azure Schema Registry :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/azure-schema-registry.html"> <meta name="description" content="Azure Schema Registry Component for utilities to deal with authentication"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/s [...]
\ No newline at end of file
diff --git a/components/next/others/cli-connector.html b/components/next/others/cli-connector.html
index 26271478..8c8f9941 100644
--- a/components/next/others/cli-connector.html
+++ b/components/next/others/cli-connector.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CLI Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cli-connector.html"> <meta name="description" content="Runtime adapter connecting with Camel CLI"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CLI Connector :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cli-connector.html"> <meta name="description" content="Runtime adapter connecting with Camel CLI"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-nam [...]
\ No newline at end of file
diff --git a/components/next/others/cloudevents.html b/components/next/others/cloudevents.html
index 24f91e15..c4b45683 100644
--- a/components/next/others/cloudevents.html
+++ b/components/next/others/cloudevents.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cloudevents :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cloudevents.html"> <meta name="description" content="Camel support for the CloudEvents specification"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Cloudevents :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cloudevents.html"> <meta name="description" content="Camel support for the CloudEvents specification"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-n [...]
\ No newline at end of file
diff --git a/components/next/others/csimple-joor.html b/components/next/others/csimple-joor.html
index 83f06767..43537a56 100644
--- a/components/next/others/csimple-joor.html
+++ b/components/next/others/csimple-joor.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSimple jOOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/csimple-joor.html"> <meta name="description" content="jOOR compiler for csimple language"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CSimple jOOR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/csimple-joor.html"> <meta name="description" content="jOOR compiler for csimple language"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-csimple-joor</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/cxf-transport.html b/components/next/others/cxf-transport.html
index a31c4578..6f10e648 100644
--- a/components/next/others/cxf-transport.html
+++ b/components/next/others/cxf-transport.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF Transport :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cxf-transport.html"> <meta name="description" content="Camel Transport for Apache CXF"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>CXF Transport :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/cxf-transport.html"> <meta name="description" content="Camel Transport for Apache CXF"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content= [...]
<bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory">
<property name="bus" ref="cxf" />
<property name="camelContext" ref="camelContext" />
diff --git a/components/next/others/debug.html b/components/next/others/debug.html
index 0af61893..c44c6b31 100644
--- a/components/next/others/debug.html
+++ b/components/next/others/debug.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debug :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/debug.html"> <meta name="description" content="Enables Camel Route Debugging"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Debug :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/debug.html"> <meta name="description" content="Enables Camel Route Debugging"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
\ No newline at end of file
diff --git a/components/next/others/dsl-modeline.html b/components/next/others/dsl-modeline.html
index f5fc7f74..493512d4 100644
--- a/components/next/others/dsl-modeline.html
+++ b/components/next/others/dsl-modeline.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DSL Modeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/dsl-modeline.html"> <meta name="description" content="Camel DSL Camel K modeline"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DSL Modeline :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/dsl-modeline.html"> <meta name="description" content="Camel DSL Camel K modeline"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apach [...]
\ No newline at end of file
diff --git a/components/next/others/dsl.html b/components/next/others/dsl.html
index 1e258d2a..f059aa55 100644
--- a/components/next/others/dsl.html
+++ b/components/next/others/dsl.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/dsl.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="DSL"> <meta property="og:site_name" [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/dsl.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="DSL"> <meta property="og:site_name" [...]
\ No newline at end of file
diff --git a/components/next/others/elytron.html b/components/next/others/elytron.html
index 5a2e61d3..abc888d3 100644
--- a/components/next/others/elytron.html
+++ b/components/next/others/elytron.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elytron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/elytron.html"> <meta name="description" content="Elytron Security Provider for camel-undertow"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Elytron :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/elytron.html"> <meta name="description" content="Elytron Security Provider for camel-undertow"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-elytron</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/groovy-dsl.html b/components/next/others/groovy-dsl.html
index 7f37165f..384d8b81 100644
--- a/components/next/others/groovy-dsl.html
+++ b/components/next/others/groovy-dsl.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Groovy DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/groovy-dsl.html"> <meta name="description" content="Camel DSL with Groovy"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Groovy DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/groovy-dsl.html"> <meta name="description" content="Camel DSL with Groovy"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
\ No newline at end of file
diff --git a/components/next/others/headersmap.html b/components/next/others/headersmap.html
index d44ffa57..08567ff2 100644
--- a/components/next/others/headersmap.html
+++ b/components/next/others/headersmap.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Headersmap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/headersmap.html"> <meta name="description" content="Fast case-insensitive headers map implementation"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Headersmap :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/headersmap.html"> <meta name="description" content="Fast case-insensitive headers map implementation"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-na [...]
\ No newline at end of file
diff --git a/components/next/others/index.html b/components/next/others/index.html
index c9bfc54e..d1ecc5a8 100644
--- a/components/next/others/index.html
+++ b/components/next/others/index.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Miscellaneous Components :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Miscellaneous [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Miscellaneous Components :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/index.html"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Miscellaneous [...]
\ No newline at end of file
diff --git a/components/next/others/jasypt.html b/components/next/others/jasypt.html
index 591f726e..020721bd 100644
--- a/components/next/others/jasypt.html
+++ b/components/next/others/jasypt.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jasypt :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jasypt.html"> <meta name="description" content="Security using Jasypt"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta p [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jasypt :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jasypt.html"> <meta name="description" content="Security using Jasypt"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta p [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-jasypt</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/java-joor-dsl.html b/components/next/others/java-joor-dsl.html
index 094b5a41..c6a496e2 100644
--- a/components/next/others/java-joor-dsl.html
+++ b/components/next/others/java-joor-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Java DSL (runtime compiled) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-joor-dsl.html"> <meta name="description" content="Camel Java DSL with jOOR"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Java DSL (runtime compiled) :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-joor-dsl.html"> <meta name="description" content="Camel Java DSL with jOOR"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
public class MyRoute extends RouteBuilder {
diff --git a/components/next/others/java-xml-io-dsl.html b/components/next/others/java-xml-io-dsl.html
index 252543b5..1e99beec 100644
--- a/components/next/others/java-xml-io-dsl.html
+++ b/components/next/others/java-xml-io-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Io Dsl :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-xml-io-dsl.html"> <meta name="description" content="Camel DSL with XML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XML Io Dsl :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-xml-io-dsl.html"> <meta name="description" content="Camel DSL with XML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel [...]
<route>
<from uri="timer:tick"/>
<setBody>
diff --git a/components/next/others/java-xml-jaxb-dsl.html b/components/next/others/java-xml-jaxb-dsl.html
index 052710c1..46d545fc 100644
--- a/components/next/others/java-xml-jaxb-dsl.html
+++ b/components/next/others/java-xml-jaxb-dsl.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jaxb XML Dsl :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-xml-jaxb-dsl.html"> <meta name="description" content="Camel DSL with YAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Jaxb XML Dsl :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/java-xml-jaxb-dsl.html"> <meta name="description" content="Camel DSL with YAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache [...]
\ No newline at end of file
diff --git a/components/next/others/jfr.html b/components/next/others/jfr.html
index e61df336..f0a4c914 100644
--- a/components/next/others/jfr.html
+++ b/components/next/others/jfr.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JFR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jfr.html"> <meta name="description" content="Diagnose Camel applications with Java Flight Recorder"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JFR :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jfr.html"> <meta name="description" content="Diagnose Camel applications with Java Flight Recorder"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-jfr-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/js-dsl.html b/components/next/others/js-dsl.html
index 0f882599..35395b21 100644
--- a/components/next/others/js-dsl.html
+++ b/components/next/others/js-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaScript DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/js-dsl.html"> <meta name="description" content="Camel DSL with JavaScript"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaScript DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/js-dsl.html"> <meta name="description" content="Camel DSL with JavaScript"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
e.getIn().setBody('Hello Camel K!')
}
diff --git a/components/next/others/jsh-dsl.html b/components/next/others/jsh-dsl.html
index dc1190a6..1570d2e8 100644
--- a/components/next/others/jsh-dsl.html
+++ b/components/next/others/jsh-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaShell DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jsh-dsl.html"> <meta name="description" content="Camel DSL with JavaShell"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JavaShell DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jsh-dsl.html"> <meta name="description" content="Camel DSL with JavaShell"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Came [...]
.setBody()
.constant("Hello Camel K!")
.to("log:info");</code></pre> </div> </div> <div class="paragraph"> <p>Can then be loaded and run with Camel CLI or Camel K.</p> </div> <div class="listingblock"> <div class="title">Running with Camel K</div> <div class="content"> <pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">kamel run example.jsh</code></pre> </div> </div> <div class="listingblock"> <div class="title">Running with Camel CLI</div> <div class="content"> <pre class="highlightjs hi [...]
\ No newline at end of file
diff --git a/components/next/others/jta.html b/components/next/others/jta.html
index 12df4cd6..f880c71d 100644
--- a/components/next/others/jta.html
+++ b/components/next/others/jta.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JTA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jta.html"> <meta name="description" content="Using Camel With JTA Transaction Manager"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>JTA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/jta.html"> <meta name="description" content="Using Camel With JTA Transaction Manager"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Ca [...]
\ No newline at end of file
diff --git a/components/next/others/kamelet-main.html b/components/next/others/kamelet-main.html
index e1ad6c96..ba2c0bca 100644
--- a/components/next/others/kamelet-main.html
+++ b/components/next/others/kamelet-main.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kamelet-main.html"> <meta name="description" content="Main to run Kamelet standalone"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kamelet Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kamelet-main.html"> <meta name="description" content="Main to run Kamelet standalone"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="A [...]
camel.component.rest.consumerComponentName = platform-http
camel.component.rest.producerComponentName = vertx-http
came.main.jmxUpdateRouteEnabled = true</code></pre> </div> </div> <div class="paragraph"> <p>These settings can be overridden by configuration in <code>application.properties</code>.</p> </div> </div> </div> <div class="sect1"> <h2 id="_automatic_dependencies_downloading"><a class="anchor" href="#_automatic_dependencies_downloading"></a>Automatic dependencies downloading</h2> <div class="sectionbody"> <div class="paragraph"> <p>The Kamelet Main can automatically download Kamelet YAML fil [...]
diff --git a/components/next/others/knative-http.html b/components/next/others/knative-http.html
index a1b73e96..a9556390 100644
--- a/components/next/others/knative-http.html
+++ b/components/next/others/knative-http.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative Http :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/knative-http.html"> <meta name="description" content="Camel Knative HTTP"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel" [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Knative Http :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/knative-http.html"> <meta name="description" content="Camel Knative HTTP"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel" [...]
\ No newline at end of file
diff --git a/components/next/others/kotlin-api.html b/components/next/others/kotlin-api.html
index c37479bd..af04cfb4 100644
--- a/components/next/others/kotlin-api.html
+++ b/components/next/others/kotlin-api.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kotlin API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kotlin-api.html"> <meta name="description" content="Camel Kotlin API"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kotlin API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kotlin-api.html"> <meta name="description" content="Camel Kotlin API"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <met [...]
val ctx: CamelContext = ...
diff --git a/components/next/others/kotlin-dsl.html b/components/next/others/kotlin-dsl.html
index 710ef4e7..7333d867 100644
--- a/components/next/others/kotlin-dsl.html
+++ b/components/next/others/kotlin-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kotlin DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kotlin-dsl.html"> <meta name="description" content="Camel DSL with Kotlin"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Kotlin DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/kotlin-dsl.html"> <meta name="description" content="Camel DSL with Kotlin"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> [...]
.process { e -> e.getIn().body = "Hello Camel K!" }
.to("log:info")</code></pre> </div> </div> <div class="paragraph"> <p>Can then be loaded and run with Camel CLI or Camel K.</p> </div> <div class="listingblock"> <div class="title">Running with Camel K</div> <div class="content"> <pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">kamel run hello.kts</code></pre> </div> </div> <div class="listingblock"> <div class="title">Running with Camel CLI</div> <div class="content"> <pre class="highlightjs highl [...]
configuration {
diff --git a/components/next/others/leveldb.html b/components/next/others/leveldb.html
index 002c156c..9a427ad4 100644
--- a/components/next/others/leveldb.html
+++ b/components/next/others/leveldb.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LevelDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/leveldb.html"> <meta name="description" content="Using LevelDB as persistent EIP store"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LevelDB :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/leveldb.html"> <meta name="description" content="Using LevelDB as persistent EIP store"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
repo.setSerializer(new JacksonLevelDBSerializer());</code></pre> </div> </div> <div class="paragraph"> <p>Limitation of jackson serializer is caused by binary data:</p> </div> <div class="ulist"> <ul> <li> <p>If payload is a raw data (byte[]), it is saved into DB without using Jackson</p> </li> <li> <p>If payload contains objects with binary fields. Those fields won’t be serialized/deserialized correctly. Customized serializer can be used to solve this problem. Please use custom se [...]
simpleModule.addSerializer(ObjectWithBinaryField.class, new ObjectWithBinaryFieldSerializer()); //custom serializer
simpleModule.addDeserializer(ObjectWithBinaryField.class, new ObjectWithBinaryFieldDeserializer()); //custom deserializer
diff --git a/components/next/others/lra.html b/components/next/others/lra.html
index 1c62d781..425ac0c7 100644
--- a/components/next/others/lra.html
+++ b/components/next/others/lra.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LRA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/lra.html"> <meta name="description" content="Camel saga binding for Long-Running-Action framework"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>LRA :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/lra.html"> <meta name="description" content="Camel saga binding for Long-Running-Action framework"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" conten [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-lra</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/mail-microsoft-oauth.html b/components/next/others/mail-microsoft-oauth.html
index 5e6535e4..e1e80607 100644
--- a/components/next/others/mail-microsoft-oauth.html
+++ b/components/next/others/mail-microsoft-oauth.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mail Microsoft Oauth :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/mail-microsoft-oauth.html"> <meta name="description" content="Camel Mail OAuth2 Authenticator for Microsoft Exchange Online"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Mail Microsoft Oauth :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/mail-microsoft-oauth.html"> <meta name="description" content="Camel Mail OAuth2 Authenticator for Microsoft Exchange Online"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-mail-microsoft-oauth</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/main.html b/components/next/others/main.html
index 9809901a..79b3ae8a 100644
--- a/components/next/others/main.html
+++ b/components/next/others/main.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/main.html"> <meta name="description" content="Camel Main"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:tit [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/main.html"> <meta name="description" content="Camel Main"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:tit [...]
public class MyCoolApplication {
diff --git a/components/next/others/micrometer-prometheus.html b/components/next/others/micrometer-prometheus.html
index 201461b5..830be4d5 100644
--- a/components/next/others/micrometer-prometheus.html
+++ b/components/next/others/micrometer-prometheus.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer Prometheus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/micrometer-prometheus.html"> <meta name="description" content="Camel Micrometer Prometheus for Camel Main"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer Prometheus :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/micrometer-prometheus.html"> <meta name="description" content="Camel Micrometer Prometheus for Camel Main"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name [...]
camel.server.enabled=true
camel.server.metricsEnabled=true
diff --git a/components/next/others/microprofile-config.html b/components/next/others/microprofile-config.html
index acfbce40..65fdcf3b 100644
--- a/components/next/others/microprofile-config.html
+++ b/components/next/others/microprofile-config.html
@@ -1,2 +1,2 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Config :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-config.html"> <meta name="description" content="Bridging Eclipse MicroProfile Config with Camel properties"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Config :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-config.html"> <meta name="description" content="Bridging Eclipse MicroProfile Config with Camel properties"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css" [...]
pc.addPropertiesSource(new CamelMicroProfilePropertiesSource());</code></pre> </div> </div> </div> </div> </article> <aside class="toc sidebar" aria-label="Table of contents" data-title="Contents" data-levels="2"> <div class="toc-menu"></div> </aside> </div> </main> </div> <div class="footer-tools"> <a href="#top" title="Reach the top of the page">Back to top</a> </div> <footer> <div class="footer"> <figure class="logo"> <img src="../../../_/img/logo-d-a567cee6fa.svg" class="logo-sma [...]
\ No newline at end of file
diff --git a/components/next/others/microprofile-fault-tolerance.html b/components/next/others/microprofile-fault-tolerance.html
index cd186964..6d8d379d 100644
--- a/components/next/others/microprofile-fault-tolerance.html
+++ b/components/next/others/microprofile-fault-tolerance.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Fault Tolerance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-fault-tolerance.html"> <meta name="description" content="Circuit Breaker EIP using MicroProfile Fault Tolerance"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Fault Tolerance :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-fault-tolerance.html"> <meta name="description" content="Circuit Breaker EIP using MicroProfile Fault Tolerance"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-microprofile-fault-tolerance</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/microprofile-health.html b/components/next/others/microprofile-health.html
index bed08df4..6750d74f 100644
--- a/components/next/others/microprofile-health.html
+++ b/components/next/others/microprofile-health.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Health :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-health.html"> <meta name="description" content="Expose Camel health checks via MicroProfile Health"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Microprofile Health :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/microprofile-health.html"> <meta name="description" content="Expose Camel health checks via MicroProfile Health"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-microprofile-health</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/observation.html b/components/next/others/observation.html
index 673ba27b..3094ab4a 100644
--- a/components/next/others/observation.html
+++ b/components/next/others/observation.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer Observability :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/observation.html"> <meta name="description" content="Observability using Micrometer Observation"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Micrometer Observability :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/observation.html"> <meta name="description" content="Observability using Micrometer Observation"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
MicrometerObservationTracer micrometerObservationTracer = new MicrometerObservationTracer();
// This component comes from Micrometer Core - it's used for creation of metrics
diff --git a/components/next/others/openapi-java.html b/components/next/others/openapi-java.html
index 46631f48..4444c5b9 100644
--- a/components/next/others/openapi-java.html
+++ b/components/next/others/openapi-java.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openapi Java :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/openapi-java.html"> <meta name="description" content="Rest-dsl support for using openapi doc"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Openapi Java :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/openapi-java.html"> <meta name="description" content="Rest-dsl support for using openapi doc"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-openapi-java</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/opentelemetry.html b/components/next/others/opentelemetry.html
index 97e39966..9fcd81a7 100644
--- a/components/next/others/opentelemetry.html
+++ b/components/next/others/opentelemetry.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenTelemetry :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/opentelemetry.html"> <meta name="description" content="Distributed tracing using OpenTelemetry"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>OpenTelemetry :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/opentelemetry.html"> <meta name="description" content="Distributed tracing using OpenTelemetry"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" [...]
// By default, it uses the DefaultTracer, but you can override it with a specific OpenTelemetry Tracer implementation.
otelTracer.setTracer(...);
// And then initialize the context
diff --git a/components/next/others/platform-http-main.html b/components/next/others/platform-http-main.html
index 9d62270c..a243cba4 100644
--- a/components/next/others/platform-http-main.html
+++ b/components/next/others/platform-http-main.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform Http Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/platform-http-main.html"> <meta name="description" content="Platform HTTP for standalone Camel Main applications"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform Http Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/platform-http-main.html"> <meta name="description" content="Platform HTTP for standalone Camel Main applications"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
\ No newline at end of file
diff --git a/components/next/others/platform-http-vertx.html b/components/next/others/platform-http-vertx.html
index 0dd1a588..b6ef17a2 100644
--- a/components/next/others/platform-http-vertx.html
+++ b/components/next/others/platform-http-vertx.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform Http Vertx :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/platform-http-vertx.html"> <meta name="description" content="Implementation of the Platform HTTP Engine based on Vert.x Web"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform Http Vertx :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/platform-http-vertx.html"> <meta name="description" content="Implementation of the Platform HTTP Engine based on Vert.x Web"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
final CamelContext context = new DefaultCamelContext();
VertxPlatformHttpServerConfiguration conf = new VertxPlatformHttpServerConfiguration();
diff --git a/components/next/others/reactive-executor-tomcat.html b/components/next/others/reactive-executor-tomcat.html
index 3bfdb9e8..13b1be4d 100644
--- a/components/next/others/reactive-executor-tomcat.html
+++ b/components/next/others/reactive-executor-tomcat.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactive Executor Tomcat :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactive-executor-tomcat.html"> <meta name="description" content="Reactive Executor for camel-core using Apache Tomcat"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactive Executor Tomcat :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactive-executor-tomcat.html"> <meta name="description" content="Reactive Executor for camel-core using Apache Tomcat"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63. [...]
\ No newline at end of file
diff --git a/components/next/others/reactive-executor-vertx.html b/components/next/others/reactive-executor-vertx.html
index 7713b367..78aaf3a8 100644
--- a/components/next/others/reactive-executor-vertx.html
+++ b/components/next/others/reactive-executor-vertx.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactive Executor Vert.x :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactive-executor-vertx.html"> <meta name="description" content="Reactive Executor for camel-core using Vert.x"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactive Executor Vert.x :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactive-executor-vertx.html"> <meta name="description" content="Reactive Executor for camel-core using Vert.x"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
\ No newline at end of file
diff --git a/components/next/others/reactor.html b/components/next/others/reactor.html
index 1136d52c..dd5b49e4 100644
--- a/components/next/others/reactor.html
+++ b/components/next/others/reactor.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactor.html"> <meta name="description" content="Reactor based back-end for Camel's reactive streams component"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Reactor :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/reactor.html"> <meta name="description" content="Reactor based back-end for Camel's reactive streams component"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="ap [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-reactor</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/redis.html b/components/next/others/redis.html
index ec248ffa..926bd573 100644
--- a/components/next/others/redis.html
+++ b/components/next/others/redis.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Redis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/redis.html"> <meta name="description" content="Aggregation repository using Redis as datastore"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Redis :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/redis.html"> <meta name="description" content="Aggregation repository using Redis as datastore"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content [...]
\ No newline at end of file
diff --git a/components/next/others/resilience4j.html b/components/next/others/resilience4j.html
index 88b5547f..75457ffb 100644
--- a/components/next/others/resilience4j.html
+++ b/components/next/others/resilience4j.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/resilience4j.html"> <meta name="description" content="Circuit Breaker EIP using Resilience4j"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resilience4j :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/resilience4j.html"> <meta name="description" content="Circuit Breaker EIP using Resilience4j"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" co [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-resilience4j</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/resourceresolver-github.html b/components/next/others/resourceresolver-github.html
index a01054d0..28cfb758 100644
--- a/components/next/others/resourceresolver-github.html
+++ b/components/next/others/resourceresolver-github.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resourceresolver Github :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/resourceresolver-github.html"> <meta name="description" content="Resource resolver to load files from GitHub"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Resourceresolver Github :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/resourceresolver-github.html"> <meta name="description" content="Resource resolver to load files from GitHub"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta [...]
\ No newline at end of file
diff --git a/components/next/others/rxjava.html b/components/next/others/rxjava.html
index a8d610c2..210fe40b 100644
--- a/components/next/others/rxjava.html
+++ b/components/next/others/rxjava.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>RxJava :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/rxjava.html"> <meta name="description" content="RxJava based back-end for Camel's reactive streams component"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>RxJava :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/rxjava.html"> <meta name="description" content="RxJava based back-end for Camel's reactive streams component"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-rxjava</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/shiro.html b/components/next/others/shiro.html
index de4f3913..ef636b70 100644
--- a/components/next/others/shiro.html
+++ b/components/next/others/shiro.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Shiro :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/shiro.html"> <meta name="description" content="Security using Shiro"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prop [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Shiro :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/shiro.html"> <meta name="description" content="Security using Shiro"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta prop [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-shiro</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/spring-main.html b/components/next/others/spring-main.html
index 3ad1acaa..3ab1489a 100644
--- a/components/next/others/spring-main.html
+++ b/components/next/others/spring-main.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-main.html"> <meta name="description" content="Camel Spring Main support"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring Main :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-main.html"> <meta name="description" content="Camel Spring Main support"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache C [...]
\ No newline at end of file
diff --git a/components/next/others/spring-security.html b/components/next/others/spring-security.html
index 8115d7c1..3c215221 100644
--- a/components/next/others/spring-security.html
+++ b/components/next/others/spring-security.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-security.html"> <meta name="description" content="Security using Spring Security"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-security.html"> <meta name="description" content="Security using Spring Security"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" cont [...]
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:spring-security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
diff --git a/components/next/others/spring-xml.html b/components/next/others/spring-xml.html
index 0f2da568..7698ac38 100644
--- a/components/next/others/spring-xml.html
+++ b/components/next/others/spring-xml.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-xml.html"> <meta name="description" content="Camel Spring with XML DSL"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Spring XML :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/spring-xml.html"> <meta name="description" content="Camel Spring with XML DSL"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Cam [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-xml</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/springdoc.html b/components/next/others/springdoc.html
index 5b14c1e3..b597ac31 100644
--- a/components/next/others/springdoc.html
+++ b/components/next/others/springdoc.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Springdoc :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/springdoc.html"> <meta name="description" content="Springdoc Swagger UI for openapi-java in spring boot"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Springdoc :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/springdoc.html"> <meta name="description" content="Springdoc Swagger UI for openapi-java in spring boot"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application- [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-springdoc-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/test-junit5.html b/components/next/others/test-junit5.html
index 50dc79ef..d1043552 100644
--- a/components/next/others/test-junit5.html
+++ b/components/next/others/test-junit5.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-junit5.html"> <meta name="description" content="Camel unit testing with JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-junit5.html"> <meta name="description" content="Camel unit testing with JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Ap [...]
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
diff --git a/components/next/others/test-main-junit5.html b/components/next/others/test-main-junit5.html
index 688d5982..9f2032ad 100644
--- a/components/next/others/test-main-junit5.html
+++ b/components/next/others/test-main-junit5.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test Main JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-main-junit5.html"> <meta name="description" content="Camel unit testing with Main and JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test Main JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-main-junit5.html"> <meta name="description" content="Camel unit testing with Main and JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-main-junit5</artifactId>
<scope>test</scope>
diff --git a/components/next/others/test-spring-junit5.html b/components/next/others/test-spring-junit5.html
index baedc95a..80a0a7ff 100644
--- a/components/next/others/test-spring-junit5.html
+++ b/components/next/others/test-spring-junit5.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test Spring JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-spring-junit5.html"> <meta name="description" content="Camel unit testing with Spring and JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appl [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Test Spring JUnit5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/test-spring-junit5.html"> <meta name="description" content="Camel unit testing with Spring and JUnit 5"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="appl [...]
@CamelSpringBootTest
@EnableAutoConfiguration
diff --git a/components/next/others/threadpoolfactory-vertx.html b/components/next/others/threadpoolfactory-vertx.html
index f9b5c44f..d3142909 100644
--- a/components/next/others/threadpoolfactory-vertx.html
+++ b/components/next/others/threadpoolfactory-vertx.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ThreadPoolFactory Vert.x :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/threadpoolfactory-vertx.html"> <meta name="description" content="ThreadPoolFactory for camel-core using Vert.x"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>ThreadPoolFactory Vert.x :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/threadpoolfactory-vertx.html"> <meta name="description" content="ThreadPoolFactory for camel-core using Vert.x"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <m [...]
.to("log:foo")
.split(body()).parallelProcessing()
.to("mock:split")
diff --git a/components/next/others/tracing.html b/components/next/others/tracing.html
index b3920e62..bc23c03b 100644
--- a/components/next/others/tracing.html
+++ b/components/next/others/tracing.html
@@ -1 +1 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tracing :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/tracing.html"> <meta name="description" content="Distributed tracing common interfaces"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
\ No newline at end of file
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Tracing :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/tracing.html"> <meta name="description" content="Distributed tracing common interfaces"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apac [...]
\ No newline at end of file
diff --git a/components/next/others/undertow-spring-security.html b/components/next/others/undertow-spring-security.html
index 7b83e99d..e1cfd30b 100644
--- a/components/next/others/undertow-spring-security.html
+++ b/components/next/others/undertow-spring-security.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Undertow Spring Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/undertow-spring-security.html"> <meta name="description" content="Spring Security Provider for camel-undertow"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Undertow Spring Security :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/undertow-spring-security.html"> <meta name="description" content="Spring Security Provider for camel-undertow"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <me [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-undertow-spring-security-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/others/wal.html b/components/next/others/wal.html
index 2814cc7e..3e99185b 100644
--- a/components/next/others/wal.html
+++ b/components/next/others/wal.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Write Ahead Log Strategy for Resume API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/wal.html"> <meta name="description" content="Write Ahead Log Strategy for Resume API"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Write Ahead Log Strategy for Resume API :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/wal.html"> <meta name="description" content="Write Ahead Log Strategy for Resume API"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="a [...]
final String logFile = System.getProperty("wal.log.file");
WriteAheadResumeStrategy writeAheadResumeStrategy = new WriteAheadResumeStrategy(new File(logFile), resumeStrategy);</code></pre> </div> </div> <div class="paragraph"> <p>Subsequently, this strategy should be registered to the registry instead</p> </div> <div class="listingblock"> <div class="content"> <pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java">getCamelContext().getRegistry().bind(ResumeStrategy.DEFAULT_NAME, writeAheadResumeStrategy);
diff --git a/components/next/others/yaml-dsl.html b/components/next/others/yaml-dsl.html
index aa9aa29e..c6c1dc0c 100644
--- a/components/next/others/yaml-dsl.html
+++ b/components/next/others/yaml-dsl.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>YAML DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/yaml-dsl.html"> <meta name="description" content="Camel DSL with YAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>YAML DSL :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/others/yaml-dsl.html"> <meta name="description" content="Camel DSL with YAML"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta [...]
uri: "direct:start"
steps: <i class="conum" data-value="2"></i><b>(2)</b>
- filter:
diff --git a/components/next/paho-component.html b/components/next/paho-component.html
index 07447bf1..f8a8f802 100644
--- a/components/next/paho-component.html
+++ b/components/next/paho-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Paho :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/paho-component.html"> <meta name="description" content="Communicate with MQTT message brokers using Eclipse Paho MQTT Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Paho :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/paho-component.html"> <meta name="description" content="Communicate with MQTT message brokers using Eclipse Paho MQTT Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-paho</artifactId>
<version>x.y.z</version>
diff --git a/components/next/paho-mqtt5-component.html b/components/next/paho-mqtt5-component.html
index 899bdc3d..bb085ca3 100644
--- a/components/next/paho-mqtt5-component.html
+++ b/components/next/paho-mqtt5-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Paho MQTT 5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/paho-mqtt5-component.html"> <meta name="description" content="Communicate with MQTT message brokers using Eclipse Paho MQTT v5 Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Paho MQTT 5 :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/paho-mqtt5-component.html"> <meta name="description" content="Communicate with MQTT message brokers using Eclipse Paho MQTT v5 Client."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> < [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-paho-mqtt5</artifactId>
<version>x.y.z</version>
diff --git a/components/next/pdf-component.html b/components/next/pdf-component.html
index c2a30bd4..4cca8733 100644
--- a/components/next/pdf-component.html
+++ b/components/next/pdf-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PDF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pdf-component.html"> <meta name="description" content="Create, modify or extract content from PDF documents."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PDF :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pdf-component.html"> <meta name="description" content="Create, modify or extract content from PDF documents."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" conte [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-pdf</artifactId>
<version>x.x.x</version>
diff --git a/components/next/pg-replication-slot-component.html b/components/next/pg-replication-slot-component.html
index 03031c33..dd05522b 100644
--- a/components/next/pg-replication-slot-component.html
+++ b/components/next/pg-replication-slot-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PostgresSQL Replication Slot :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pg-replication-slot-component.html"> <meta name="description" content="Poll for PostgreSQL Write-Ahead Log (WAL) records using Streaming Replication Slots."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" hre [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PostgresSQL Replication Slot :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pg-replication-slot-component.html"> <meta name="description" content="Poll for PostgreSQL Write-Ahead Log (WAL) records using Streaming Replication Slots."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" hre [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-pg-replication-slot</artifactId>
<version>x.x.x</version>
diff --git a/components/next/pgevent-component.html b/components/next/pgevent-component.html
index 81c3233c..004477f0 100644
--- a/components/next/pgevent-component.html
+++ b/components/next/pgevent-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PostgresSQL Event :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pgevent-component.html"> <meta name="description" content="Send and receive PostgreSQL events via LISTEN and NOTIFY commands."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PostgresSQL Event :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pgevent-component.html"> <meta name="description" content="Send and receive PostgreSQL events via LISTEN and NOTIFY commands."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <met [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-pgevent</artifactId>
<version>x.x.x</version>
diff --git a/components/next/platform-http-component.html b/components/next/platform-http-component.html
index fd58daac..4a5d9eb9 100644
--- a/components/next/platform-http-component.html
+++ b/components/next/platform-http-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/platform-http-component.html"> <meta name="description" content="Expose HTTP endpoints using the HTTP server available in the current platform."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Platform HTTP :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/platform-http-component.html"> <meta name="description" content="Expose HTTP endpoints using the HTTP server available in the current platform."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96 [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-platform-http</artifactId>
<version>x.x.x</version>
@@ -13,7 +13,7 @@
<artifactId>camel-platform-http-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel version -->
-</dependency></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_configuring_options"><a class="anchor" href="#_configuring_options"></a>Configuring Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel components are configured on two separate levels:</p> </div> <div class="ulist"> <ul> <li> <p>component level</p> </li> <li> <p>endpoint level</p> </li> </ul> </div> <div class="sect2"> <h3 id="_configuring_component_options" [...]
+</dependency></code></pre> </div> </div> </div> </div> </div> </div> </div> <div class="sect1"> <h2 id="_configuring_options"><a class="anchor" href="#_configuring_options"></a>Configuring Options</h2> <div class="sectionbody"> <div class="paragraph"> <p>Camel components are configured on two separate levels:</p> </div> <div class="ulist"> <ul> <li> <p>component level</p> </li> <li> <p>endpoint level</p> </li> </ul> </div> <div class="sect2"> <h3 id="_configuring_component_options" [...]
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-platform-http-starter</artifactId>
<version>x.x.x</version>
diff --git a/components/next/plc4x-component.html b/components/next/plc4x-component.html
index 6c0e07aa..a085654b 100644
--- a/components/next/plc4x-component.html
+++ b/components/next/plc4x-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PLC4X :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/plc4x-component.html"> <meta name="description" content="Read and write to PLC devices"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PLC4X :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/plc4x-component.html"> <meta name="description" content="Read and write to PLC devices"> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> < [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-plc4x</artifactId>
<version>${camel-version}</version>
diff --git a/components/next/properties-component.html b/components/next/properties-component.html
index dbdea010..989cf6ae 100644
--- a/components/next/properties-component.html
+++ b/components/next/properties-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Properties :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/properties-component.html"> <meta name="description" content="The properties component is used for property placeholders in your Camel application, such as endpoint URIs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Properties :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/properties-component.html"> <meta name="description" content="The properties component is used for property placeholders in your Camel application, such as endpoint URIs."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href=" [...]
"com/mycompany/override.properties;optional=true"
"com/mycompany/defaults.properties");</code></pre> </div> </div> <div class="sect2"> <h3 id="_using_system_and_environment_variables_in_locations"><a class="anchor" href="#_using_system_and_environment_variables_in_locations"></a>Using system and environment variables in locations</h3> <div class="paragraph"> <p>The location now supports using placeholders for JVM system properties and OS environments variables.</p> </div> <div class="paragraph"> <p>For example:</p> </div> <div class [...]
<property name="location" value="classpath:com/mycompany/myprop.properties"/>
diff --git a/components/next/pubnub-component.html b/components/next/pubnub-component.html
index 79bacf1f..ae0d87c4 100644
--- a/components/next/pubnub-component.html
+++ b/components/next/pubnub-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PubNub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pubnub-component.html"> <meta name="description" content="Send and receive messages to/from PubNub data stream network for connected devices."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>PubNub :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pubnub-component.html"> <meta name="description" content="Send and receive messages to/from PubNub data stream network for connected devices."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-pubnub</artifactId>
<version>x.x.x</version>
diff --git a/components/next/pulsar-component.html b/components/next/pulsar-component.html
index ca9ca5ad..52f1d571 100644
--- a/components/next/pulsar-component.html
+++ b/components/next/pulsar-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pulsar :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pulsar-component.html"> <meta name="description" content="Send and receive messages from/to Apache Pulsar messaging system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Pulsar :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/pulsar-component.html"> <meta name="description" content="Send and receive messages from/to Apache Pulsar messaging system."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="appli [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-pulsar</artifactId>
<!-- use the same version as your Camel core version -->
diff --git a/components/next/qdrant-component.html b/components/next/qdrant-component.html
index e44377c8..7ef9a616 100644
--- a/components/next/qdrant-component.html
+++ b/components/next/qdrant-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Qdrant :: Apache Camel</title> <meta name="description" content="Perform operations on the Qdrant Vector Database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Qdrant"> <meta property="og:site_name" [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Qdrant :: Apache Camel</title> <meta name="description" content="Perform operations on the Qdrant Vector Database."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="application-name" content="Apache Camel"> <meta property="og:title" content="Qdrant"> <meta property="og:site_name" [...]
.setHeader(Qdrant.Headers.ACTION)
.constant(QdrantAction.CREATE_COLLECTION)
.setBody()
diff --git a/components/next/quartz-component.html b/components/next/quartz-component.html
index 30bba918..3e6c6a54 100644
--- a/components/next/quartz-component.html
+++ b/components/next/quartz-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Quartz :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/quartz-component.html"> <meta name="description" content="Schedule sending of messages using the Quartz 2.x scheduler."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Quartz :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/quartz-component.html"> <meta name="description" content="Schedule sending of messages using the Quartz 2.x scheduler."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> <meta name="applicatio [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-quartz</artifactId>
<version>x.x.x</version>
diff --git a/components/next/quickfix-component.html b/components/next/quickfix-component.html
index 3389693e..5f035574 100644
--- a/components/next/quickfix-component.html
+++ b/components/next/quickfix-component.html
@@ -1,4 +1,4 @@
-<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>QuickFix :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/quickfix-component.html"> <meta name="description" content="Open a Financial Interchange (FIX) session using an embedded QuickFix/J engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
+<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>QuickFix :: Apache Camel</title> <link rel="canonical" href="https://camel.apache.org/components/4.4.x/quickfix-component.html"> <meta name="description" content="Open a Financial Interchange (FIX) session using an embedded QuickFix/J engine."> <meta name="generator" content="Antora 3.1.7"> <link rel="stylesheet" href="../../_/css/site-b287b96c63.css"> [...]
<groupId>org.apache.camel</groupId>
<artifactId>camel-quickfix</artifactId>
<version>x.x.x</version>
diff --git a/components/next/reactive-streams-component.html b/components/next/reactive-streams-component.html
index 0cda3445..b58e627f 100644
--- a/components/next/reactive-streams-component.html
... 28722 lines suppressed ...