Page tree

Versions Compared

Key

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

...

IconDescription Icon DescriptionIconDescription

Apache Camel HTTP Get Operation

 

Apache Camel JMS Queue Receive

Apache Camel Unknown ActiveMQ Queue Receive

Apache Camel HTTP Put Operation

 

Apache Camel JMS QueueCall

Apache Camel Unknown ActiveMQ Queue Call

Apache Camel HTTP Post Operation

 

 Apache Camel Unknown JMS Queue Receive

Apache Camel RabbitMQ Queue Receive

Apache Camel HTTP Delete Operation 

 

 Apache Camel Unknown JMS Queue Call

Apache Camel RabbitMQ Queue Call

Apache Camel HTTP Any Operation 

 Image Modified

Apache Camel IBM Queue Receive

 Image RemovedImage Added

Apache Camel Unknown RabbitMQ Queue Receive

Apache Camel Route Call

 

Apache Camel IBM Queue Call

Image Modified

Apache Camel Unknown RabbitMQ Queue Call

Apache Camel Route

 

Apache Camel Unknown IBM_Queue Receive

Image Added

Apache Camel File

Apache Camel Bean Call

 

Apache Camel Unknown IBM Queue Call

Image Added

Apache Camel File Call

Apache Camel Process Call

 

Apache Camel ActiveMQ Queue Receive

 

Apache Camel Database Query

 

Apache Camel ActiveMQ Queue Call

...

Expand


Code Block
languagejava
public void configure() throws Exception {
	from("seda:largeListConsumer?concurrentConsumers=1&size=1000&timeout=0&blockWhenFull=true")
                .routeId("largeListConsumer")
                .to("direct:processFile")
                .end();
}

Image Added

XML DSL - callLinks between Rest POST service and Bean Call, Process Call

...

Expand


Code Block
languagexml
<route id="fileRoute2">
	<from uri="file:home/customers/new?fileName=new.xml"/>
    <to uri="file://home/customers/old"/>
</route>

Image Added

Java DSL - callLink between File and File Call

Expand


Code Block
languagejava
public void configure() throws Exception {
	from("file:home/customers/old")
                .routeId("transfer")
				.log(LoggingLevel.INFO, "com.toyota.tme.cws.transform.route.error", "Transferring File - ${file:name}")
                .to("file:home/customers/new")
                .end();
}

Image Added

Java DSL - callLink between File and Bean Call

Expand


Code Block
languagejava
public void configure () throws Exception {
	from("file://inputdir?fileName=order.xml")
                .routeId("readFilefromDir")
				.log(LoggingLevel.INFO, "com.toyota.tme.cws.transform.route.error", "Processing File - ${file:name}")
                .bean("FileBusiness", "moveToSedaQueue")
                .end();
}

Image Added

callLinks in the complete transaction

Expand

Image AddedImage Added

Limitations

  • Unknown queue/process/bean/route/file object is created in case where the exact name can't be retrieved
  • Routes defined using route templates result in unknown route objects 
  • 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 and objects
  • One of the signature for the overloaded method idempotentConsumer method of org.apache.camel.model.ProcessDefinition is not supported. This suspends the creation of the objects for the components in that route following this method.

...