[ 
https://issues.apache.org/jira/browse/CAMEL-11959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240138#comment-16240138
 ] 

ASF GitHub Bot commented on CAMEL-11959:
----------------------------------------

davsclaus closed pull request #2070: CAMEL-11959: Add new camel-yql component
URL: https://github.com/apache/camel/pull/2070
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index faf8991f418..99439e3b77e 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -1143,6 +1143,10 @@
     </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
+      <artifactId>camel-yql</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
       <artifactId>camel-zendesk</artifactId>
     </dependency>
     <dependency>
diff --git a/apache-camel/src/main/descriptors/common-bin.xml 
b/apache-camel/src/main/descriptors/common-bin.xml
index 51c46bf706c..d795394dd27 100644
--- a/apache-camel/src/main/descriptors/common-bin.xml
+++ b/apache-camel/src/main/descriptors/common-bin.xml
@@ -293,6 +293,7 @@
         <include>org.apache.camel:camel-xmpp</include>
         <include>org.apache.camel:camel-xstream</include>
         <include>org.apache.camel:camel-yammer</include>
+        <include>org.apache.camel:camel-yql</include>
         <include>org.apache.camel:camel-zendesk</include>
         <include>org.apache.camel:camel-zipfile</include>
         <include>org.apache.camel:camel-zipkin</include>
diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index 97e51ed18c5..bbf6f0bc7a1 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -2720,6 +2720,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-yql</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-zendesk</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/components/camel-yql/pom.xml b/components/camel-yql/pom.xml
new file mode 100644
index 00000000000..e8ec4d9b062
--- /dev/null
+++ b/components/camel-yql/pom.xml
@@ -0,0 +1,116 @@
+<?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</groupId>
+    <artifactId>components</artifactId>
+    <version>2.21.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>camel-yql</artifactId>
+  <packaging>jar</packaging>
+
+  <name>Camel :: Yql</name>
+  <description>Camel Yahoo Query Language Component</description>
+
+  <properties>
+    
<camel.osgi.export.pkg>org.apache.camel.component.yql.*</camel.osgi.export.pkg>
+    
<camel.osgi.export.service>org.apache.camel.spi.ComponentResolver;component=yql</camel.osgi.export.service>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+      <version>${commons-lang3-version}</version>
+    </dependency>
+
+    <!-- testing -->
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-test</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hamcrest</groupId>
+      <artifactId>java-hamcrest</artifactId>
+      <version>${hamcrest-version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- logging -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-api</artifactId>
+      <version>${log4j2-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-core</artifactId>
+      <version>${log4j2-version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-slf4j-impl</artifactId>
+      <version>${log4j2-version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <profiles>
+    <profile>
+      <id>integration</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+              <childDelegation>false</childDelegation>
+              <useFile>true</useFile>
+              <failIfNoTests>false</failIfNoTests>
+              <runOrder>alphabetical</runOrder>
+              <includes>
+                <include>**/*IntegrationTest.java</include>
+              </includes>
+              <excludes>
+                <exclude>**/*XXXTest.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file
diff --git a/components/camel-yql/src/main/docs/yql-component.adoc 
b/components/camel-yql/src/main/docs/yql-component.adoc
new file mode 100644
index 00000000000..8319a89abdc
--- /dev/null
+++ b/components/camel-yql/src/main/docs/yql-component.adoc
@@ -0,0 +1,238 @@
+== Yahoo Query Language Component
+
+*Available as of Camel version 2.21*
+
+The *yql* component is used for accessing the 
https://developer.yahoo.com/yql/[Yahoo Query Language platform].
+
+Maven users will need to add the following dependency to their `pom.xml`
+for this component:
+
+[source,xml]
+------------------------------------------------------------
+<dependency>
+    <groupId>org.apache.camel</groupId>
+    <artifactId>camel-yql</artifactId>
+    <version>x.x.x</version>
+    <!-- use the same version as your Camel core version -->
+</dependency>
+------------------------------------------------------------
+
+### URI format
+
+[source,java]
+--------------------------------------------
+yql://query[?options]
+--------------------------------------------
+
+Where *query* represents the YQL query.
+
+### Options
+
+// component options: START
+The Yahoo Query Language component supports 2 options which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *connectionManager* (producer) | Set the connection manager. |  | 
HttpClientConnection Manager
+| *resolveProperty Placeholders* (advanced) | Whether the component should 
resolve property placeholders on itself when starting. Only properties which 
are of String type can use property placeholders. | true | boolean
+|===
+// component options: END
+
+// endpoint options: START
+The Yahoo Query Language endpoint is configured using URI syntax:
+
+----
+yql:query
+----
+
+with the following path and query parameters:
+
+==== Path Parameters (1 parameters):
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *query* | *Required* The YQL statement to execute. |  | String
+|===
+
+==== Query Parameters (10 parameters):
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *callback* (producer) | The name of the JavaScript callback function for 
JSONP format. If callback is set and if format=json then the response format is 
JSON. For more information on using XML instead of JSON see JSONP-X. 
https://developer.yahoo.com/yql/guide/response.html |  | String
+| *crossProduct* (producer) | When given the value optimized the projected 
fields in SELECT statements that may be returned in separate item elements in 
the response are optimized to be in a single item element instead. The only 
allowed value is optimized. More information 
https://developer.yahoo.com/yql/guide/response.htmlresponse-optimizing= |  | 
String
+| *debug* (producer) | If true and if diagnostic is set to true debug data is 
returned with the response. More information: 
https://developer.yahoo.com/yql/guide/dev-external_tables.htmlodt-enable-logging=
 | false | boolean
+| *diagnostics* (producer) | If true diagnostic information is returned with 
the response. | false | boolean
+| *env* (producer) | Allows you to use multiple Open Data Tables through a YQL 
environment file. More information 
https://developer.yahoo.com/yql/guide/yql_storage.htmlusing-records-env-files= 
|  | String
+| *format* (producer) | The expected format. Allowed values: xml or json. | 
json | String
+| *https* (producer) | Option to use HTTPS to communicate with YQL. | true | 
boolean
+| *jsonCompat* (producer) | Enables lossless JSON processing. The only allowed 
value is new. More information 
https://developer.yahoo.com/yql/guide/response.htmljson-to-json= |  | String
+| *throwExceptionOnFailure* (producer) | Option to disable throwing the 
YqlHttpException in case of failed responses from the remote server. This 
allows you to get all responses regardless of the HTTP status code. | true | 
boolean
+| *synchronous* (advanced) | Sets whether synchronous processing should be 
strictly used or Camel is allowed to use asynchronous processing (if 
supported). | false | boolean
+|===
+// endpoint options: END
+
+### Exchange data format
+
+Camel will deliver the body as a JSON or XML formatted java.lang.String (see
+the `format` option above).
+
+### Message Headers
+
+[width="100%",cols="10%,90%",options="header",]
+|=======================================================================
+|Header |Description
+|`CamelYqlHttpRequest` | Original HTTP request sent to YQL.
+|`CamelYqlHttpStatus` | Status code from the response.
+|=======================================================================
+
+### Samples
+
+# Sample 1
+
+In this example we query YQL to obtain the current wind and atmosphere data in 
Chicago:
+
+[source,java]
+--------------------------------------------------------
+from("direct:start")
+  .to("yql://select wind, atmosphere from weather.forecast where woeid in 
(select woeid from geo.places(1) where text='chicago, il'");
+--------------------------------------------------------
+
+Which will setup the body as:
+
+[source,json]
+--------------------------------------------------------
+{
+   "query":{
+      "count":1,
+      "created":"2017-11-01T19:37:26Z",
+      "lang":"en-US",
+      "results":{
+         "channel":{
+            "wind":{
+               "chill":"32",
+               "direction":"165",
+               "speed":"22"
+            },
+            "atmosphere":{
+               "humidity":"71",
+               "pressure":"994.0",
+               "rising":"0",
+               "visibility":"16.1"
+            }
+         }
+      }
+   }
+}
+--------------------------------------------------------
+
+and the headers:
+
+[width="100%",cols="30%,70%",options="header",]
+|=======================================================================
+|Header |Value
+|`CamelYqlHttpRequest` 
|https://query.yahooapis.com/v1/public/yql?q=select+wind%2C+atmosphere+from+weather.forecast+where+woeid+in+%28select+woeid+from+geo.places%281%29+where+text%3D%22chicago%2C+il%22%29&format=json&callback=&diagnostics=false&debug=false
+|`CamelYqlHttpStatus` |200
+|=======================================================================
+
+# Sample 2
+
+In this example we query YQL to obtain the Google quote.
+
+[source,java]
+--------------------------------------------------------
+from("direct:start")
+  .to("yql://select symbol, Ask, Bid, AverageDailyVolume from 
yahoo.finance.quotes where symbol in 
('GOOG')?env=store://datatables.org/alltableswithkeys&https=false&callback=yqlCallback");
+--------------------------------------------------------
+
+Which will setup the body as:
+
+[source,json]
+--------------------------------------------------------
+/**/yqlCallback({
+   "query":{
+      "count":1,
+      "created":"2017-11-01T19:48:17Z",
+      "lang":"en-US",
+      "results":{
+         "quote":{
+            "symbol":"GOOG",
+            "Bid":"1025.57",
+            "Ask":"1025.92",
+            "AverageDailyVolume":"1350640"AverageDailyVolume
+         }
+      }
+   }
+});
+--------------------------------------------------------
+
+and the headers:
+
+[width="100%",cols="30%,70%",options="header",]
+|=======================================================================
+|Header |Value
+|`CamelYqlHttpRequest` 
|http://query.yahooapis.com/v1/public/yql?q=select+symbol%2C+Ask%2C+Bid%2C+AverageDailyVolume+from+yahoo.finance.quotes+where+symbol+in+%28%27GOOG%27%29&format=json&callback=yqlCallback&diagnostics=false&debug=false&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
+|`CamelYqlHttpStatus` |200
+|=======================================================================
+
+# Sample 3
+
+In this example we query YQL to obtain one book written by Barack Obama
+
+[source,java]
+--------------------------------------------------------
+from("direct:start")
+  .to("yql://select * from google.books where q='barack obama' and 
maxResults=1?format=xml&crossProduct=optimized&env=store://datatables.org/alltableswithkeys");
+--------------------------------------------------------
+
+Which will setup the body as:
+
+[source,xml]
+--------------------------------------------------------
+<?xml version="1.0" encoding="UTF-8"?>
+<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"; yahoo:count="1" 
yahoo:created="2017-11-01T20:32:22Z" yahoo:lang="en-US">
+   <results>
+      <json>
+         <kind>books#volumes</kind>
+         <totalItems>1993</totalItems>
+         <items>
+            <kind>books#volume</kind>
+            <id>HRCHJp-V0QUC</id>
+            <etag>SeTJeSgFDzo</etag>
+            
<selfLink>https://www.googleapis.com/books/v1/volumes/HRCHJp-V0QUC</selfLink>
+            <volumeInfo>
+               <title>Dreams from My Father</title>
+               <subtitle>A Story of Race and Inheritance</subtitle>
+               <authors>Barack Obama</authors>
+               <publisher>Broadway Books</publisher>
+               <publishedDate>2007-01-09</publishedDate>
+               ...
+            </volumeInfo>
+         </items>
+      </json>
+   </results>
+</query>
+<!-- total: 646 -->
+--------------------------------------------------------
+
+and the headers:
+
+[width="100%",cols="30%,70%",options="header",]
+|=======================================================================
+|Header |Value
+|`CamelYqlHttpRequest` 
|https://query.yahooapis.com/v1/public/yql?q=select+*+from+google.books+where+q%3D%27barack+obama%27+and+maxResults%3D1&format=xml&callback=&crossProduct=optimized&diagnostics=false&debug=false&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
+|`CamelYqlHttpStatus` |200
+|=======================================================================
+
+### See Also
+
+* link:configuring-camel.html[Configuring Camel]
+* link:component.html[Component]
+* link:endpoint.html[Endpoint]
+* link:getting-started.html[Getting Started]
+
+* https://developer.yahoo.com/yql/guide/[YQL Official Guide]
\ No newline at end of file
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlComponent.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlComponent.java
new file mode 100644
index 00000000000..affc329a26f
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlComponent.java
@@ -0,0 +1,67 @@
+/**
+ * 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.yql;
+
+import java.util.Map;
+import org.apache.camel.Endpoint;
+import org.apache.camel.component.yql.configuration.YqlConfiguration;
+import org.apache.camel.component.yql.configuration.YqlConfigurationValidator;
+import org.apache.camel.impl.DefaultComponent;
+import org.apache.http.conn.HttpClientConnectionManager;
+import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
+
+public class YqlComponent extends DefaultComponent {
+
+    private HttpClientConnectionManager localConnectionManager;
+
+    @Override
+    protected Endpoint createEndpoint(final String uri, final String 
remaining, final Map<String, Object> parameters) throws Exception {
+        final YqlConfiguration configuration = new YqlConfiguration();
+        configuration.setQuery(remaining);
+        setProperties(configuration, parameters);
+        YqlConfigurationValidator.validateProperties(configuration);
+
+        final HttpClientConnectionManager connectionManager = 
createConnectionManager();
+
+        return new YqlEndpoint(uri, this, configuration, connectionManager);
+    }
+
+    @Override
+    protected void doStop() throws Exception {
+      if (localConnectionManager != null) {
+        localConnectionManager.shutdown();
+      }
+    }
+
+    /**
+     * Set the connection manager.
+     */
+    public void setConnectionManager(final HttpClientConnectionManager 
connectionManager){
+      this.localConnectionManager = connectionManager;
+    }
+
+    private HttpClientConnectionManager createConnectionManager(){
+      if (localConnectionManager != null) {
+        return localConnectionManager;
+      }
+      final PoolingHttpClientConnectionManager connectionManager = new 
PoolingHttpClientConnectionManager();
+      connectionManager.setMaxTotal(200);
+      connectionManager.setDefaultMaxPerRoute(20);
+      setConnectionManager(connectionManager);
+      return connectionManager;
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlEndpoint.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlEndpoint.java
new file mode 100644
index 00000000000..8c9bb0515df
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlEndpoint.java
@@ -0,0 +1,79 @@
+/**
+ * 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.yql;
+
+import org.apache.camel.Consumer;
+import org.apache.camel.Processor;
+import org.apache.camel.Producer;
+import org.apache.camel.component.yql.configuration.YqlConfiguration;
+import org.apache.camel.impl.DefaultEndpoint;
+import org.apache.camel.spi.UriEndpoint;
+import org.apache.camel.spi.UriParam;
+import org.apache.http.conn.HttpClientConnectionManager;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.impl.client.HttpClients;
+import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;
+
+@UriEndpoint(firstVersion = "2.21.0", scheme = "yql", title = "Yahoo Query 
Language", syntax = "yql:query", producerOnly = true, label = "yql")
+public class YqlEndpoint extends DefaultEndpoint {
+
+    @UriParam
+    private final YqlConfiguration configuration;
+    private final HttpClientConnectionManager connectionManager;
+    private CloseableHttpClient httpClient;
+
+    YqlEndpoint(final String uri, final YqlComponent component, final 
YqlConfiguration configuration, final HttpClientConnectionManager 
connectionManager) {
+        super(uri, component);
+        this.configuration = configuration;
+        this.connectionManager = connectionManager;
+    }
+
+    @Override
+    public Producer createProducer() throws Exception {
+        return new YqlProducer(this);
+    }
+
+    @Override
+    public Consumer createConsumer(final Processor processor) throws Exception 
{
+        throw new UnsupportedOperationException("Consumer does not supported 
for YQL component: " + getEndpointUri());
+    }
+
+    @Override
+    public boolean isSingleton() {
+        return true;
+    }
+
+    @Override
+    protected void doStop() throws Exception {
+        if (httpClient != null) {
+            httpClient.close();
+        }
+    }
+
+    synchronized CloseableHttpClient getHttpClient() {
+        if (httpClient == null) {
+            httpClient = HttpClients.custom()
+                .setConnectionManager(connectionManager)
+                .build();
+        }
+        return httpClient;
+    }
+
+    YqlConfiguration getConfiguration() {
+        return configuration;
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlProducer.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlProducer.java
new file mode 100644
index 00000000000..62fe95e51aa
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/YqlProducer.java
@@ -0,0 +1,57 @@
+/**
+ * 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.yql;
+
+import org.apache.camel.Exchange;
+import org.apache.camel.component.yql.client.YqlClient;
+import org.apache.camel.component.yql.client.YqlResponse;
+import org.apache.camel.component.yql.configuration.YqlConfiguration;
+import org.apache.camel.component.yql.exception.YqlHttpException;
+import org.apache.camel.impl.DefaultProducer;
+import org.apache.http.HttpStatus;
+
+/**
+ * A Producer that send messages to YQL
+ */
+public class YqlProducer extends DefaultProducer {
+
+    static final String CAMEL_YQL_HTTP_STATUS = "CamelYqlHttpStatus";
+    static final String CAMEL_YQL_HTTP_REQUEST = "CamelYqlHttpRequest";
+
+    private final YqlEndpoint endpoint;
+    private final YqlClient yqlClient;
+
+    YqlProducer(final YqlEndpoint endpoint) {
+        super(endpoint);
+        this.endpoint = endpoint;
+        this.yqlClient = new YqlClient(endpoint.getHttpClient());
+    }
+
+    @Override
+    public void process(final Exchange exchange) throws Exception {
+        final YqlConfiguration configuration = endpoint.getConfiguration();
+        final YqlResponse yqlResponse = yqlClient.get(configuration);
+
+        if (configuration.isThrowExceptionOnFailure() && 
yqlResponse.getStatus() != HttpStatus.SC_OK) {
+            throw YqlHttpException.failedWith(yqlResponse.getStatus(), 
yqlResponse.getBody(), yqlResponse.getHttpRequest());
+        }
+
+        exchange.getIn().setHeader(CAMEL_YQL_HTTP_STATUS, 
yqlResponse.getStatus());
+        exchange.getIn().setHeader(CAMEL_YQL_HTTP_REQUEST, 
yqlResponse.getHttpRequest());
+        exchange.getIn().setBody(yqlResponse.getBody());
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlClient.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlClient.java
new file mode 100644
index 00000000000..fa1086934fe
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlClient.java
@@ -0,0 +1,84 @@
+/**
+ * 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.yql.client;
+
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.List;
+import org.apache.camel.component.yql.configuration.YqlConfiguration;
+import org.apache.http.NameValuePair;
+import org.apache.http.client.methods.CloseableHttpResponse;
+import org.apache.http.client.methods.HttpGet;
+import org.apache.http.client.utils.URIBuilder;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.util.EntityUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class YqlClient {
+
+    private static final Logger LOG = LoggerFactory.getLogger(YqlClient.class);
+
+    private final CloseableHttpClient httpClient;
+
+    public YqlClient(final CloseableHttpClient httpClient) {
+        this.httpClient = httpClient;
+    }
+
+    public YqlResponse get(final YqlConfiguration yqlConfiguration) throws 
Exception {
+
+        final URI uri = new URIBuilder()
+                .setScheme(yqlConfiguration.isHttps() ? "https" : "http")
+                .setHost("query.yahooapis.com")
+                .setPath("/v1/public/yql")
+                .setParameters(buildParameters(yqlConfiguration))
+                .build();
+
+        LOG.debug("YQL query: {}", uri);
+
+        final HttpGet httpget = new HttpGet(uri);
+        try (final CloseableHttpResponse response = 
httpClient.execute(httpget)) {
+            final YqlResponse yqlResponse = YqlResponse.builder()
+                    .httpRequest(uri.toString())
+                    .status(response.getStatusLine().getStatusCode())
+                    .body(EntityUtils.toString(response.getEntity()))
+                    .build();
+            LOG.debug("YQL response: {}", yqlResponse.getBody());
+            return yqlResponse;
+        }
+    }
+
+    private List<NameValuePair> buildParameters(final YqlConfiguration 
yqlConfiguration) {
+        final List<NameValuePair> nameValuePairs = new ArrayList<>();
+        nameValuePairs.add(new BasicNameValuePair("q", 
yqlConfiguration.getQuery()));
+        nameValuePairs.add(new BasicNameValuePair("format", 
yqlConfiguration.getFormat()));
+        nameValuePairs.add(new BasicNameValuePair("callback", 
yqlConfiguration.getCallback()));
+        if (yqlConfiguration.getCrossProduct() != null) {
+            nameValuePairs.add(new BasicNameValuePair("crossProduct", 
yqlConfiguration.getCrossProduct()));
+        }
+        nameValuePairs.add(new BasicNameValuePair("diagnostics", 
Boolean.toString(yqlConfiguration.isDiagnostics())));
+        nameValuePairs.add(new BasicNameValuePair("debug", 
Boolean.toString(yqlConfiguration.isDebug())));
+        if (yqlConfiguration.getEnv() != null) {
+            nameValuePairs.add(new BasicNameValuePair("env", 
yqlConfiguration.getEnv()));
+        }
+        if (yqlConfiguration.getJsonCompat() != null) {
+            nameValuePairs.add(new BasicNameValuePair("jsonCompat", 
yqlConfiguration.getJsonCompat()));
+        }
+        return nameValuePairs;
+    }
+}
\ No newline at end of file
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlResponse.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlResponse.java
new file mode 100644
index 00000000000..104ef53369a
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/client/YqlResponse.java
@@ -0,0 +1,74 @@
+/**
+ * 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.yql.client;
+
+public final class YqlResponse {
+
+    private final int status;
+    private final String body;
+    private final String httpRequest;
+
+    private YqlResponse(final Builder builder) {
+        this.status = builder.status;
+        this.body = builder.body;
+        this.httpRequest = builder.httpRequest;
+    }
+
+    public int getStatus() {
+        return status;
+    }
+
+    public String getBody() {
+        return body;
+    }
+
+    public String getHttpRequest() {
+        return httpRequest;
+    }
+
+    static YqlResponse.Builder builder() {
+        return new YqlResponse.Builder();
+    }
+
+    static class Builder {
+        private int status;
+        private String body;
+        private String httpRequest;
+
+        Builder() {
+        }
+
+        Builder status(final int status) {
+            this.status = status;
+            return this;
+        }
+
+        Builder body(final String body) {
+            this.body = body;
+            return this;
+        }
+
+        Builder httpRequest(final String httpRequest) {
+            this.httpRequest = httpRequest;
+            return this;
+        }
+
+        YqlResponse build() {
+            return new YqlResponse(this);
+        }
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfiguration.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfiguration.java
new file mode 100644
index 00000000000..b26e347add7
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfiguration.java
@@ -0,0 +1,179 @@
+/**
+ * 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.yql.configuration;
+
+import org.apache.camel.spi.Metadata;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+import org.apache.camel.spi.UriPath;
+
+/**
+ * YQL configuration that should reflect 
https://developer.yahoo.com/yql/guide/users-overview.html
+ */
+@UriParams
+public class YqlConfiguration {
+
+    @UriPath(label = "producer", description = "The YQL statement to execute.")
+    @Metadata(required = "true")
+    private String query;
+
+    @UriParam(label = "producer", enums = "json,xml", defaultValue = "json", 
description = "The expected format. Allowed values: xml or json.")
+    private String format = "json";
+
+    @UriParam(label = "producer", description = "The name of the JavaScript 
callback function for JSONP format. If callback is set and if format=json, then 
the response format is JSON. For more "
+            + "information on using XML instead of JSON, see JSONP-X.")
+    private String callback = "";
+
+    @UriParam(label = "producer", description = "When given the value 
optimized, the projected fields in SELECT statements that may be returned in 
separate item elements in the response are "
+            + "optimized to be in a single item element instead. The only 
allowed value is optimized.")
+    private String crossProduct;
+
+    @UriParam(label = "producer", defaultValue = "false", description = "If 
true, diagnostic information is returned with the response.")
+    private boolean diagnostics = false;
+
+    @UriParam(label = "producer", defaultValue = "false", description = "If 
true, and if diagnostic is set to true, debug data is returned with the 
response.")
+    private boolean debug = false;
+
+    @UriParam(label = "producer", description = "Allows you to use multiple 
Open Data Tables through a YQL environment file.")
+    private String env;
+
+    @UriParam(label = "producer", description = "Enables lossless JSON 
processing. The only allowed value is new.")
+    private String jsonCompat;
+
+    @UriParam(label = "producer", defaultValue = "true", description = "Option 
to disable throwing the YqlHttpException in case of failed responses from the 
remote server. "
+            + "This allows you to get all responses regardless of the HTTP 
status code.")
+    private boolean throwExceptionOnFailure = true;
+
+    @UriParam(label = "producer", defaultValue = "true", description = "Option 
to use HTTPS to communicate with YQL.")
+    private boolean https = true;
+
+    public String getQuery() {
+        return query;
+    }
+
+    /**
+     * The YQL statement to execute.
+     */
+    public void setQuery(final String query) {
+        this.query = query;
+    }
+
+    public String getFormat() {
+        return format;
+    }
+
+    /**
+     * The expected format. Allowed values: xml or json.
+     */
+    public void setFormat(final String format) {
+        this.format = format;
+    }
+
+    public String getCallback() {
+        return callback;
+    }
+
+    /**
+     * The name of the JavaScript callback function for JSONP format. If 
callback is set and if format=json, then the response format is JSON. For more
+     * information on using XML instead of JSON, see JSONP-X. 
https://developer.yahoo.com/yql/guide/response.html
+     */
+    public void setCallback(final String callback) {
+        this.callback = callback;
+    }
+
+    public String getCrossProduct() {
+        return crossProduct;
+    }
+
+    /**
+     * When given the value optimized, the projected fields in SELECT 
statements that may be returned in separate item elements in the response are 
optimized to be in a single item element instead.
+     * The only allowed value is optimized. More information 
https://developer.yahoo.com/yql/guide/response.html#response-optimizing=
+     */
+    public void setCrossProduct(final String crossProduct) {
+        this.crossProduct = crossProduct;
+    }
+
+    public boolean isDiagnostics() {
+        return diagnostics;
+    }
+
+    /**
+     * If true, diagnostic information is returned with the response.
+     */
+    public void setDiagnostics(final boolean diagnostics) {
+        this.diagnostics = diagnostics;
+    }
+
+    public boolean isDebug() {
+        return debug;
+    }
+
+    /**
+     * If true, and if diagnostic is set to true, debug data is returned with 
the response.
+     * More information: 
https://developer.yahoo.com/yql/guide/dev-external_tables.html#odt-enable-logging=
+     */
+    public void setDebug(final boolean debug) {
+        this.debug = debug;
+    }
+
+    public String getEnv() {
+        return env;
+    }
+
+    /**
+     * Allows you to use multiple Open Data Tables through a YQL environment 
file.
+     * More information 
https://developer.yahoo.com/yql/guide/yql_storage.html#using-records-env-files=
+     */
+    public void setEnv(final String env) {
+        this.env = env;
+    }
+
+    public String getJsonCompat() {
+        return jsonCompat;
+    }
+
+    /**
+     * Enables lossless JSON processing. The only allowed value is new.
+     * More information 
https://developer.yahoo.com/yql/guide/response.html#json-to-json=
+     */
+    public void setJsonCompat(final String jsonCompat) {
+        this.jsonCompat = jsonCompat;
+    }
+
+    public boolean isThrowExceptionOnFailure() {
+        return throwExceptionOnFailure;
+    }
+
+    /**
+     * Option to disable throwing the YqlHttpException in case of failed 
responses from the remote server.
+     * This allows you to get all responses regardless of the HTTP status code.
+     */
+    public void setThrowExceptionOnFailure(final boolean 
throwExceptionOnFailure) {
+        this.throwExceptionOnFailure = throwExceptionOnFailure;
+    }
+
+    public boolean isHttps() {
+        return https;
+    }
+
+    /**
+     * Option to use HTTPS to communicate with YQL.
+     */
+    public void setHttps(final boolean https) {
+        this.https = https;
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidator.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidator.java
new file mode 100644
index 00000000000..124d8f7842f
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidator.java
@@ -0,0 +1,44 @@
+/**
+ * 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.yql.configuration;
+
+import org.apache.camel.component.yql.exception.YqlException;
+import org.apache.commons.lang3.StringUtils;
+
+public final class YqlConfigurationValidator {
+
+    private YqlConfigurationValidator() {
+    }
+
+    public static void validateProperties(final YqlConfiguration 
configuration) {
+        if (StringUtils.isEmpty(configuration.getQuery())) {
+            throw new YqlException("<query> is not present or not valid!");
+        }
+
+        if (!StringUtils.equalsAny(configuration.getFormat(), "json", "xml")) {
+            throw new YqlException("<format> is not valid!");
+        }
+
+        if (configuration.getCrossProduct() != null && 
!configuration.getCrossProduct().equals("optimized")) {
+            throw new YqlException("<crossProduct> is not valid!");
+        }
+
+        if (configuration.getJsonCompat() != null && 
!configuration.getJsonCompat().equals("new")) {
+            throw new YqlException("<jsonCompat> is not valid!");
+        }
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlException.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlException.java
new file mode 100644
index 00000000000..d422e5cfcd7
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlException.java
@@ -0,0 +1,24 @@
+/**
+ * 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.yql.exception;
+
+public class YqlException extends RuntimeException {
+
+    public YqlException(final String message) {
+        super(message);
+    }
+}
diff --git 
a/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlHttpException.java
 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlHttpException.java
new file mode 100644
index 00000000000..3eea1246591
--- /dev/null
+++ 
b/components/camel-yql/src/main/java/org/apache/camel/component/yql/exception/YqlHttpException.java
@@ -0,0 +1,50 @@
+/**
+ * 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.yql.exception;
+
+/**
+ * Signal a non 200 HTTP response
+ */
+public class YqlHttpException extends YqlException {
+
+    private final int httpStatus;
+    private final String body;
+    private final String originalRequest;
+
+    private YqlHttpException(final int httpStatus, final String body, final 
String originalRequest) {
+        super("HTTP request to YQL failed");
+        this.httpStatus = httpStatus;
+        this.body = body;
+        this.originalRequest = originalRequest;
+    }
+
+    public static YqlHttpException failedWith(final int httpStatus, final 
String body, final String originalRequest) {
+        return new YqlHttpException(httpStatus, body, originalRequest);
+    }
+
+    public int getHttpStatus() {
+        return httpStatus;
+    }
+
+    public String body() {
+        return body;
+    }
+
+    public String getOriginalRequest() {
+        return originalRequest;
+    }
+}
diff --git a/components/camel-yql/src/main/resources/LICENSE.txt 
b/components/camel-yql/src/main/resources/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++ b/components/camel-yql/src/main/resources/LICENSE.txt
@@ -0,0 +1,203 @@
+
+                                 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/camel-yql/src/main/resources/META-INF/services/org/apache/camel/component/yql
 
b/components/camel-yql/src/main/resources/META-INF/services/org/apache/camel/component/yql
new file mode 100644
index 00000000000..748b461a223
--- /dev/null
+++ 
b/components/camel-yql/src/main/resources/META-INF/services/org/apache/camel/component/yql
@@ -0,0 +1,18 @@
+#
+# 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.
+#
+
+class=org.apache.camel.component.yql.YqlComponent
diff --git a/components/camel-yql/src/main/resources/NOTICE.txt 
b/components/camel-yql/src/main/resources/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++ b/components/camel-yql/src/main/resources/NOTICE.txt
@@ -0,0 +1,11 @@
+   =========================================================================
+   ==  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/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentIntegrationTest.java
 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentIntegrationTest.java
new file mode 100644
index 00000000000..e8164e71314
--- /dev/null
+++ 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentIntegrationTest.java
@@ -0,0 +1,162 @@
+/**
+ * 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.yql;
+
+import static 
org.apache.camel.component.yql.YqlProducer.CAMEL_YQL_HTTP_REQUEST;
+import static org.apache.camel.component.yql.YqlProducer.CAMEL_YQL_HTTP_STATUS;
+import static org.hamcrest.CoreMatchers.containsString;
+
+import java.io.UnsupportedEncodingException;
+import java.net.URLEncoder;
+import org.apache.camel.CamelExecutionException;
+import org.apache.camel.EndpointInject;
+import org.apache.camel.Exchange;
+import org.apache.camel.Produce;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.apache.http.HttpStatus;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.ExpectedException;
+
+public class YqlComponentIntegrationTest extends CamelTestSupport {
+
+    private static final String FINANCE_QUERY = "select symbol, Ask, Bid,  
from yahoo.finance.quotes where symbol in ('GOOG')";
+    private static final String WEATHER_QUERY = "select wind, atmosphere from 
weather.forecast where woeid in (select woeid from geo.places(1) where 
text='chicago, il')";
+    private static final String BOOK_QUERY = "select * from google.books where 
q='barack obama' and maxResults=1";
+    private static final String CALLBACK = "yqlCallback";
+    private static final String ENV = 
"store://datatables.org/alltableswithkeys";
+
+    @Rule
+    public final ExpectedException thrown = ExpectedException.none();
+
+    @Produce(uri = "direct:startFinance")
+    private ProducerTemplate templateFinance;
+
+    @EndpointInject(uri = "mock:resultFinance")
+    private MockEndpoint endFinance;
+
+    @Produce(uri = "direct:startWeather")
+    private ProducerTemplate templateWeather;
+
+    @EndpointInject(uri = "mock:resultWeather")
+    private MockEndpoint endWeather;
+
+    @Produce(uri = "direct:startBook")
+    private ProducerTemplate templateBook;
+
+    @EndpointInject(uri = "mock:resultBook")
+    private MockEndpoint endBook;
+
+    @Produce(uri = "direct:startFail")
+    private ProducerTemplate templateFail;
+
+    @Override
+    protected RouteBuilder createRouteBuilder() {
+        return new RouteBuilder() {
+            public void configure() {
+                from("direct:startFinance")
+                        .to("yql://" + FINANCE_QUERY + 
"?format=json&callback=" + CALLBACK + "&https=false&env=" + ENV)
+                        .to("mock:resultFinance");
+
+                from("direct:startWeather")
+                        .to("yql://" + WEATHER_QUERY)
+                        .to("mock:resultWeather");
+
+                from("direct:startBook")
+                        .to("yql://" + BOOK_QUERY + 
"?format=xml&crossProduct=optimized&env=" + ENV)
+                        .to("mock:resultBook");
+
+                from("direct:startFail")
+                        .to("yql://" + FINANCE_QUERY)
+                        .to("mock:resultBook");
+            }
+        };
+    }
+
+    @Test
+    public void testFinanceQuote() throws UnsupportedEncodingException {
+        // when
+        templateFinance.sendBody("");
+
+        // then
+        final Exchange exchange = endFinance.getReceivedExchanges().get(0);
+        final String body = exchange.getIn().getBody(String.class);
+        final Integer status = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_STATUS, Integer.class);
+        final String httpRequest = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_REQUEST, String.class);
+        assertThat(httpRequest, containsString("http"));
+        assertThat(httpRequest, containsString("q=" + 
URLEncoder.encode(FINANCE_QUERY, "UTF-8")));
+        assertThat(httpRequest, containsString("format=json"));
+        assertThat(httpRequest, containsString("callback=" + CALLBACK));
+        assertThat(httpRequest, containsString("diagnostics=false"));
+        assertThat(httpRequest, containsString("debug=false"));
+        assertThat(httpRequest, containsString("env=" + URLEncoder.encode(ENV, 
"UTF-8")));
+        assertNotNull(body);
+        assertThat(body, containsString(CALLBACK + "("));
+        assertEquals(HttpStatus.SC_OK, status.intValue());
+    }
+
+    @Test
+    public void testWeather() throws UnsupportedEncodingException {
+        // when
+        templateWeather.sendBody("");
+
+        // then
+        final Exchange exchange = endWeather.getReceivedExchanges().get(0);
+        final String body = exchange.getIn().getBody(String.class);
+        final Integer status = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_STATUS, Integer.class);
+        final String httpRequest = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_REQUEST, String.class);
+        assertThat(httpRequest, containsString("https"));
+        assertThat(httpRequest, containsString("q=" + 
URLEncoder.encode(WEATHER_QUERY, "UTF-8")));
+        assertThat(httpRequest, containsString("format=json"));
+        assertThat(httpRequest, containsString("diagnostics=false"));
+        assertThat(httpRequest, containsString("debug=false"));
+        assertNotNull(body);
+        assertEquals(HttpStatus.SC_OK, status.intValue());
+    }
+
+    @Test
+    public void testBook() throws UnsupportedEncodingException {
+        // when
+        templateBook.sendBody("");
+
+        // then
+        final Exchange exchange = endBook.getReceivedExchanges().get(0);
+        final String body = exchange.getIn().getBody(String.class);
+        final Integer status = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_STATUS, Integer.class);
+        final String httpRequest = 
exchange.getIn().getHeader(CAMEL_YQL_HTTP_REQUEST, String.class);
+        assertThat(httpRequest, containsString("https"));
+        assertThat(httpRequest, containsString("q=" + 
URLEncoder.encode(BOOK_QUERY, "UTF-8")));
+        assertThat(httpRequest, containsString("format=xml"));
+        assertThat(httpRequest, containsString("diagnostics=false"));
+        assertThat(httpRequest, containsString("debug=false"));
+        assertThat(httpRequest, containsString("crossProduct=optimized"));
+        assertNotNull(body);
+        assertEquals(HttpStatus.SC_OK, status.intValue());
+    }
+
+    @Test
+    public void testFail() throws UnsupportedEncodingException {
+        // then
+        thrown.expect(CamelExecutionException.class);
+
+        // when
+        templateFail.sendBody("");
+    }
+}
diff --git 
a/components/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentTest.java
 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentTest.java
new file mode 100644
index 00000000000..fe63ec2758c
--- /dev/null
+++ 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/YqlComponentTest.java
@@ -0,0 +1,112 @@
+/**
+ * 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.yql;
+
+import org.apache.camel.Endpoint;
+import org.apache.camel.Producer;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.yql.configuration.YqlConfiguration;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.ExpectedException;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.text.IsEmptyString.emptyString;
+
+public class YqlComponentTest extends CamelTestSupport {
+
+    @Rule
+    public final ExpectedException thrown = ExpectedException.none();
+
+    @Override
+    protected RouteBuilder createRouteBuilder() {
+        return new RouteBuilder() {
+            public void configure() {
+                from("direct:start")
+                        .to("yql://query?format=json")
+                        .to("mock:result");
+            }
+        };
+    }
+
+    @Test
+    public void testCreateProducer() throws Exception {
+        // given
+        final Endpoint yqlEndpoint = 
context.getEndpoint("yql://query?format=json");
+
+        // when
+        final Producer producer = yqlEndpoint.createProducer();
+
+        // then
+        assertNotNull(producer);
+        assertTrue(producer instanceof YqlProducer);
+    }
+
+    @Test
+    public void testConfigurationSetup() {
+        // given
+        final YqlEndpoint yqlEndpoint = (YqlEndpoint) 
context.getEndpoint("yql://query?format=xml&callback=yqlCallback&diagnostics=true&debug=true&https=false&throwExceptionOnFailure=false&jsonCompat=new");
+
+        // when
+        final YqlConfiguration yqlConfiguration = 
yqlEndpoint.getConfiguration();
+
+        // then
+        assertNotNull(yqlConfiguration);
+        assertEquals("query", yqlConfiguration.getQuery());
+        assertEquals("xml", yqlConfiguration.getFormat());
+        assertEquals("yqlCallback", yqlConfiguration.getCallback());
+        assertTrue(yqlConfiguration.isDebug());
+        assertTrue(yqlConfiguration.isDiagnostics());
+        assertFalse(yqlConfiguration.isHttps());
+        assertFalse(yqlConfiguration.isThrowExceptionOnFailure());
+    }
+
+    @Test
+    public void testConfigurationSetupDefault() {
+        // given
+        final YqlEndpoint yqlEndpoint = (YqlEndpoint) 
context.getEndpoint("yql://query");
+
+        // when
+        final YqlConfiguration yqlConfiguration = 
yqlEndpoint.getConfiguration();
+
+        // then
+        assertNotNull(yqlConfiguration);
+        assertEquals("query", yqlConfiguration.getQuery());
+        assertEquals("json", yqlConfiguration.getFormat());
+        assertThat(yqlConfiguration.getCallback(), is(emptyString()));
+        assertNull(yqlConfiguration.getCrossProduct());
+        assertFalse(yqlConfiguration.isDiagnostics());
+        assertFalse(yqlConfiguration.isDebug());
+        assertNull(yqlConfiguration.getEnv());
+        assertNull(yqlConfiguration.getJsonCompat());
+        assertTrue(yqlConfiguration.isThrowExceptionOnFailure());
+        assertTrue(yqlConfiguration.isHttps());
+    }
+
+    @Test
+    public void testCreateConsumer() throws Exception {
+        // then
+        thrown.expect(UnsupportedOperationException.class);
+
+        // given
+        final Endpoint yqlEndpoint = 
context.getEndpoint("yql://query?format=json");
+
+        // when
+        yqlEndpoint.createConsumer(null);
+    }
+}
diff --git 
a/components/camel-yql/src/test/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidatorTest.java
 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidatorTest.java
new file mode 100644
index 00000000000..af7fa58bdb2
--- /dev/null
+++ 
b/components/camel-yql/src/test/java/org/apache/camel/component/yql/configuration/YqlConfigurationValidatorTest.java
@@ -0,0 +1,133 @@
+/**
+ * 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.yql.configuration;
+
+import org.apache.camel.component.yql.exception.YqlException;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.rules.ExpectedException;
+
+public class YqlConfigurationValidatorTest {
+
+    @Rule
+    public final ExpectedException thrown = ExpectedException.none();
+
+    @Test
+    public void testValidQuery() {
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("select * from ...");
+        yqlConfiguration.setFormat("json");
+        yqlConfiguration.setCrossProduct("optimized");
+        yqlConfiguration.setJsonCompat("new");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+
+        // then
+        // no exception
+    }
+
+    @Test
+    public void testMissingQuery() {
+        // then
+        thrown.expect(YqlException.class);
+        thrown.expectMessage("<query> is not present or not valid!");
+
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+    }
+
+    @Test
+    public void testJsonFormat() {
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("query");
+        yqlConfiguration.setFormat("json");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+
+        // then
+        // no exception
+    }
+
+    @Test
+    public void testXmlFormat() {
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("query");
+        yqlConfiguration.setFormat("xml");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+
+        // then
+        // no exception
+    }
+
+    @Test
+    public void testWrongFormat() {
+        // then
+        thrown.expect(YqlException.class);
+        thrown.expectMessage("<format> is not valid!");
+
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("query");
+        yqlConfiguration.setFormat("format");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+    }
+
+    @Test
+    public void testWrongCrossProduct() {
+        // then
+        thrown.expect(YqlException.class);
+        thrown.expectMessage("<crossProduct> is not valid!");
+
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("query");
+        yqlConfiguration.setFormat("xml");
+        yqlConfiguration.setCrossProduct("optimizedddd");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+    }
+
+    @Test
+    public void testWrongJsonCompat() {
+        // then
+        thrown.expect(YqlException.class);
+        thrown.expectMessage("<jsonCompat> is not valid!");
+
+        // given
+        final YqlConfiguration yqlConfiguration = new YqlConfiguration();
+        yqlConfiguration.setQuery("query");
+        yqlConfiguration.setFormat("xml");
+        yqlConfiguration.setCrossProduct("optimized");
+        yqlConfiguration.setJsonCompat("neww");
+
+        // when
+        YqlConfigurationValidator.validateProperties(yqlConfiguration);
+    }
+}
diff --git a/components/camel-yql/src/test/resources/log4j2.properties 
b/components/camel-yql/src/test/resources/log4j2.properties
new file mode 100644
index 00000000000..25d964b8fa9
--- /dev/null
+++ b/components/camel-yql/src/test/resources/log4j2.properties
@@ -0,0 +1,33 @@
+## ---------------------------------------------------------------------------
+## 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.
+## ---------------------------------------------------------------------------
+
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-yql-component-test.log
+appender.file.layout.type = PatternLayout
+appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
+appender.out.type = Console
+appender.out.name = out
+appender.out.layout.type = PatternLayout
+appender.out.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
+
+# uncomment the following line to turn on Camel debugging
+#logger.camel.name = org.apache.camel
+#logger.camel.level =DEBUG
+
+rootLogger.level = INFO
+rootLogger.appenderRef.out.ref = out
diff --git a/components/pom.xml b/components/pom.xml
index 1be411ff57c..00f4967be2b 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -309,6 +309,7 @@
     <module>camel-xmpp</module>
     <module>camel-xstream</module>
     <module>camel-yammer</module>
+    <module>camel-yql</module>
     <module>camel-zendesk</module>
     <module>camel-zipfile</module>
     <module>camel-zipkin</module>
diff --git a/components/readme.adoc b/components/readme.adoc
index 4c3e3c17f78..c99b4f6c90b 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -2,7 +2,7 @@ Components
 ^^^^^^^^^^
 
 // components: START
-Number of Components: 285 in 196 JAR artifacts (19 deprecated)
+Number of Components: 286 in 197 JAR artifacts (19 deprecated)
 
 [width="100%",cols="4,1,5",options="header"]
 |===
@@ -851,6 +851,9 @@ Number of Components: 285 in 196 JAR artifacts (19 
deprecated)
 | link:../camel-core/src/main/docs/xslt-component.adoc[XSLT] (camel-core) +
 `xslt:resourceUri` | 1.3 | Transforms the message using a XSLT template.
 
+| link:camel-yql/src/main/docs/yql-component.adoc[Yahoo Query Language] 
(camel-yql) +
+`yql:query` | 2.21 | Camel Yahoo Query Language Component
+
 | link:camel-yammer/src/main/docs/yammer-component.adoc[Yammer] (camel-yammer) 
+
 `yammer:function` | 2.12 | The yammer component allows you to interact with 
the Yammer enterprise social network.
 
diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md
index 7ff258f7426..b1dc1ca39b1 100644
--- a/docs/user-manual/en/SUMMARY.md
+++ b/docs/user-manual/en/SUMMARY.md
@@ -380,6 +380,7 @@
        * [XML Security](xmlsecurity-component.adoc)
        * [XMPP](xmpp-component.adoc)
        * [XQuery](xquery-component.adoc)
+       * [Yahoo Query Language](yql-component.adoc)
        * [Yammer](yammer-component.adoc)
        * [Zendesk](zendesk-component.adoc)
        * [ZooKeeper](zookeeper-component.adoc)
diff --git a/parent/pom.xml b/parent/pom.xml
index 52feabb98a6..f84aafec453 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -2195,6 +2195,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-yql</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-zendesk</artifactId>
         <version>${project.version}</version>
       </dependency>
diff --git a/platforms/spring-boot/components-starter/camel-yql-starter/pom.xml 
b/platforms/spring-boot/components-starter/camel-yql-starter/pom.xml
new file mode 100644
index 00000000000..ced5b4c3c40
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-yql-starter/pom.xml
@@ -0,0 +1,61 @@
+<?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</groupId>
+    <artifactId>components-starter</artifactId>
+    <version>2.21.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>camel-yql-starter</artifactId>
+  <packaging>jar</packaging>
+  <name>Spring-Boot Starter :: Camel :: Yql</name>
+  <description>Spring-Boot Starter for Camel Yahoo Query Language 
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-yql</artifactId>
+      <version>${project.version}</version>
+      <!--START OF GENERATED CODE-->
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+      <!--END OF GENERATED CODE-->
+    </dependency>
+    <!--START OF GENERATED CODE-->
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-core-starter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-spring-boot-starter</artifactId>
+    </dependency>
+    <!--END OF GENERATED CODE-->
+  </dependencies>
+</project>
diff --git 
a/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentAutoConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentAutoConfiguration.java
new file mode 100644
index 00000000000..7f861401654
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentAutoConfiguration.java
@@ -0,0 +1,128 @@
+/**
+ * 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.yql.springboot;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.CamelContext;
+import org.apache.camel.component.yql.YqlComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spi.HasId;
+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.GroupCondition;
+import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
+import org.apache.camel.util.IntrospectionSupport;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
+import 
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+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!
+ */
+@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo")
+@Configuration
+@Conditional({ConditionalOnCamelContextAndAutoConfigurationBeans.class,
+        YqlComponentAutoConfiguration.GroupConditions.class})
+@AutoConfigureAfter(CamelAutoConfiguration.class)
+@EnableConfigurationProperties({ComponentConfigurationProperties.class,
+        YqlComponentConfiguration.class})
+public class YqlComponentAutoConfiguration {
+
+    private static final Logger LOGGER = LoggerFactory
+            .getLogger(YqlComponentAutoConfiguration.class);
+    @Autowired
+    private ApplicationContext applicationContext;
+    @Autowired
+    private CamelContext camelContext;
+    @Autowired
+    private YqlComponentConfiguration configuration;
+    @Autowired(required = false)
+    private List<ComponentCustomizer<YqlComponent>> customizers;
+
+    static class GroupConditions extends GroupCondition {
+        public GroupConditions() {
+            super("camel.component", "camel.component.yql");
+        }
+    }
+
+    @Lazy
+    @Bean(name = "yql-component")
+    @ConditionalOnMissingBean(YqlComponent.class)
+    public YqlComponent configureYqlComponent() throws Exception {
+        YqlComponent component = new YqlComponent();
+        component.setCamelContext(camelContext);
+        Map<String, Object> parameters = new HashMap<>();
+        IntrospectionSupport.getProperties(configuration, parameters, null,
+                false);
+        for (Map.Entry<String, Object> entry : parameters.entrySet()) {
+            Object value = entry.getValue();
+            Class<?> paramClass = value.getClass();
+            if (paramClass.getName().endsWith("NestedConfiguration")) {
+                Class nestedClass = null;
+                try {
+                    nestedClass = (Class) paramClass.getDeclaredField(
+                            "CAMEL_NESTED_CLASS").get(null);
+                    HashMap<String, Object> nestedParameters = new HashMap<>();
+                    IntrospectionSupport.getProperties(value, nestedParameters,
+                            null, false);
+                    Object nestedProperty = nestedClass.newInstance();
+                    CamelPropertiesHelper.setCamelProperties(camelContext,
+                            nestedProperty, nestedParameters, false);
+                    entry.setValue(nestedProperty);
+                } catch (NoSuchFieldException e) {
+                }
+            }
+        }
+        CamelPropertiesHelper.setCamelProperties(camelContext, component,
+                parameters, false);
+        if (ObjectHelper.isNotEmpty(customizers)) {
+            for (ComponentCustomizer<YqlComponent> customizer : customizers) {
+                boolean useCustomizer = (customizer instanceof HasId)
+                        ? HierarchicalPropertiesEvaluator.evaluate(
+                                applicationContext.getEnvironment(),
+                                "camel.component.customizer",
+                                "camel.component.yql.customizer",
+                                ((HasId) customizer).getId())
+                        : HierarchicalPropertiesEvaluator.evaluate(
+                                applicationContext.getEnvironment(),
+                                "camel.component.customizer",
+                                "camel.component.yql.customizer");
+                if (useCustomizer) {
+                    LOGGER.debug("Configure component {}, with customizer {}",
+                            component, customizer);
+                    customizer.customize(component);
+                }
+            }
+        }
+        return component;
+    }
+}
\ No newline at end of file
diff --git 
a/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentConfiguration.java
new file mode 100644
index 00000000000..4b736b50e62
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/java/org/apache/camel/component/yql/springboot/YqlComponentConfiguration.java
@@ -0,0 +1,65 @@
+/**
+ * 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.yql.springboot;
+
+import javax.annotation.Generated;
+import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.apache.http.conn.HttpClientConnectionManager;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.boot.context.properties.NestedConfigurationProperty;
+
+/**
+ * Camel Yahoo Query Language Component
+ * 
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo")
+@ConfigurationProperties(prefix = "camel.component.yql")
+public class YqlComponentConfiguration
+        extends
+            ComponentConfigurationPropertiesCommon {
+
+    /**
+     * Set the connection manager.
+     */
+    @NestedConfigurationProperty
+    private HttpClientConnectionManager connectionManager;
+    /**
+     * Whether the component should resolve property placeholders on itself 
when
+     * starting. Only properties which are of String type can use property
+     * placeholders.
+     */
+    private Boolean resolvePropertyPlaceholders = true;
+
+    public HttpClientConnectionManager getConnectionManager() {
+        return connectionManager;
+    }
+
+    public void setConnectionManager(
+            HttpClientConnectionManager connectionManager) {
+        this.connectionManager = connectionManager;
+    }
+
+    public Boolean getResolvePropertyPlaceholders() {
+        return resolvePropertyPlaceholders;
+    }
+
+    public void setResolvePropertyPlaceholders(
+            Boolean resolvePropertyPlaceholders) {
+        this.resolvePropertyPlaceholders = resolvePropertyPlaceholders;
+    }
+}
\ No newline at end of file
diff --git 
a/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/LICENSE.txt
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+                                 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/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/NOTICE.txt
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+   =========================================================================
+   ==  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/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.factories
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 00000000000..6418b38400c
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+## ---------------------------------------------------------------------------
+## 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.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.yql.springboot.YqlComponentAutoConfiguration
diff --git 
a/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.provides
 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 00000000000..edc4c9d1361
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-yql-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,17 @@
+## ---------------------------------------------------------------------------
+## 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-yql
diff --git a/platforms/spring-boot/components-starter/pom.xml 
b/platforms/spring-boot/components-starter/pom.xml
index 1bea2af1daa..e5f0a678d6c 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -323,6 +323,7 @@
     <module>camel-xmpp-starter</module>
     <module>camel-xstream-starter</module>
     <module>camel-yammer-starter</module>
+    <module>camel-yql-starter</module>
     <module>camel-zendesk-starter</module>
     <module>camel-zipfile-starter</module>
     <module>camel-zipkin-starter</module>
diff --git 
a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml 
b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
index c6f6d4b2772..a80d6cb8ad9 100644
--- 
a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
+++ 
b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
@@ -32,6 +32,21 @@
     <dependencies>
       <dependency>
         <groupId>ca.uhn.hapi</groupId>
+        <artifactId>hapi-structures-v22</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>ca.uhn.hapi</groupId>
+        <artifactId>hapi-structures-v23</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>ca.uhn.hapi</groupId>
+        <artifactId>hapi-structures-v231</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>ca.uhn.hapi</groupId>
         <artifactId>hapi-structures-v24</artifactId>
         <version>2.2</version>
       </dependency>
@@ -41,6 +56,16 @@
         <version>2.2</version>
       </dependency>
       <dependency>
+        <groupId>ca.uhn.hapi</groupId>
+        <artifactId>hapi-structures-v251</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>ca.uhn.hapi</groupId>
+        <artifactId>hapi-structures-v26</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
         <groupId>com.alibaba</groupId>
         <artifactId>fastjson</artifactId>
         <version>1.2.39</version>
@@ -2891,6 +2916,11 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
+        <artifactId>camel-yql</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
         <artifactId>camel-zendesk</artifactId>
         <version>${project.version}</version>
       </dependency>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> New component YQL
> -----------------
>
>                 Key: CAMEL-11959
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11959
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Carl-Philipp Harmant
>            Assignee: Carl-Philipp Harmant
>            Priority: Minor
>             Fix For: 2.21.0
>
>
> Add a new component, camel-yql that will allow to obtain data from YQL (Yahoo 
> Query Language) 
> https://developer.yahoo.com/yql/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to