On this page:
   33.7    Capability Statement (metadata) 33.9    Channel Retry   

33.8Channel Import

 

The Channel Import configuration category includes the following configurable options:

  • Channel Name

  • Concurrent Consumers

  • Channel Import ETL Script (Text)

  • Channel Import ETL Script (File)

  • Default mediaType

33.8.1Property: 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.
Default Value import
Example Property
module.[MODULE_ID].config.channel.name = import

33.8.2Property: Concurrent Consumers

 
Property Name Concurrent Consumers
Property Key
Property Type POSITIVE_INTEGER
Description The number of the concurrent consumers.
Default Value 5
Example Property
module.[MODULE_ID].config.channel.concurrent_consumers = 5

33.8.3Property: 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.
Default Value function handleChannelImportJsonPayload(jsonObject) { // } function handleChannelImportStringPayload(stringPayload) { // }
Example Property
module.[MODULE_ID].config.etl_script.text = function handleChannelImportJsonPayload(jsonObject) {
  // 
}
function handleChannelImportStringPayload(stringPayload) {
  // 
}

33.8.4Property: 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.
Default Value (no default)
Example Property
module.[MODULE_ID].config.etl_script.file = 

33.8.5Property: Default mediaType

 
Property Name Default mediaType
Property Key
Property Type Resource Path
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
Default Value (no default)
Example Property
module.[MODULE_ID].config.default_mediatype = 
   33.7    Capability Statement (metadata) 33.9    Channel Retry