camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7553) Add support for
Date Sat, 28 Jun 2014 01:31:25 GMT


Dhiraj Bokde commented on CAMEL-7553:

An initial version of the component has been submitted. 

This component supports 79 different endpoints for interacting with and exposes every
single feature in the SDK in the initial version. It only contains 13 classes in src/main,
20 API modeling classes are generated in target/generated-sources. Out of the 781 lines of
code in the initial version, 421 lines are from generated-sources directory. Of the 360 lines
under src/main/java, 194 lines are just for creating and managing connections, and
46 lines are just in All this just leaves 120 lines of code for the
rest of the component. 

This lean implementation is a clear demonstration of the tremendous power and flexibility
of the API Component framework. The camel-api-component-archetype and the camel-api-component-maven-plugin
together reduced the development work by several magnitudes. Development effort was focused
solely on SDK connection lifecycle management, instead of the usual URI parameter mapping,
and API invocation code common in Camel components. 

In addition to that, all the Integration test code was also generated as skeleton code, which
was easily moved to src/test/java and modified to add test values and re-factored into integration
flows to exercise every single API in the SDK. 

The camel-api-component-maven-plugin also generates a skeleton HTML file using the 'document'
goal which turns documenting the component's large number of endpoints and configuration options
into a much simpler exercise. 

> Add support for
> -----------------------
>                 Key: CAMEL-7553
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.14.0
>            Reporter: Dhiraj Bokde
>            Assignee: Dhiraj Bokde
>              Labels: camel-box
>             Fix For: 2.14.0
> Add support for REST API. is a free cloud storage, secure content and
online file sharing service. provides an ASLv2 licensed SDK at

> This SDK can be easily leveraged by the Camel API component framework to create a fully
functional Camel Component for 

This message was sent by Atlassian JIRA

View raw message