Smile CDR v2024.08.PRE
On this page:
   49.19    CDS Hooks On FHIR 49.21    Channel Retry   

49.20.1Channel 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)

  • Interceptor Bean Types

49.20.2Property: Concurrent Consumers

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

49.20.3Property: 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

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

49.20.5Property: 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 = 

49.20.6Property: 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 mime types in the Channel Import service.
Applies to Modules
  • Channel Import
Default Value (no default)
Example Property
module.[MODULE_ID].config.etl_script.file = 

49.20.7Property: 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 mime types 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!';
}

49.20.8Property: Interceptor Bean Types

 
Property Name Interceptor Bean Types
Property Key
Property Type STRING
Description A comma or whitespace-separated list of bean classes to register as Smile CDR Interceptors.
Applies to Modules
  • CDA Exchange+
  • Channel Import
  • Cluster Manager
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIR Storage (DSTU2 RDBMS)
  • FHIR Storage (R3 RDBMS)
  • FHIR Storage (R4 RDBMS)
  • FHIR Storage (R5 RDBMS)
  • HL7 v2.x Listening Endpoint
  • HL7 v2.x Listening Endpoint (Deprecated)
  • Hybrid Providers REST Endpoint
  • MDM
  • SMART Outbound Security
  • Subscription Matcher (All FHIR Versions)
Default Value (no default)
Example Property
module.[MODULE_ID].config.interceptor_bean_types = 
   49.19    CDS Hooks On FHIR 49.21    Channel Retry