On this page:
   35.12    CDS Hooks 35.14    Channel Retry   

35.13Channel Import

 

The Channel Import configuration category includes the following configurable options:

  • Concurrent Consumers

  • Concurrent Retry Consumers

  • Channel Name

  • Default mediaType

  • Channel Import ETL Script (File)

  • Channel Import ETL Script (Text)

35.13.1Property: Concurrent Consumers

 
Property Name Concurrent Consumers
Property Key
Property Type POSITIVE_INTEGER
Description The number of the concurrent consumers.
Applies to Modules
  • Channel Import
Default Value 2
Example Property
module.[MODULE_ID].config.channel.concurrent_consumers = 2

35.13.2Property: Concurrent Retry Consumers

 
Property Name Concurrent Retry Consumers
Property Key
Property Type POSITIVE_INTEGER
Description The number of concurrent consumers on the retry channel.
Applies to Modules
  • Channel Import
Default Value 2
Example Property
module.[MODULE_ID].config.channel.concurrent_retry_consumers = 2

35.13.3Property: Channel Name

 
Property Name Channel Name
Property Key
Property Type STRING
Description The name of Kafka topic or ActiveMQ queue where inbound resources will be arriving.
Applies to Modules
  • Channel Import
Default Value import
Example Property
module.[MODULE_ID].config.channel.name = import

35.13.4Property: Default mediaType

 
Property Name Default mediaType
Property Key
Property Type STRING
Description If set, applies the mediaType to incoming messages that are missing the mediaType attribute. Legal values are text/plain, text/csv, application/fhir+json, application/json. Defaults to application/fhir+json.
Applies to Modules
  • Channel Import
Default Value (no default)
Example Property
module.[MODULE_ID].config.default_mediatype = 

35.13.5Property: Channel Import ETL Script (File)

 
Property Name Channel Import ETL Script (File)
Property Key
Property Type Resource Path
Description If set, supplies the absolute filepath of a file containing an ETL processor used for certain mimetypes in the Channel Import service.
Applies to Modules
  • Channel Import
Default Value (no default)
Example Property
module.[MODULE_ID].config.etl_script.file = 

35.13.6Property: Channel Import ETL Script (Text)

 
Property Name Channel Import ETL Script (Text)
Property Key
Property Type JAVASCRIPT
Description If set, supplies an ETL processor used for certain mimetypes in the Channel Import service.
Applies to Modules
  • Channel Import
Default Value function handleChannelImportJsonPayload(jsonObject) { throw 'not implemented!'; } function handleChannelImportStringPayload(stringPayload) { throw 'not implemented!'; }
Example Property
module.[MODULE_ID].config.etl_script.text = function handleChannelImportJsonPayload(jsonObject) {
  throw 'not implemented!';
}
function handleChannelImportStringPayload(stringPayload) {
  throw 'not implemented!';
}
   35.12    CDS Hooks 35.14    Channel Retry