Package org.openehealth.ipf.boot.hl7v2
Class IpfHl7v2AutoConfiguration
java.lang.Object
org.openehealth.ipf.boot.hl7v2.IpfHl7v2AutoConfiguration
@Configuration
@AutoConfigureAfter(IpfAtnaAutoConfiguration.class)
@EnableConfigurationProperties(IpfHl7v2ConfigurationProperties.class)
public class IpfHl7v2AutoConfiguration
extends Object
Configure a basic IPF setup, mostly configuring HL7v2 and Mapping stuff
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhapiContext
(CustomModelClassFactory modelClassFactory, ProfileStore profileStore, ValidationContext validationContext, ParserConfiguration parserConfiguration, ObjectProvider<IDGenerator> idGenerator) org.apache.camel.component.netty.NettyCamelStateCorrelationManager
hl7Correlation
(HapiContext hapiContext) interactiveContinuationStorage
(CacheManager cacheManager) mllpDispatcher
(CamelContext camelContext) unsolicitedFragmentationStorage
(CacheManager cacheManager)
-
Constructor Details
-
IpfHl7v2AutoConfiguration
-
-
Method Details
-
mllpModelClassFactory
@Bean @ConditionalOnMissingBean(CustomModelClassFactory.class) public CustomModelClassFactory mllpModelClassFactory() -
profileStore
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.conf.store.ProfileStore.class) public ProfileStore profileStore() -
validationContext
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.validation.ValidationContext.class) public ValidationContext validationContext() -
fileGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="file", matchIfMissing=true) public IDGenerator fileGenerator() -
uuidGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="uuid") public IDGenerator uuidGenerator() -
nanoGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="nano") public IDGenerator nanoGenerator() -
parserConfiguration
@ConfigurationProperties(prefix="ipf.hl7v2.parser") @Bean public ParserConfiguration parserConfiguration() -
hapiContext
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.HapiContext.class) public HapiContext hapiContext(CustomModelClassFactory modelClassFactory, ProfileStore profileStore, ValidationContext validationContext, ParserConfiguration parserConfiguration, ObjectProvider<IDGenerator> idGenerator) -
hapiContextCustomizer
@Bean @ConditionalOnMissingBean(HapiContextCustomizer.class) public HapiContextCustomizer hapiContextCustomizer() -
mllpDispatcher
@Bean @ConditionalOnMissingBean(ConsumerDispatchingInterceptor.class) @ConditionalOnBean(org.apache.camel.CamelContext.class) public ConsumerDispatchingInterceptor mllpDispatcher(CamelContext camelContext) -
interactiveContinuationStorage
@Bean @ConditionalOnMissingBean(InteractiveContinuationStorage.class) @ConditionalOnSingleCandidate(org.springframework.cache.CacheManager.class) @ConditionalOnProperty("ipf.hl7v2.caching") public InteractiveContinuationStorage interactiveContinuationStorage(CacheManager cacheManager) -
unsolicitedFragmentationStorage
@Bean @ConditionalOnMissingBean(UnsolicitedFragmentationStorage.class) @ConditionalOnSingleCandidate(org.springframework.cache.CacheManager.class) @ConditionalOnProperty("ipf.hl7v2.caching") public UnsolicitedFragmentationStorage unsolicitedFragmentationStorage(CacheManager cacheManager) -
hl7Correlation
@Bean(name="hl7Correlation") @ConditionalOnMissingBean(org.apache.camel.component.netty.NettyCamelStateCorrelationManager.class) public org.apache.camel.component.netty.NettyCamelStateCorrelationManager hl7Correlation(HapiContext hapiContext)
-