This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch release/4.0.0-M1 in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit dcc67f44c4785f0d5064b1c500d00e978a8ffc0b Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jan 31 19:40:42 2023 +0100 Remove camel-rabbitmq-starter in v4 --- .../camel/springboot/catalog/components.properties | 1 - .../springboot/catalog/components/rabbitmq.json | 176 ----- components-starter/camel-rabbitmq-starter/pom.xml | 49 -- .../src/main/docs/rabbitmq.json | 403 ----------- .../RabbitMQComponentAutoConfiguration.java | 77 -- .../springboot/RabbitMQComponentConfiguration.java | 797 --------------------- .../springboot/RabbitMQComponentConverter.java | 67 -- .../src/main/resources/META-INF/LICENSE.txt | 203 ------ .../src/main/resources/META-INF/NOTICE.txt | 11 - .../src/main/resources/META-INF/spring.provides | 17 - ...rk.boot.autoconfigure.AutoConfiguration.imports | 19 - components-starter/pom.xml | 1 - tooling/camel-spring-boot-bom/pom.xml | 5 - tooling/camel-spring-boot-dependencies/pom.xml | 5 - 14 files changed, 1831 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties index d90525df51e..420652aa8ae 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties @@ -246,7 +246,6 @@ pubnub pulsar quartz quickfix -rabbitmq reactive-streams ref rest diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rabbitmq.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rabbitmq.json deleted file mode 100644 index c8902180105..00000000000 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rabbitmq.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "component": { - "kind": "component", - "name": "rabbitmq", - "title": "RabbitMQ", - "description": "Send and receive messages from RabbitMQ instances.", - "deprecated": true, - "firstVersion": "2.12.0", - "label": "messaging", - "javaType": "org.apache.camel.component.rabbitmq.RabbitMQComponent", - "supportLevel": "Stable", - "groupId": "org.apache.camel.springboot", - "artifactId": "camel-rabbitmq-starter", - "version": "4.0.0-SNAPSHOT", - "scheme": "rabbitmq", - "extendsScheme": "", - "syntax": "rabbitmq:exchangeName", - "async": true, - "api": false, - "consumerOnly": false, - "producerOnly": false, - "lenientProperties": false - }, - "componentProperties": { - "addresses": { "kind": "property", "displayName": "Addresses", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345" }, - "autoDelete": { "kind": "property", "displayName": "Auto Delete", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If it is true, the exchange will be deleted when it is no longer in use" }, - "connectionFactory": { "kind": "property", "displayName": "Connection Factory", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.rabbitmq.client.ConnectionFactory", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used" }, - "deadLetterExchange": { "kind": "property", "displayName": "Dead Letter Exchange", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The name of the dead letter exchange" }, - "deadLetterExchangeType": { "kind": "property", "displayName": "Dead Letter Exchange Type", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "direct", "fanout", "headers", "topic" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "direct", "description": "The type of the dead letter exchange" }, - "deadLetterQueue": { "kind": "property", "displayName": "Dead Letter Queue", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The name of the dead letter queue" }, - "deadLetterRoutingKey": { "kind": "property", "displayName": "Dead Letter Routing Key", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The routing key for the dead letter exchange" }, - "declare": { "kind": "property", "displayName": "Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If the option is true, camel declare the exchange and queue name and bind them together. If the option is false, camel won't declare the exchange and queue name on the server." }, - "durable": { "kind": "property", "displayName": "Durable", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If we are declaring a durable exchange (the exchange will survive a server restart)" }, - "exclusive": { "kind": "property", "displayName": "Exclusive", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Exclusive queues may only be accessed by the current connection, and are deleted when that connection closes." }, - "hostname": { "kind": "property", "displayName": "Hostname", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The hostname of the running RabbitMQ instance or cluster." }, - "passive": { "kind": "property", "displayName": "Passive", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Passive queues depend on the queue already to be available at RabbitMQ." }, - "portNumber": { "kind": "property", "displayName": "Port Number", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 5672, "description": "Port number for the host with the running rabbitmq instance or cluster." }, - "skipExchangeDeclare": { "kind": "property", "displayName": "Skip Exchange Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This can be used if we need to declare the queue but not the exchange" }, - "skipQueueBind": { "kind": "property", "displayName": "Skip Queue Bind", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If true the queue will not be bound to the exchange after declaring it" }, - "skipQueueDeclare": { "kind": "property", "displayName": "Skip Queue Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If true the producer will not declare and bind a queue. This can be used for directing messages via an existing routing key." }, - "vhost": { "kind": "property", "displayName": "Vhost", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/", "description": "The vhost for the channel" }, - "autoAck": { "kind": "property", "displayName": "Auto Ack", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If messages should be auto acknowledged" }, - "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a me [...] - "exclusiveConsumer": { "kind": "property", "displayName": "Exclusive Consumer", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Request exclusive access to the queue (meaning only this consumer can access the queue). This is useful when you want a long-lived shared queue to be temporarily accessible by just one consumer." }, - "prefetchCount": { "kind": "property", "displayName": "Prefetch Count", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The maximum number of messages that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchEnabled": { "kind": "property", "displayName": "Prefetch Enabled", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enables the quality of service on the RabbitMQConsumer side. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchGlobal": { "kind": "property", "displayName": "Prefetch Global", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the settings should be applied to the entire channel rather than each consumer You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchSize": { "kind": "property", "displayName": "Prefetch Size", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The maximum amount of content (measured in octets) that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "recoverFromDeclareException": { "kind": "property", "displayName": "Recover From Declare Exception", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Decides whether an exception during declaration of exchanges or queues is recoverable or not. If the option is false, camel will throw an exception when starting the consumer, which will [...] - "threadPoolSize": { "kind": "property", "displayName": "Thread Pool Size", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10, "description": "The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads." }, - "additionalHeaders": { "kind": "property", "displayName": "Additional Headers", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Map of additional headers. These headers will be set only when the 'allowCustomHeaders' is set to true" }, - "additionalProperties": { "kind": "property", "displayName": "Additional Properties", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Map of additional properties. These are standard RabbitMQ properties as defined in com.rabbitmq.client.AMQP.BasicProperties The map keys should be from org.apache.camel.component.rabbi [...] - "allowNullHeaders": { "kind": "property", "displayName": "Allow Null Headers", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allow pass null values to header" }, - "channelPoolMaxSize": { "kind": "property", "displayName": "Channel Pool Max Size", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10, "description": "Get maximum number of opened channel in pool" }, - "channelPoolMaxWait": { "kind": "property", "displayName": "Channel Pool Max Wait", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "Set the maximum number of milliseconds to wait for a channel from the pool" }, - "guaranteedDeliveries": { "kind": "property", "displayName": "Guaranteed Deliveries", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true, an exception will be thrown when the message cannot be delivered (basic.return) and the message is marked as mandatory. PublisherAcknowledgement will also be activated in this case. See also [...] - "immediate": { "kind": "property", "displayName": "Immediate", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the ser [...] - "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] - "mandatory": { "kind": "property", "displayName": "Mandatory", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the m [...] - "publisherAcknowledgements": { "kind": "property", "displayName": "Publisher Acknowledgements", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true, the message will be published with publisher acknowledgements turned on" }, - "publisherAcknowledgementsTimeout": { "kind": "property", "displayName": "Publisher Acknowledgements Timeout", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "The amount of time in milliseconds to wait for a basic.ack response from RabbitMQ server" }, - "args": { "kind": "property", "displayName": "Args", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange. Queue: arg.queue. Binding: arg.binding. DLQ: arg.dlq.queue. DLQ Binding: arg.dlq.bind [...] - "autoDetectConnectionFactory": { "kind": "property", "displayName": "Auto Detect Connection Factory", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to auto-detect looking up RabbitMQ connection factory from the registry. When enabled and a single instance of the connection factory is found then it will be used. An explicit co [...] - "automaticRecoveryEnabled": { "kind": "property", "displayName": "Automatic Recovery Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "description": "Enables connection automatic recovery (uses connection implementation that performs automatic recovery when connection shutdown is not initiated by the application)" }, - "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] - "clientProperties": { "kind": "property", "displayName": "Client Properties", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Connection client properties (client info used in negotiating with the server)" }, - "connectionFactoryExceptionHandler": { "kind": "property", "displayName": "Connection Factory Exception Handler", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.rabbitmq.client.ExceptionHandler", "deprecated": false, "autowired": false, "secret": false, "description": "Custom rabbitmq ExceptionHandler for ConnectionFactory" }, - "connectionTimeout": { "kind": "property", "displayName": "Connection Timeout", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 60000, "description": "Connection timeout" }, - "networkRecoveryInterval": { "kind": "property", "displayName": "Network Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Network recovery interval in milliseconds (interval used when recovering from network failure)" }, - "requestedChannelMax": { "kind": "property", "displayName": "Requested Channel Max", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 2047, "description": "Connection requested channel max (max number of channels offered)" }, - "requestedFrameMax": { "kind": "property", "displayName": "Requested Frame Max", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "description": "Connection requested frame max (max size of frame offered)" }, - "requestedHeartbeat": { "kind": "property", "displayName": "Requested Heartbeat", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 60, "description": "Connection requested heartbeat (heart-beat in seconds offered)" }, - "requestTimeout": { "kind": "property", "displayName": "Request Timeout", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 20000, "description": "Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds)" }, - "requestTimeoutCheckerInterval": { "kind": "property", "displayName": "Request Timeout Checker Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "Set requestTimeoutCheckerInterval for inOut exchange" }, - "topologyRecoveryEnabled": { "kind": "property", "displayName": "Topology Recovery Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "description": "Enables connection topology recovery (should topology recovery be performed)" }, - "transferException": { "kind": "property", "displayName": "Transfer Exception", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response" }, - "password": { "kind": "property", "displayName": "Password", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "defaultValue": "guest", "description": "Password for authenticated access" }, - "sslProtocol": { "kind": "property", "displayName": "Ssl Protocol", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Enables SSL on connection, accepted value are true, TLS and 'SSLv3" }, - "trustManager": { "kind": "property", "displayName": "Trust Manager", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "javax.net.ssl.TrustManager", "deprecated": false, "autowired": false, "secret": false, "description": "Configure SSL trust manager, SSL should be enabled for this option to be effective" }, - "username": { "kind": "property", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "defaultValue": "guest", "description": "Username in case of authenticated access" } - }, - "headers": { - "CamelRabbitmqRoutingKey": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Consumer: The routing key that was used to receive the message, or the routing key that will be used when producing a message Producer: The routing key that will be used when sending the message", "constantName": "org.apache.camel.component.rabbitmq.Ra [...] - "CamelRabbitmqExchangeOverrideName": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Used for force sending the message to this exchange instead of the endpoint configured name on the producer", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#EXCHANGE_OVERRIDE_NAME" }, - "CamelRabbitmqExchangeName": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Consumer: The exchange the message was received from Producer: The exchange the message was received from", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#EXCHANGE_NAME" }, - "CamelRabbitmqContentType": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The contentType to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#CONTENT_TYPE" }, - "CamelRabbitmqPriority": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "int", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The priority header to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#PRIORITY" }, - "CamelRabbitmqDeliveryTag": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "long", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The rabbitmq delivery tag of the received message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#DELIVERY_TAG" }, - "CamelRabbitmqRedeliveryTag": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Whether the message is a redelivered", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#REDELIVERY_TAG" }, - "CamelRabbitmqCorrelationId": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The correlationId to set on the RabbitMQ message.", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#CORRELATIONID" }, - "CamelRabbitmqMessageId": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The message id to set on the RabbitMQ message.", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#MESSAGE_ID" }, - "CamelRabbitmqDeliveryMode": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "If the message should be persistent or not", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#DELIVERY_MODE" }, - "CamelRabbitmqUserId": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The userId to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#USERID" }, - "CamelRabbitmqClusterId": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The clusterId to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#CLUSTERID" }, - "CamelRabbitmqRequestTimeout": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "long", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds)", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#REQUEST_TIMEOUT" }, - "CamelRabbitmqReplyTo": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The replyTo to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#REPLY_TO" }, - "CamelRabbitmqContentEncoding": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The contentEncoding to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#CONTENT_ENCODING" }, - "CamelRabbitmqType": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The type to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#TYPE" }, - "CamelRabbitmqExpiration": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The expiration to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#EXPIRATION" }, - "CamelRabbitmqTimestamp": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "java.util.Date", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The timestamp to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#TIMESTAMP" }, - "CamelRabbitmqAppId": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The appId to set on the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#APP_ID" }, - "CamelRabbitmqRequeue": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "This is used by the consumer to control rejection of the message. When the consumer is complete processing the exchange, and if the exchange failed, then the consumer is going to reject the message from the RabbitMQ broker. The value of this header contr [...] - "CamelRabbitmqMandatory": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The flag telling the server how to react if the message cannot be routed to a queue.", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#MANDATORY" }, - "CamelRabbitmqImmediate": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The flag telling the server how to react if the message cannot be routed to a queue consumer immediately.", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#IMMEDIATE" }, - "CamelMessageTimestamp": { "kind": "header", "displayName": "", "group": "common", "label": "", "required": false, "javaType": "long", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The timestamp of the RabbitMQ message", "constantName": "org.apache.camel.component.rabbitmq.RabbitMQConstants#MESSAGE_TIMESTAMP" } - }, - "properties": { - "exchangeName": { "kind": "path", "displayName": "Exchange Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The exchange name determines the exchange to which the produced messages will be sent to. In the case of consumers, the exchange name determines the exchange the queue will be bound to." }, - "addresses": { "kind": "parameter", "displayName": "Addresses", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345" }, - "autoDelete": { "kind": "parameter", "displayName": "Auto Delete", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If it is true, the exchange will be deleted when it is no longer in use" }, - "automaticRecoveryEnabled": { "kind": "parameter", "displayName": "Automatic Recovery Enabled", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "true", "description": "Enables connection automatic recovery (uses connection implementation that performs automatic recovery when existing connection has failures)" }, - "connectionFactory": { "kind": "parameter", "displayName": "Connection Factory", "group": "common", "label": "common", "required": false, "type": "object", "javaType": "com.rabbitmq.client.ConnectionFactory", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used" }, - "deadLetterExchange": { "kind": "parameter", "displayName": "Dead Letter Exchange", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The name of the dead letter exchange" }, - "deadLetterExchangeType": { "kind": "parameter", "displayName": "Dead Letter Exchange Type", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "direct", "fanout", "headers", "topic" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "direct", "description": "The type of the dead letter exchange" }, - "deadLetterQueue": { "kind": "parameter", "displayName": "Dead Letter Queue", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The name of the dead letter queue" }, - "deadLetterRoutingKey": { "kind": "parameter", "displayName": "Dead Letter Routing Key", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The routing key for the dead letter exchange" }, - "declare": { "kind": "parameter", "displayName": "Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If the option is true, camel declare the exchange and queue name and bind them together. If the option is false, camel won't declare the exchange and queue name on the server." }, - "durable": { "kind": "parameter", "displayName": "Durable", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If we are declaring a durable exchange (the exchange will survive a server restart)" }, - "exchangeType": { "kind": "parameter", "displayName": "Exchange Type", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "direct", "fanout", "headers", "topic" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "direct", "description": "The exchange type such as direct or topic." }, - "exclusive": { "kind": "parameter", "displayName": "Exclusive", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Exclusive queues may only be accessed by the current connection, and are deleted when that connection closes." }, - "hostname": { "kind": "parameter", "displayName": "Hostname", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The hostname of the running rabbitmq instance or cluster." }, - "passive": { "kind": "parameter", "displayName": "Passive", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Passive queues depend on the queue already to be available at RabbitMQ." }, - "portNumber": { "kind": "parameter", "displayName": "Port Number", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "Port number for the host with the running rabbitmq instance or cluster. Default value is 5672." }, - "queue": { "kind": "parameter", "displayName": "Queue", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The queue to receive messages from" }, - "routingKey": { "kind": "parameter", "displayName": "Routing Key", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The routing key to use when binding a consumer queue to the exchange. For producer routing keys, you set the header rabbitmq.ROUTING_KEY." }, - "skipDlqDeclare": { "kind": "parameter", "displayName": "Skip Dlq Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If true the producer will not declare and bind a dead letter queue. This can be used if you have also DLQ rabbitmq consumer and you want to avoid argument clashing between Producer and Consumer. This option have no e [...] - "skipExchangeDeclare": { "kind": "parameter", "displayName": "Skip Exchange Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This can be used if we need to declare the queue but not the exchange" }, - "skipQueueBind": { "kind": "parameter", "displayName": "Skip Queue Bind", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If true the queue will not be bound to the exchange after declaring it" }, - "skipQueueDeclare": { "kind": "parameter", "displayName": "Skip Queue Declare", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If true the producer will not declare and bind a queue. This can be used for directing messages via an existing routing key." }, - "vhost": { "kind": "parameter", "displayName": "Vhost", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/", "description": "The vhost for the channel" }, - "autoAck": { "kind": "parameter", "displayName": "Auto Ack", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "If messages should be auto acknowledged" }, - "concurrentConsumers": { "kind": "parameter", "displayName": "Concurrent Consumers", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1, "description": "Number of concurrent consumers when consuming from broker. (eg similar as to the same option for the JMS component)." }, - "consumerTag": { "kind": "parameter", "displayName": "Consumer Tag", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Specify a client-generated consumer tag to establish context when invoking the consume operation" }, - "exclusiveConsumer": { "kind": "parameter", "displayName": "Exclusive Consumer", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Request exclusive access to the queue (meaning only this consumer can access the queue). This is useful when you want a long-lived shared queue to be temporarily accessible by just one consumer." }, - "prefetchCount": { "kind": "parameter", "displayName": "Prefetch Count", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The maximum number of messages that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchEnabled": { "kind": "parameter", "displayName": "Prefetch Enabled", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enables the quality of service on the RabbitMQConsumer side. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchGlobal": { "kind": "parameter", "displayName": "Prefetch Global", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the settings should be applied to the entire channel rather than each consumer You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "prefetchSize": { "kind": "parameter", "displayName": "Prefetch Size", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The maximum amount of content (measured in octets) that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time" }, - "recoverFromDeclareException": { "kind": "parameter", "displayName": "Recover From Declare Exception", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Decides whether an exception during declaration of exchanges or queues is recoverable or not. If the option is false, camel will throw an exception when starting the consumer, which will [...] - "reQueue": { "kind": "parameter", "displayName": "Re Queue", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This is used by the consumer to control rejection of the message. When the consumer is complete processing the exchange, and if the exchange failed, then the consumer is going to reject the message from the RabbitMQ broker. If [...] - "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now [...] - "exceptionHandler": { "kind": "parameter", "displayName": "Exception Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", "deprecated": false, "autowired": false, "secret": false, "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the con [...] - "exchangePattern": { "kind": "parameter", "displayName": "Exchange Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", "InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, "description": "Sets the exchange pattern when the consumer creates an exchange." }, - "threadPoolSize": { "kind": "parameter", "displayName": "Thread Pool Size", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10, "description": "The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads." }, - "additionalHeaders": { "kind": "parameter", "displayName": "Additional Headers", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Map of additional headers. These headers will be set only when the 'allowCustomHeaders' is set to true" }, - "additionalProperties": { "kind": "parameter", "displayName": "Additional Properties", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Map of additional properties. These are standard RabbitMQ properties as defined in com.rabbitmq.client.AMQP.BasicProperties. The map keys should be from org.apache.camel.component.rab [...] - "allowCustomHeaders": { "kind": "parameter", "displayName": "Allow Custom Headers", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allow pass custom values to header" }, - "allowNullHeaders": { "kind": "parameter", "displayName": "Allow Null Headers", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allow pass null values to header" }, - "bridgeEndpoint": { "kind": "parameter", "displayName": "Bridge Endpoint", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the bridgeEndpoint is true, the producer will ignore the message header of rabbitmq.EXCHANGE_NAME and rabbitmq.ROUTING_KEY" }, - "channelPoolMaxSize": { "kind": "parameter", "displayName": "Channel Pool Max Size", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10, "description": "Get maximum number of opened channel in pool" }, - "channelPoolMaxWait": { "kind": "parameter", "displayName": "Channel Pool Max Wait", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "Set the maximum number of milliseconds to wait for a channel from the pool" }, - "guaranteedDeliveries": { "kind": "parameter", "displayName": "Guaranteed Deliveries", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true, an exception will be thrown when the message cannot be delivered (basic.return) and the message is marked as mandatory. PublisherAcknowledgement will also be activated in this case. See also [...] - "immediate": { "kind": "parameter", "displayName": "Immediate", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the se [...] - "mandatory": { "kind": "parameter", "displayName": "Mandatory", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the [...] - "publisherAcknowledgements": { "kind": "parameter", "displayName": "Publisher Acknowledgements", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true, the message will be published with publisher acknowledgements turned on" }, - "publisherAcknowledgementsTimeout": { "kind": "parameter", "displayName": "Publisher Acknowledgements Timeout", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "The amount of time in milliseconds to wait for a basic.ack response from RabbitMQ server" }, - "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may other [...] - "allowMessageBodySerialization": { "kind": "parameter", "displayName": "Allow Message Body Serialization", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow Java serialization of the message body or not. If this value is true, the message body will be serialized on the producer side using Java serialization, if no type [...] - "args": { "kind": "parameter", "displayName": "Args", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": "arg.", "multiValue": true, "deprecated": false, "autowired": false, "secret": false, "description": "Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange. Queue: arg.queue. Binding: arg.binding. DLQ: a [...] - "clientProperties": { "kind": "parameter", "displayName": "Client Properties", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>", "deprecated": false, "autowired": false, "secret": false, "description": "Connection client properties (client info used in negotiating with the server)" }, - "connectionFactoryExceptionHandler": { "kind": "parameter", "displayName": "Connection Factory Exception Handler", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.rabbitmq.client.ExceptionHandler", "deprecated": false, "autowired": false, "secret": false, "description": "Custom rabbitmq ExceptionHandler for ConnectionFactory" }, - "connectionTimeout": { "kind": "parameter", "displayName": "Connection Timeout", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 60000, "description": "Connection timeout" }, - "networkRecoveryInterval": { "kind": "parameter", "displayName": "Network Recovery Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "description": "Network recovery interval in milliseconds (interval used when recovering from network failure)" }, - "requestedChannelMax": { "kind": "parameter", "displayName": "Requested Channel Max", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 2047, "description": "Connection requested channel max (max number of channels offered)" }, - "requestedFrameMax": { "kind": "parameter", "displayName": "Requested Frame Max", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "description": "Connection requested frame max (max size of frame offered)" }, - "requestedHeartbeat": { "kind": "parameter", "displayName": "Requested Heartbeat", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 60, "description": "Connection requested heartbeat (heart-beat in seconds offered)" }, - "requestTimeout": { "kind": "parameter", "displayName": "Request Timeout", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 20000, "description": "Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds)" }, - "requestTimeoutCheckerInterval": { "kind": "parameter", "displayName": "Request Timeout Checker Interval", "group": "advanced", "label": "advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "Set requestTimeoutCheckerInterval for inOut exchange" }, - "topologyRecoveryEnabled": { "kind": "parameter", "displayName": "Topology Recovery Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "description": "Enables connection topology recovery (should topology recovery be performed)" }, - "transferException": { "kind": "parameter", "displayName": "Transfer Exception", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response" }, - "password": { "kind": "parameter", "displayName": "Password", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "defaultValue": "guest", "description": "Password for authenticated access" }, - "sslProtocol": { "kind": "parameter", "displayName": "Ssl Protocol", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Enables SSL on connection, accepted value are true, TLS and 'SSLv3" }, - "trustManager": { "kind": "parameter", "displayName": "Trust Manager", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "javax.net.ssl.TrustManager", "deprecated": false, "autowired": false, "secret": false, "description": "Configure SSL trust manager, SSL should be enabled for this option to be effective" }, - "username": { "kind": "parameter", "displayName": "Username", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "defaultValue": "guest", "description": "Username in case of authenticated access" } - } -} diff --git a/components-starter/camel-rabbitmq-starter/pom.xml b/components-starter/camel-rabbitmq-starter/pom.xml deleted file mode 100644 index 870c934caa3..00000000000 --- a/components-starter/camel-rabbitmq-starter/pom.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.springboot</groupId> - <artifactId>components-starter</artifactId> - <version>4.0.0-SNAPSHOT</version> - </parent> - <artifactId>camel-rabbitmq-starter</artifactId> - <packaging>jar</packaging> - <name>Camel SB Starters :: RabbitMQ</name> - <description>Spring-Boot Starter for Camel RabbitMQ Component</description> - <dependencies> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter</artifactId> - <version>${spring-boot-version}</version> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-rabbitmq</artifactId> - <version>${camel-version}</version> - </dependency> - <!--START OF GENERATED CODE--> - <dependency> - <groupId>org.apache.camel.springboot</groupId> - <artifactId>camel-core-starter</artifactId> - </dependency> - <!--END OF GENERATED CODE--> - </dependencies> -</project> diff --git a/components-starter/camel-rabbitmq-starter/src/main/docs/rabbitmq.json b/components-starter/camel-rabbitmq-starter/src/main/docs/rabbitmq.json deleted file mode 100644 index 086bd3bdbf2..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/docs/rabbitmq.json +++ /dev/null @@ -1,403 +0,0 @@ -{ - "groups": [ - { - "name": "camel.component.rabbitmq", - "type": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.customizer", - "type": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "sourceMethod": "getCustomizer()" - } - ], - "properties": [ - { - "name": "camel.component.rabbitmq.additional-headers", - "type": "java.util.Map<java.lang.String,java.lang.Object>", - "description": "Map of additional headers. These headers will be set only when the 'allowCustomHeaders' is set to true", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.additional-properties", - "type": "java.util.Map<java.lang.String,java.lang.Object>", - "description": "Map of additional properties. These are standard RabbitMQ properties as defined in com.rabbitmq.client.AMQP.BasicProperties The map keys should be from org.apache.camel.component.rabbitmq.RabbitMQConstants. Any other keys will be ignored. When the message already contains these headers they will be given precedence over these properties.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.addresses", - "type": "java.lang.String", - "description": "If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like server1:12345, server2:12345", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.allow-null-headers", - "type": "java.lang.Boolean", - "description": "Allow pass null values to header", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.args", - "type": "java.util.Map<java.lang.String,java.lang.Object>", - "description": "Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange. Queue: arg.queue. Binding: arg.binding. DLQ: arg.dlq.queue. DLQ Binding: arg.dlq.binding. For example to declare a queue with message ttl argument: http:\/\/localhost:5672\/exchange\/queueargs=arg.queue.x-message-ttl=60000", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.auto-ack", - "type": "java.lang.Boolean", - "description": "If messages should be auto acknowledged", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.auto-delete", - "type": "java.lang.Boolean", - "description": "If it is true, the exchange will be deleted when it is no longer in use", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.auto-detect-connection-factory", - "type": "java.lang.Boolean", - "description": "Whether to auto-detect looking up RabbitMQ connection factory from the registry. When enabled and a single instance of the connection factory is found then it will be used. An explicit connection factory can be configured on the component or endpoint level which takes precedence.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.automatic-recovery-enabled", - "type": "java.lang.Boolean", - "description": "Enables connection automatic recovery (uses connection implementation that performs automatic recovery when connection shutdown is not initiated by the application)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.autowired-enabled", - "type": "java.lang.Boolean", - "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.bridge-error-handler", - "type": "java.lang.Boolean", - "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.channel-pool-max-size", - "type": "java.lang.Integer", - "description": "Get maximum number of opened channel in pool", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 10 - }, - { - "name": "camel.component.rabbitmq.channel-pool-max-wait", - "type": "java.lang.Long", - "description": "Set the maximum number of milliseconds to wait for a channel from the pool", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 1000 - }, - { - "name": "camel.component.rabbitmq.client-properties", - "type": "java.util.Map<java.lang.String,java.lang.Object>", - "description": "Connection client properties (client info used in negotiating with the server)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.connection-factory", - "type": "com.rabbitmq.client.ConnectionFactory", - "description": "To use a custom RabbitMQ connection factory. When this option is set, all connection options (connectionTimeout, requestedChannelMax...) set on URI are not used. The option is a com.rabbitmq.client.ConnectionFactory type.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.connection-factory-exception-handler", - "type": "com.rabbitmq.client.ExceptionHandler", - "description": "Custom rabbitmq ExceptionHandler for ConnectionFactory. The option is a com.rabbitmq.client.ExceptionHandler type.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.connection-timeout", - "type": "java.lang.Integer", - "description": "Connection timeout", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 60000 - }, - { - "name": "camel.component.rabbitmq.customizer.enabled", - "type": "java.lang.Boolean", - "sourceType": "org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties" - }, - { - "name": "camel.component.rabbitmq.dead-letter-exchange", - "type": "java.lang.String", - "description": "The name of the dead letter exchange", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.dead-letter-exchange-type", - "type": "java.lang.String", - "description": "The type of the dead letter exchange", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": "direct" - }, - { - "name": "camel.component.rabbitmq.dead-letter-queue", - "type": "java.lang.String", - "description": "The name of the dead letter queue", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.dead-letter-routing-key", - "type": "java.lang.String", - "description": "The routing key for the dead letter exchange", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.declare", - "type": "java.lang.Boolean", - "description": "If the option is true, camel declare the exchange and queue name and bind them together. If the option is false, camel won't declare the exchange and queue name on the server.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.durable", - "type": "java.lang.Boolean", - "description": "If we are declaring a durable exchange (the exchange will survive a server restart)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": true - }, - { - "name": "camel.component.rabbitmq.enabled", - "type": "java.lang.Boolean", - "description": "Whether to enable auto configuration of the rabbitmq component. This is enabled by default.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.exclusive", - "type": "java.lang.Boolean", - "description": "Exclusive queues may only be accessed by the current connection, and are deleted when that connection closes.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.exclusive-consumer", - "type": "java.lang.Boolean", - "description": "Request exclusive access to the queue (meaning only this consumer can access the queue). This is useful when you want a long-lived shared queue to be temporarily accessible by just one consumer.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.guaranteed-deliveries", - "type": "java.lang.Boolean", - "description": "When true, an exception will be thrown when the message cannot be delivered (basic.return) and the message is marked as mandatory. PublisherAcknowledgement will also be activated in this case. See also publisher acknowledgements - When will messages be confirmed.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.hostname", - "type": "java.lang.String", - "description": "The hostname of the running RabbitMQ instance or cluster.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.immediate", - "type": "java.lang.Boolean", - "description": "This flag tells the server how to react if the message cannot be routed to a queue consumer immediately. If this flag is set, the server will return an undeliverable message with a Return method. If this flag is zero, the server will queue the message, but with no guarantee that it will ever be consumed. If the header is present rabbitmq.IMMEDIATE it will override this option.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.lazy-start-producer", - "type": "java.lang.Boolean", - "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the [...] - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.mandatory", - "type": "java.lang.Boolean", - "description": "This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message. If the header is present rabbitmq.MANDATORY it will override this option.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.network-recovery-interval", - "type": "java.lang.Integer", - "description": "Network recovery interval in milliseconds (interval used when recovering from network failure)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 5000 - }, - { - "name": "camel.component.rabbitmq.passive", - "type": "java.lang.Boolean", - "description": "Passive queues depend on the queue already to be available at RabbitMQ.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.password", - "type": "java.lang.String", - "description": "Password for authenticated access", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": "guest" - }, - { - "name": "camel.component.rabbitmq.port-number", - "type": "java.lang.Integer", - "description": "Port number for the host with the running rabbitmq instance or cluster.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 5672 - }, - { - "name": "camel.component.rabbitmq.prefetch-count", - "type": "java.lang.Integer", - "description": "The maximum number of messages that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.prefetch-enabled", - "type": "java.lang.Boolean", - "description": "Enables the quality of service on the RabbitMQConsumer side. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.prefetch-global", - "type": "java.lang.Boolean", - "description": "If the settings should be applied to the entire channel rather than each consumer You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.prefetch-size", - "type": "java.lang.Integer", - "description": "The maximum amount of content (measured in octets) that the server will deliver, 0 if unlimited. You need to specify the option of prefetchSize, prefetchCount, prefetchGlobal at the same time", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.publisher-acknowledgements", - "type": "java.lang.Boolean", - "description": "When true, the message will be published with publisher acknowledgements turned on", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.publisher-acknowledgements-timeout", - "type": "java.lang.Long", - "description": "The amount of time in milliseconds to wait for a basic.ack response from RabbitMQ server", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.recover-from-declare-exception", - "type": "java.lang.Boolean", - "description": "Decides whether an exception during declaration of exchanges or queues is recoverable or not. If the option is false, camel will throw an exception when starting the consumer, which will interrupt application startup (e.g. in the case when the exchange \/ queue is already declared in RabbitMQ and has incompatible configuration). If set to true, the consumer will try to reconnect periodically.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.request-timeout", - "type": "java.lang.Long", - "description": "Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 20000 - }, - { - "name": "camel.component.rabbitmq.request-timeout-checker-interval", - "type": "java.lang.Long", - "description": "Set requestTimeoutCheckerInterval for inOut exchange", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 1000 - }, - { - "name": "camel.component.rabbitmq.requested-channel-max", - "type": "java.lang.Integer", - "description": "Connection requested channel max (max number of channels offered)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 2047 - }, - { - "name": "camel.component.rabbitmq.requested-frame-max", - "type": "java.lang.Integer", - "description": "Connection requested frame max (max size of frame offered)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 0 - }, - { - "name": "camel.component.rabbitmq.requested-heartbeat", - "type": "java.lang.Integer", - "description": "Connection requested heartbeat (heart-beat in seconds offered)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 60 - }, - { - "name": "camel.component.rabbitmq.skip-exchange-declare", - "type": "java.lang.Boolean", - "description": "This can be used if we need to declare the queue but not the exchange", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.skip-queue-bind", - "type": "java.lang.Boolean", - "description": "If true the queue will not be bound to the exchange after declaring it", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.skip-queue-declare", - "type": "java.lang.Boolean", - "description": "If true the producer will not declare and bind a queue. This can be used for directing messages via an existing routing key.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.ssl-protocol", - "type": "java.lang.String", - "description": "Enables SSL on connection, accepted value are true, TLS and 'SSLv3", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.thread-pool-size", - "type": "java.lang.Integer", - "description": "The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": 10 - }, - { - "name": "camel.component.rabbitmq.topology-recovery-enabled", - "type": "java.lang.Boolean", - "description": "Enables connection topology recovery (should topology recovery be performed)", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.transfer-exception", - "type": "java.lang.Boolean", - "description": "When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": false - }, - { - "name": "camel.component.rabbitmq.trust-manager", - "type": "javax.net.ssl.TrustManager", - "description": "Configure SSL trust manager, SSL should be enabled for this option to be effective. The option is a javax.net.ssl.TrustManager type.", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration" - }, - { - "name": "camel.component.rabbitmq.username", - "type": "java.lang.String", - "description": "Username in case of authenticated access", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": "guest" - }, - { - "name": "camel.component.rabbitmq.vhost", - "type": "java.lang.String", - "description": "The vhost for the channel", - "sourceType": "org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConfiguration", - "defaultValue": "\/" - } - ], - "hints": [] -} \ No newline at end of file diff --git a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java b/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java deleted file mode 100644 index 27b1a4b5114..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.rabbitmq.springboot; - -import org.apache.camel.CamelContext; -import org.apache.camel.Component; -import org.apache.camel.component.rabbitmq.RabbitMQComponent; -import org.apache.camel.spi.ComponentCustomizer; -import org.apache.camel.spring.boot.CamelAutoConfiguration; -import org.apache.camel.spring.boot.ComponentConfigurationProperties; -import org.apache.camel.spring.boot.util.CamelPropertiesHelper; -import org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans; -import org.apache.camel.spring.boot.util.ConditionalOnHierarchicalProperties; -import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.AutoConfigureAfter; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.ApplicationContext; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Conditional; -import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Lazy; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration(proxyBeanMethods = false) -@Conditional(ConditionalOnCamelContextAndAutoConfigurationBeans.class) -@EnableConfigurationProperties({ComponentConfigurationProperties.class,RabbitMQComponentConfiguration.class}) -@ConditionalOnHierarchicalProperties({"camel.component", "camel.component.rabbitmq"}) -@AutoConfigureAfter({CamelAutoConfiguration.class, RabbitMQComponentConverter.class}) -public class RabbitMQComponentAutoConfiguration { - - @Autowired - private ApplicationContext applicationContext; - private final CamelContext camelContext; - @Autowired - private RabbitMQComponentConfiguration configuration; - - public RabbitMQComponentAutoConfiguration( - org.apache.camel.CamelContext camelContext) { - this.camelContext = camelContext; - } - - @Lazy - @Bean - public ComponentCustomizer configureRabbitMQComponent() { - return new ComponentCustomizer() { - @Override - public void configure(String name, Component target) { - CamelPropertiesHelper.copyProperties(camelContext, configuration, target); - } - @Override - public boolean isEnabled(String name, Component target) { - return HierarchicalPropertiesEvaluator.evaluate( - applicationContext, - "camel.component.customizer", - "camel.component.rabbitmq.customizer") - && target instanceof RabbitMQComponent; - } - }; - } -} \ No newline at end of file diff --git a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java b/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java deleted file mode 100644 index 627cd2d424d..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java +++ /dev/null @@ -1,797 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.rabbitmq.springboot; - -import java.util.Map; -import javax.net.ssl.TrustManager; -import com.rabbitmq.client.ConnectionFactory; -import com.rabbitmq.client.ExceptionHandler; -import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Send and receive messages from RabbitMQ instances. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.rabbitmq") -public class RabbitMQComponentConfiguration - extends - ComponentConfigurationPropertiesCommon { - - /** - * Whether to enable auto configuration of the rabbitmq component. This is - * enabled by default. - */ - private Boolean enabled; - /** - * If this option is set, camel-rabbitmq will try to create connection based - * on the setting of option addresses. The addresses value is a string which - * looks like server1:12345, server2:12345 - */ - private String addresses; - /** - * If it is true, the exchange will be deleted when it is no longer in use - */ - private Boolean autoDelete = true; - /** - * To use a custom RabbitMQ connection factory. When this option is set, all - * connection options (connectionTimeout, requestedChannelMax...) set on URI - * are not used. The option is a com.rabbitmq.client.ConnectionFactory type. - */ - private ConnectionFactory connectionFactory; - /** - * The name of the dead letter exchange - */ - private String deadLetterExchange; - /** - * The type of the dead letter exchange - */ - private String deadLetterExchangeType = "direct"; - /** - * The name of the dead letter queue - */ - private String deadLetterQueue; - /** - * The routing key for the dead letter exchange - */ - private String deadLetterRoutingKey; - /** - * If the option is true, camel declare the exchange and queue name and bind - * them together. If the option is false, camel won't declare the exchange - * and queue name on the server. - */ - private Boolean declare = true; - /** - * If we are declaring a durable exchange (the exchange will survive a - * server restart) - */ - private Boolean durable = true; - /** - * Exclusive queues may only be accessed by the current connection, and are - * deleted when that connection closes. - */ - private Boolean exclusive = false; - /** - * The hostname of the running RabbitMQ instance or cluster. - */ - private String hostname; - /** - * Passive queues depend on the queue already to be available at RabbitMQ. - */ - private Boolean passive = false; - /** - * Port number for the host with the running rabbitmq instance or cluster. - */ - private Integer portNumber = 5672; - /** - * This can be used if we need to declare the queue but not the exchange - */ - private Boolean skipExchangeDeclare = false; - /** - * If true the queue will not be bound to the exchange after declaring it - */ - private Boolean skipQueueBind = false; - /** - * If true the producer will not declare and bind a queue. This can be used - * for directing messages via an existing routing key. - */ - private Boolean skipQueueDeclare = false; - /** - * The vhost for the channel - */ - private String vhost = "/"; - /** - * If messages should be auto acknowledged - */ - private Boolean autoAck = true; - /** - * Allows for bridging the consumer to the Camel routing Error Handler, - * which mean any exceptions occurred while the consumer is trying to pickup - * incoming messages, or the likes, will now be processed as a message and - * handled by the routing Error Handler. By default the consumer will use - * the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that - * will be logged at WARN or ERROR level and ignored. - */ - private Boolean bridgeErrorHandler = false; - /** - * Request exclusive access to the queue (meaning only this consumer can - * access the queue). This is useful when you want a long-lived shared queue - * to be temporarily accessible by just one consumer. - */ - private Boolean exclusiveConsumer = false; - /** - * The maximum number of messages that the server will deliver, 0 if - * unlimited. You need to specify the option of prefetchSize, prefetchCount, - * prefetchGlobal at the same time - */ - private Integer prefetchCount; - /** - * Enables the quality of service on the RabbitMQConsumer side. You need to - * specify the option of prefetchSize, prefetchCount, prefetchGlobal at the - * same time - */ - private Boolean prefetchEnabled = false; - /** - * If the settings should be applied to the entire channel rather than each - * consumer You need to specify the option of prefetchSize, prefetchCount, - * prefetchGlobal at the same time - */ - private Boolean prefetchGlobal = false; - /** - * The maximum amount of content (measured in octets) that the server will - * deliver, 0 if unlimited. You need to specify the option of prefetchSize, - * prefetchCount, prefetchGlobal at the same time - */ - private Integer prefetchSize; - /** - * Decides whether an exception during declaration of exchanges or queues is - * recoverable or not. If the option is false, camel will throw an exception - * when starting the consumer, which will interrupt application startup - * (e.g. in the case when the exchange / queue is already declared in - * RabbitMQ and has incompatible configuration). If set to true, the - * consumer will try to reconnect periodically. - */ - private Boolean recoverFromDeclareException = false; - /** - * The consumer uses a Thread Pool Executor with a fixed number of threads. - * This setting allows you to set that number of threads. - */ - private Integer threadPoolSize = 10; - /** - * Map of additional headers. These headers will be set only when the - * 'allowCustomHeaders' is set to true - */ - private Map<String, Object> additionalHeaders; - /** - * Map of additional properties. These are standard RabbitMQ properties as - * defined in com.rabbitmq.client.AMQP.BasicProperties The map keys should - * be from org.apache.camel.component.rabbitmq.RabbitMQConstants. Any other - * keys will be ignored. When the message already contains these headers - * they will be given precedence over these properties. - */ - private Map<String, Object> additionalProperties; - /** - * Allow pass null values to header - */ - private Boolean allowNullHeaders = false; - /** - * Get maximum number of opened channel in pool - */ - private Integer channelPoolMaxSize = 10; - /** - * Set the maximum number of milliseconds to wait for a channel from the - * pool - */ - private Long channelPoolMaxWait = 1000L; - /** - * When true, an exception will be thrown when the message cannot be - * delivered (basic.return) and the message is marked as mandatory. - * PublisherAcknowledgement will also be activated in this case. See also - * publisher acknowledgements - When will messages be confirmed. - */ - private Boolean guaranteedDeliveries = false; - /** - * This flag tells the server how to react if the message cannot be routed - * to a queue consumer immediately. If this flag is set, the server will - * return an undeliverable message with a Return method. If this flag is - * zero, the server will queue the message, but with no guarantee that it - * will ever be consumed. If the header is present rabbitmq.IMMEDIATE it - * will override this option. - */ - private Boolean immediate = false; - /** - * Whether the producer should be started lazy (on the first message). By - * starting lazy you can use this to allow CamelContext and routes to - * startup in situations where a producer may otherwise fail during starting - * and cause the route to fail being started. By deferring this startup to - * be lazy then the startup failure can be handled during routing messages - * via Camel's routing error handlers. Beware that when the first message is - * processed then creating and starting the producer may take a little time - * and prolong the total processing time of the processing. - */ - private Boolean lazyStartProducer = false; - /** - * This flag tells the server how to react if the message cannot be routed - * to a queue. If this flag is set, the server will return an unroutable - * message with a Return method. If this flag is zero, the server silently - * drops the message. If the header is present rabbitmq.MANDATORY it will - * override this option. - */ - private Boolean mandatory = false; - /** - * When true, the message will be published with publisher acknowledgements - * turned on - */ - private Boolean publisherAcknowledgements = false; - /** - * The amount of time in milliseconds to wait for a basic.ack response from - * RabbitMQ server - */ - private Long publisherAcknowledgementsTimeout; - /** - * Specify arguments for configuring the different RabbitMQ concepts, a - * different prefix is required for each: Exchange: arg.exchange. Queue: - * arg.queue. Binding: arg.binding. DLQ: arg.dlq.queue. DLQ Binding: - * arg.dlq.binding. For example to declare a queue with message ttl - * argument: - * http://localhost:5672/exchange/queueargs=arg.queue.x-message-ttl=60000 - */ - private Map<String, Object> args; - /** - * Whether to auto-detect looking up RabbitMQ connection factory from the - * registry. When enabled and a single instance of the connection factory is - * found then it will be used. An explicit connection factory can be - * configured on the component or endpoint level which takes precedence. - */ - private Boolean autoDetectConnectionFactory = true; - /** - * Enables connection automatic recovery (uses connection implementation - * that performs automatic recovery when connection shutdown is not - * initiated by the application) - */ - private Boolean automaticRecoveryEnabled; - /** - * Whether autowiring is enabled. This is used for automatic autowiring - * options (the option must be marked as autowired) by looking up in the - * registry to find if there is a single instance of matching type, which - * then gets configured on the component. This can be used for automatic - * configuring JDBC data sources, JMS connection factories, AWS Clients, - * etc. - */ - private Boolean autowiredEnabled = true; - /** - * Connection client properties (client info used in negotiating with the - * server) - */ - private Map<String, Object> clientProperties; - /** - * Custom rabbitmq ExceptionHandler for ConnectionFactory. The option is a - * com.rabbitmq.client.ExceptionHandler type. - */ - private ExceptionHandler connectionFactoryExceptionHandler; - /** - * Connection timeout - */ - private Integer connectionTimeout = 60000; - /** - * Network recovery interval in milliseconds (interval used when recovering - * from network failure) - */ - private Integer networkRecoveryInterval = 5000; - /** - * Connection requested channel max (max number of channels offered) - */ - private Integer requestedChannelMax = 2047; - /** - * Connection requested frame max (max size of frame offered) - */ - private Integer requestedFrameMax = 0; - /** - * Connection requested heartbeat (heart-beat in seconds offered) - */ - private Integer requestedHeartbeat = 60; - /** - * Set timeout for waiting for a reply when using the InOut Exchange Pattern - * (in milliseconds) - */ - private Long requestTimeout = 20000L; - /** - * Set requestTimeoutCheckerInterval for inOut exchange - */ - private Long requestTimeoutCheckerInterval = 1000L; - /** - * Enables connection topology recovery (should topology recovery be - * performed) - */ - private Boolean topologyRecoveryEnabled; - /** - * When true and an inOut Exchange failed on the consumer side send the - * caused Exception back in the response - */ - private Boolean transferException = false; - /** - * Password for authenticated access - */ - private String password = "guest"; - /** - * Enables SSL on connection, accepted value are true, TLS and 'SSLv3 - */ - private String sslProtocol; - /** - * Configure SSL trust manager, SSL should be enabled for this option to be - * effective. The option is a javax.net.ssl.TrustManager type. - */ - private TrustManager trustManager; - /** - * Username in case of authenticated access - */ - private String username = "guest"; - - public String getAddresses() { - return addresses; - } - - public void setAddresses(String addresses) { - this.addresses = addresses; - } - - public Boolean getAutoDelete() { - return autoDelete; - } - - public void setAutoDelete(Boolean autoDelete) { - this.autoDelete = autoDelete; - } - - public ConnectionFactory getConnectionFactory() { - return connectionFactory; - } - - public void setConnectionFactory(ConnectionFactory connectionFactory) { - this.connectionFactory = connectionFactory; - } - - public String getDeadLetterExchange() { - return deadLetterExchange; - } - - public void setDeadLetterExchange(String deadLetterExchange) { - this.deadLetterExchange = deadLetterExchange; - } - - public String getDeadLetterExchangeType() { - return deadLetterExchangeType; - } - - public void setDeadLetterExchangeType(String deadLetterExchangeType) { - this.deadLetterExchangeType = deadLetterExchangeType; - } - - public String getDeadLetterQueue() { - return deadLetterQueue; - } - - public void setDeadLetterQueue(String deadLetterQueue) { - this.deadLetterQueue = deadLetterQueue; - } - - public String getDeadLetterRoutingKey() { - return deadLetterRoutingKey; - } - - public void setDeadLetterRoutingKey(String deadLetterRoutingKey) { - this.deadLetterRoutingKey = deadLetterRoutingKey; - } - - public Boolean getDeclare() { - return declare; - } - - public void setDeclare(Boolean declare) { - this.declare = declare; - } - - public Boolean getDurable() { - return durable; - } - - public void setDurable(Boolean durable) { - this.durable = durable; - } - - public Boolean getExclusive() { - return exclusive; - } - - public void setExclusive(Boolean exclusive) { - this.exclusive = exclusive; - } - - public String getHostname() { - return hostname; - } - - public void setHostname(String hostname) { - this.hostname = hostname; - } - - public Boolean getPassive() { - return passive; - } - - public void setPassive(Boolean passive) { - this.passive = passive; - } - - public Integer getPortNumber() { - return portNumber; - } - - public void setPortNumber(Integer portNumber) { - this.portNumber = portNumber; - } - - public Boolean getSkipExchangeDeclare() { - return skipExchangeDeclare; - } - - public void setSkipExchangeDeclare(Boolean skipExchangeDeclare) { - this.skipExchangeDeclare = skipExchangeDeclare; - } - - public Boolean getSkipQueueBind() { - return skipQueueBind; - } - - public void setSkipQueueBind(Boolean skipQueueBind) { - this.skipQueueBind = skipQueueBind; - } - - public Boolean getSkipQueueDeclare() { - return skipQueueDeclare; - } - - public void setSkipQueueDeclare(Boolean skipQueueDeclare) { - this.skipQueueDeclare = skipQueueDeclare; - } - - public String getVhost() { - return vhost; - } - - public void setVhost(String vhost) { - this.vhost = vhost; - } - - public Boolean getAutoAck() { - return autoAck; - } - - public void setAutoAck(Boolean autoAck) { - this.autoAck = autoAck; - } - - public Boolean getBridgeErrorHandler() { - return bridgeErrorHandler; - } - - public void setBridgeErrorHandler(Boolean bridgeErrorHandler) { - this.bridgeErrorHandler = bridgeErrorHandler; - } - - public Boolean getExclusiveConsumer() { - return exclusiveConsumer; - } - - public void setExclusiveConsumer(Boolean exclusiveConsumer) { - this.exclusiveConsumer = exclusiveConsumer; - } - - public Integer getPrefetchCount() { - return prefetchCount; - } - - public void setPrefetchCount(Integer prefetchCount) { - this.prefetchCount = prefetchCount; - } - - public Boolean getPrefetchEnabled() { - return prefetchEnabled; - } - - public void setPrefetchEnabled(Boolean prefetchEnabled) { - this.prefetchEnabled = prefetchEnabled; - } - - public Boolean getPrefetchGlobal() { - return prefetchGlobal; - } - - public void setPrefetchGlobal(Boolean prefetchGlobal) { - this.prefetchGlobal = prefetchGlobal; - } - - public Integer getPrefetchSize() { - return prefetchSize; - } - - public void setPrefetchSize(Integer prefetchSize) { - this.prefetchSize = prefetchSize; - } - - public Boolean getRecoverFromDeclareException() { - return recoverFromDeclareException; - } - - public void setRecoverFromDeclareException( - Boolean recoverFromDeclareException) { - this.recoverFromDeclareException = recoverFromDeclareException; - } - - public Integer getThreadPoolSize() { - return threadPoolSize; - } - - public void setThreadPoolSize(Integer threadPoolSize) { - this.threadPoolSize = threadPoolSize; - } - - public Map<String, Object> getAdditionalHeaders() { - return additionalHeaders; - } - - public void setAdditionalHeaders(Map<String, Object> additionalHeaders) { - this.additionalHeaders = additionalHeaders; - } - - public Map<String, Object> getAdditionalProperties() { - return additionalProperties; - } - - public void setAdditionalProperties(Map<String, Object> additionalProperties) { - this.additionalProperties = additionalProperties; - } - - public Boolean getAllowNullHeaders() { - return allowNullHeaders; - } - - public void setAllowNullHeaders(Boolean allowNullHeaders) { - this.allowNullHeaders = allowNullHeaders; - } - - public Integer getChannelPoolMaxSize() { - return channelPoolMaxSize; - } - - public void setChannelPoolMaxSize(Integer channelPoolMaxSize) { - this.channelPoolMaxSize = channelPoolMaxSize; - } - - public Long getChannelPoolMaxWait() { - return channelPoolMaxWait; - } - - public void setChannelPoolMaxWait(Long channelPoolMaxWait) { - this.channelPoolMaxWait = channelPoolMaxWait; - } - - public Boolean getGuaranteedDeliveries() { - return guaranteedDeliveries; - } - - public void setGuaranteedDeliveries(Boolean guaranteedDeliveries) { - this.guaranteedDeliveries = guaranteedDeliveries; - } - - public Boolean getImmediate() { - return immediate; - } - - public void setImmediate(Boolean immediate) { - this.immediate = immediate; - } - - public Boolean getLazyStartProducer() { - return lazyStartProducer; - } - - public void setLazyStartProducer(Boolean lazyStartProducer) { - this.lazyStartProducer = lazyStartProducer; - } - - public Boolean getMandatory() { - return mandatory; - } - - public void setMandatory(Boolean mandatory) { - this.mandatory = mandatory; - } - - public Boolean getPublisherAcknowledgements() { - return publisherAcknowledgements; - } - - public void setPublisherAcknowledgements(Boolean publisherAcknowledgements) { - this.publisherAcknowledgements = publisherAcknowledgements; - } - - public Long getPublisherAcknowledgementsTimeout() { - return publisherAcknowledgementsTimeout; - } - - public void setPublisherAcknowledgementsTimeout( - Long publisherAcknowledgementsTimeout) { - this.publisherAcknowledgementsTimeout = publisherAcknowledgementsTimeout; - } - - public Map<String, Object> getArgs() { - return args; - } - - public void setArgs(Map<String, Object> args) { - this.args = args; - } - - public Boolean getAutoDetectConnectionFactory() { - return autoDetectConnectionFactory; - } - - public void setAutoDetectConnectionFactory( - Boolean autoDetectConnectionFactory) { - this.autoDetectConnectionFactory = autoDetectConnectionFactory; - } - - public Boolean getAutomaticRecoveryEnabled() { - return automaticRecoveryEnabled; - } - - public void setAutomaticRecoveryEnabled(Boolean automaticRecoveryEnabled) { - this.automaticRecoveryEnabled = automaticRecoveryEnabled; - } - - public Boolean getAutowiredEnabled() { - return autowiredEnabled; - } - - public void setAutowiredEnabled(Boolean autowiredEnabled) { - this.autowiredEnabled = autowiredEnabled; - } - - public Map<String, Object> getClientProperties() { - return clientProperties; - } - - public void setClientProperties(Map<String, Object> clientProperties) { - this.clientProperties = clientProperties; - } - - public ExceptionHandler getConnectionFactoryExceptionHandler() { - return connectionFactoryExceptionHandler; - } - - public void setConnectionFactoryExceptionHandler( - ExceptionHandler connectionFactoryExceptionHandler) { - this.connectionFactoryExceptionHandler = connectionFactoryExceptionHandler; - } - - public Integer getConnectionTimeout() { - return connectionTimeout; - } - - public void setConnectionTimeout(Integer connectionTimeout) { - this.connectionTimeout = connectionTimeout; - } - - public Integer getNetworkRecoveryInterval() { - return networkRecoveryInterval; - } - - public void setNetworkRecoveryInterval(Integer networkRecoveryInterval) { - this.networkRecoveryInterval = networkRecoveryInterval; - } - - public Integer getRequestedChannelMax() { - return requestedChannelMax; - } - - public void setRequestedChannelMax(Integer requestedChannelMax) { - this.requestedChannelMax = requestedChannelMax; - } - - public Integer getRequestedFrameMax() { - return requestedFrameMax; - } - - public void setRequestedFrameMax(Integer requestedFrameMax) { - this.requestedFrameMax = requestedFrameMax; - } - - public Integer getRequestedHeartbeat() { - return requestedHeartbeat; - } - - public void setRequestedHeartbeat(Integer requestedHeartbeat) { - this.requestedHeartbeat = requestedHeartbeat; - } - - public Long getRequestTimeout() { - return requestTimeout; - } - - public void setRequestTimeout(Long requestTimeout) { - this.requestTimeout = requestTimeout; - } - - public Long getRequestTimeoutCheckerInterval() { - return requestTimeoutCheckerInterval; - } - - public void setRequestTimeoutCheckerInterval( - Long requestTimeoutCheckerInterval) { - this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval; - } - - public Boolean getTopologyRecoveryEnabled() { - return topologyRecoveryEnabled; - } - - public void setTopologyRecoveryEnabled(Boolean topologyRecoveryEnabled) { - this.topologyRecoveryEnabled = topologyRecoveryEnabled; - } - - public Boolean getTransferException() { - return transferException; - } - - public void setTransferException(Boolean transferException) { - this.transferException = transferException; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getSslProtocol() { - return sslProtocol; - } - - public void setSslProtocol(String sslProtocol) { - this.sslProtocol = sslProtocol; - } - - public TrustManager getTrustManager() { - return trustManager; - } - - public void setTrustManager(TrustManager trustManager) { - this.trustManager = trustManager; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } -} \ No newline at end of file diff --git a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConverter.java b/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConverter.java deleted file mode 100644 index c2371e84d26..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConverter.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.rabbitmq.springboot; - -import java.util.LinkedHashSet; -import java.util.Set; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.context.properties.ConfigurationPropertiesBinding; -import org.springframework.context.ApplicationContext; -import org.springframework.context.annotation.Configuration; -import org.springframework.core.convert.TypeDescriptor; -import org.springframework.core.convert.converter.GenericConverter; -import org.springframework.stereotype.Component; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration(proxyBeanMethods = false) -@ConfigurationPropertiesBinding -@Component -public class RabbitMQComponentConverter implements GenericConverter { - - @Autowired - private ApplicationContext applicationContext; - - public Set<ConvertiblePair> getConvertibleTypes() { - Set<ConvertiblePair> answer = new LinkedHashSet<>(); - answer.add(new ConvertiblePair(String.class, com.rabbitmq.client.ConnectionFactory.class)); - answer.add(new ConvertiblePair(String.class, com.rabbitmq.client.ExceptionHandler.class)); - answer.add(new ConvertiblePair(String.class, javax.net.ssl.TrustManager.class)); - return answer; - } - - public Object convert( - Object source, - TypeDescriptor sourceType, - TypeDescriptor targetType) { - if (source == null) { - return null; - } - String ref = source.toString(); - if (!ref.startsWith("#")) { - return null; - } - ref = ref.startsWith("#bean:") ? ref.substring(6) : ref.substring(1); - switch (targetType.getName()) { - case "com.rabbitmq.client.ConnectionFactory": return applicationContext.getBean(ref, com.rabbitmq.client.ConnectionFactory.class); - case "com.rabbitmq.client.ExceptionHandler": return applicationContext.getBean(ref, com.rabbitmq.client.ExceptionHandler.class); - case "javax.net.ssl.TrustManager": return applicationContext.getBean(ref, javax.net.ssl.TrustManager.class); - } - return null; - } -} \ No newline at end of file diff --git a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/LICENSE.txt b/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/LICENSE.txt deleted file mode 100644 index 6b0b1270ff0..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/LICENSE.txt +++ /dev/null @@ -1,203 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - diff --git a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/NOTICE.txt b/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/NOTICE.txt deleted file mode 100644 index 2e215bf2e6b..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/NOTICE.txt +++ /dev/null @@ -1,11 +0,0 @@ - ========================================================================= - == NOTICE file corresponding to the section 4 d of == - == the Apache License, Version 2.0, == - == in this case for the Apache Camel distribution. == - ========================================================================= - - This product includes software developed by - The Apache Software Foundation (http://www.apache.org/). - - Please read the different LICENSE files present in the licenses directory of - this distribution. diff --git a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring.provides b/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring.provides deleted file mode 100644 index 02dc743856f..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring.provides +++ /dev/null @@ -1,17 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- -provides: camel-rabbitmq diff --git a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports deleted file mode 100644 index f1fca8e42d3..00000000000 --- a/components-starter/camel-rabbitmq-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ /dev/null @@ -1,19 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- - -org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentConverter -org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentAutoConfiguration diff --git a/components-starter/pom.xml b/components-starter/pom.xml index b8351f9746e..c2e016d3ef3 100644 --- a/components-starter/pom.xml +++ b/components-starter/pom.xml @@ -342,7 +342,6 @@ <module>camel-python-starter</module> <module>camel-quartz-starter</module> <module>camel-quickfix-starter</module> - <module>camel-rabbitmq-starter</module> <module>camel-reactive-streams-starter</module> <module>camel-reactor-starter</module> <module>camel-ref-starter</module> diff --git a/tooling/camel-spring-boot-bom/pom.xml b/tooling/camel-spring-boot-bom/pom.xml index 5ffb1a31ca2..e2159f0060b 100644 --- a/tooling/camel-spring-boot-bom/pom.xml +++ b/tooling/camel-spring-boot-bom/pom.xml @@ -1238,11 +1238,6 @@ <artifactId>camel-quickfix-starter</artifactId> <version>${project.version}</version> </dependency> - <dependency> - <groupId>org.apache.camel.springboot</groupId> - <artifactId>camel-rabbitmq-starter</artifactId> - <version>${project.version}</version> - </dependency> <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-reactive-streams-starter</artifactId> diff --git a/tooling/camel-spring-boot-dependencies/pom.xml b/tooling/camel-spring-boot-dependencies/pom.xml index 77434deb0e2..b93b4541ef4 100644 --- a/tooling/camel-spring-boot-dependencies/pom.xml +++ b/tooling/camel-spring-boot-dependencies/pom.xml @@ -1472,11 +1472,6 @@ <artifactId>camel-quickfix-starter</artifactId> <version>${project.version}</version> </dependency> - <dependency> - <groupId>org.apache.camel.springboot</groupId> - <artifactId>camel-rabbitmq-starter</artifactId> - <version>${project.version}</version> - </dependency> <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-reactive-streams-starter</artifactId>