49.9    Browser Syntax Highlighting 49.11    Capability Statement (metadata)   

49.10.1Camel

 

The Camel configuration category includes the following configurable options:

  • Spring Context Config Class(es)

  • Camel Functions (File)

  • Camel Functions (Text)

  • Camel Routes (File)

  • Camel Routes (Text)

49.10.2Property: Spring Context Config Class(es)

 
Property Name Spring Context Config Class(es)
Property Key
Property Type STRING
Description A comma or whitespace-separated list of Configuration classes for a Spring Annotation-based Context which will be used to provide Apache Camel processors
Applies to Modules
  • CDS Hooks REST Endpoint
  • Camel
  • FHIR Gateway REST Endpoint
  • Hybrid Providers REST Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.definitions.spring_context_config.class = 

49.10.3Property: Camel Functions (File)

 
Property Name Camel Functions (File)
Property Key
Property Type Resource Path
Description This is the filepath to the JavaScript functions that can be called within Camel routes.
Applies to Modules
  • Camel
Default Value (no default)
Example Property
module.[MODULE_ID].config.functions.script.file = 

49.10.4Property: Camel Functions (Text)

 
Property Name Camel Functions (Text)
Property Key
Property Type JAVASCRIPT
Description JavaScript functions that can be called within Camel routes
Applies to Modules
  • Camel
Default Value function processJson(jsonObject) { } function processString(string) { } function processResourceModified(resourceModified) { } function processBundle(bundle) { }
Example Property
module.[MODULE_ID].config.functions.script.text = function processJson(jsonObject) {
}
function processString(string) {
}
function processResourceModified(resourceModified) {
}
function processBundle(bundle) {
}

49.10.5Property: Camel Routes (File)

 
Property Name Camel Routes (File)
Property Key
Property Type Resource Path
Description This is the filepath to the routes that will be used with Smile CDR. It can be a yaml or xml file.
Applies to Modules
  • Camel
Default Value (no default)
Example Property
module.[MODULE_ID].config.routes.script.file = 

49.10.6Property: Camel Routes (Text)

 
Property Name Camel Routes (Text)
Property Key
Property Type JAVASCRIPT
Description These are the routes that will be used with Smile CDR. It can be in yaml or xml format.
Applies to Modules
  • Camel
Default Value <route> <from uri="kafka:in-topic?brokers=localhost:9092"/> <to uri="kafka:out-topic?brokers=localhost:9092"/> </route>
Example Property
module.[MODULE_ID].config.routes.script.text = <route>
<from uri="kafka:in-topic?brokers=localhost:9092"/>
<to uri="kafka:out-topic?brokers=localhost:9092"/>
</route>
   49.9    Browser Syntax Highlighting 49.11    Capability Statement (metadata)