Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 4 Next »

Summary: This document provides basic information about the extension providing Apache Camel support for Java.

Extension ID


What's new?

Please see Apache Camel - 1.0 - Release Notes for more information.

In what situation should you install this extension?

This extension should be installed when your Java application consists of Apache Camel Routes. Objects created for the components encountered in Apache Camel Route are linked to objects produced by the JEE Analyzer. This will result in better transactions and calculation of Automated Function Points.

Function Point, Quality and Sizing support

This extension provides the following support:

  • Function Points (transactions): a green tick indicates that Function Point counting and Transaction Risk Index are supported
  • Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Function Points
Quality and Sizing(error)

CAST AIP compatibility

This extension is compatible with:

CAST AIP releaseSupported

Supported DBMS servers

This extension is compatible with the following DBMS servers:

Microsoft SQL Server(error)


(tick)Installation of any compatible release of CAST AIP (see table above)

Download and installation instructions

Include the extension using the interface in AIP Console:

There is nothing further to do. Any Apache Camel configuration defined in XML files in the application source code will be automatically detected. Follow the instructions below to run a new analysis/snapshot to generate new results:

What results can you expect?

Once the analysis/snapshot generation is completed, you can view the results in the normal manner (for example via CAST Enlighten):



Apache Camel HTTP Get Operation

Apache Camel HTTP Put Operation

Apache Camel HTTP Post Operation

Apache Camel HTTP Delete Operation 

Apache Camel HTTP Any Operation 

Apache Camel Route Call

Apache Camel Route

Apache Camel Bean Call

Apache Camel Process Call


Apache Camel Database Query

Only callLinks are created between various objects created by this extension.

Code examples

callLink between REST POST service and Apache Camel Route

 Click here to expand...
<rest path="restservices/sapmp/v1/cart/">
            <post uri="/addCart">
                <to uri="direct:addCart" />

callLink between REST DELETE and Apache Camel Route

 Click here to expand...

<delete uri="/order/modify/modifyOrder">
                <to uri="direct:modifyOrder" />            

callLink between REST PUT and Apache Camel Route

 Click here to expand...
<put uri="/order/modify/modifyOrder">
                <to uri="direct:modifyOrder" />            

callLink between ApacheCamel Route and Apache Camel Route Call

 Click here to expand...

<from uri="direct:submitOrder" />
	<to uri="direct:fanAuthorization" />

callLink between Apache Camel Route and Bean

 Click here to expand...

<from uri="direct:submitOrder" />
  <interceptFrom id="_interceptFrom2">
   	<to id="submitOrderCamelInterceptor" uri="bean:camelInterceptor?method=invokepreInterceptorChain" />

callLinks in the complete transaction

 Click here to expand...


  • Route destinations such as bean, process, jdbc (database query jdbc:) and apache camel routes (direct:) are created as known objects
  • All other route components are ignored
  • There may be incorrect bookmarks in few call links. Will be fixed in subsequent releases

Future development

  •  Routes created using JAVA DSL to be identified, analyzed and included in the transactions
  •  Components in the route which are not decoded in this version, will be included . As an example the components below will be picked up. 
<to id="_to8" uri="cancelNonDME2" />

<to uri="velocity:file:{{ajsc.vm.path}}/successResponse.vm" />
  • No labels