Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Objects

IconDescription Icon DescriptionIconDescription

Image Modified

Apache Camel HTTP Get Operation

 Image Added

Apache Camel JMS Queue Receive

Image Added

Apache Camel Unknown ActiveMQ Queue Receive

Image Modified

Apache Camel HTTP Put Operation

 Image Added

Apache Camel JMS QueueCall

Image Added

Apache Camel Unknown ActiveMQ Queue Call

Image Modified

Apache Camel HTTP Post Operation

 Image Added

 Apache Camel Unknown JMS Queue Receive

Image Added

Apache Camel RabbitMQ Queue Receive

Image Modified

Apache Camel HTTP Delete Operation 

 Image Added

 Apache Camel Unknown JMS Queue Call

Image Added

Apache Camel RabbitMQ Queue Call

Image Modified

Apache Camel HTTP Any Operation 

 Image Added

Apache Camel IBM Queue Receive

 Image Added

Apache Camel Unknown RabbitMQ Queue Receive

Image Modified

Apache Camel Route Call

 Image Added

Apache Camel IBM Queue Call

Image Added

Apache Camel Unknown RabbitMQ Queue Call

Image Modified

Apache Camel Route

 Image Added

Apache Camel Unknown IBM_Queue Receive

Image Modified

Apache Camel Bean Call

 Image Added

Apache Camel Unknown IBM Queue Call

Image Modified

Apache Camel Process Call

 Image Added

Apache Camel ActiveMQ Queue Receive

 Image Modified

Apache Camel Database Query

 Image Added

Apache Camel ActiveMQ Queue Call

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

...

Expand


Code Block
languagexml
<from uri="restlet:/user?restletMethod=POST"/>
          <setBody>
                <simple>select * from user ORDER BY id desc LIMIT 1</simple>
            </setBody>
            <to uri="jdbc:dataSource"/>        


Code Block
languagexml
<route id="createUser">
            <from uri="restlet:/user?restletMethod=POST"/>
            <setBody>
                <simple>insert into user(firstName, lastName) values('${header.firstName}','${header.lastName}');  
                    CALL IDENTITY();               
  		</simple>
            </setBody>
            <to uri="jdbc:dataSource"/>

Image Added


Java DSL - callLink between REST Post Service and JDBC Query

Expand


Code Block
languagejava
public void configure() {
    from("restlet:/user?restletMethod=POST")
	.setBody(simple("select * from user ORDER BY id desc LIMIT 1"))
        .to("jdbc:dataSource");
}

Code Block
languagejava
public void configure() {  
   from("restlet:/user/{userId}?restletMethods=GET,PUT,DELETE")
	 .setBody(simple("update user set firstName='${header.firstName}', lastName='${header.lastName}' where id = ${header.userId}"))
         .to("jdbc:dataSource"); 
}

Image Added


Java DSL - callLink between JMS Queue Receive and JMS Queue Call

Expand


Code Block
languagejava
public void configure() throws Exception 
{
   from("jms:JmsQueue").bean(ProcessingBean.class, "doSomething").to("jms:redirected");
}

Image Added


callLinks in the complete transaction

Expand

Image Added

Limitations

  • Route destinations such as bean, process, jdbc (database query jdbc:) and apache camel routes (direct:) are created as known objectsUnknown queue/process/bean/route object is created in case where the exact name can't be retrieved
  • All other route components are ignored. Any Route starting with a component not mentioned in the Object section , the whole of the Route with its components will be ignored.
  • Any component created with a customized name will not be handled or created.
  • There may be missing/multiple links instead of one between process call and process method of the target class.
  • There may be multiple links instead of one between bean call and target method of the bean.
  • There may be incorrect bookmarks in few call links . Will be fixed in subsequent releasesand objects.

Future development

  •  Components in the route which are not decoded in this version, will be included . As an example the components such as JMS, NoSQL (MongoDB, Couchbase etc.) will be considered in the subsequent releases More Components Support, Better Linking, Fixing Bookmark Issue, Custom Component Support.