Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
RCodeAvailable as of Camel Extra 2.11 The rcode component supports the integration of the statistics environment R via Rserve Dependency<dependency> <groupId>org.apache-extras.camel-extra</groupId> <artifactId>camel-rcode</artifactId> <version>2.12.0</version> </dependency> URI formatrcode://host[:port]/operationId[?options] There are several operations available to integrate Java with R. The current component has implemented the following subset of operations:
The following example should clarify the component's interaction style: Configuring an endpoint that evaluates a given R command. from("direct:rcode") .to("rcode:localhost:6311/eval?user=test&password=test123&bufferSize=4194304") .to("mock:test"); Sending an R command to the endpoint. For a full list of possible command, please refer to the R Language Definition ProducerTemplate template; template.sendBody("direct:rcode", "c <- sqrt(2^2 + 2^2);"); Options
|