Package org.openehealth.ipf.boot.hl7v2
Class IpfHl7v2ConfigurationProperties
java.lang.Object
org.openehealth.ipf.boot.hl7v2.IpfHl7v2ConfigurationProperties
@ConfigurationProperties(prefix="ipf.hl7v2")
public class IpfHl7v2ConfigurationProperties
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCharset used for decoding and encoding HL7 messageslong
Duration in milliseconds for which correlated message IDs remain activeWhether ID generator to use.boolean
Whether to instantiate a continuation cacheboolean
Whether to convert line feeds to proper segment separators before parsing startsvoid
setCaching
(boolean caching) Whether to instantiate a continuation cachevoid
setCharset
(String charset) void
setConvertLinefeed
(boolean convertLinefeed) Whether to convert line feeds to proper segment separators before parsing startsvoid
setCorrelationTimeout
(long correlationTimeout) Duration in milliseconds for which correlated message IDs remain activevoid
setGenerator
(String generator) Whether ID generator to use.
-
Constructor Details
-
IpfHl7v2ConfigurationProperties
public IpfHl7v2ConfigurationProperties()
-
-
Method Details
-
setCharset
-
getCharset
Charset used for decoding and encoding HL7 messages -
isConvertLinefeed
public boolean isConvertLinefeed()Whether to convert line feeds to proper segment separators before parsing starts -
setConvertLinefeed
public void setConvertLinefeed(boolean convertLinefeed) Whether to convert line feeds to proper segment separators before parsing starts -
isCaching
public boolean isCaching()Whether to instantiate a continuation cache -
setCaching
public void setCaching(boolean caching) Whether to instantiate a continuation cache -
getGenerator
Whether ID generator to use. One of "file" (default), "uuid", "nano". Alternatively, you can provide your own bean of typeIDGenerator
. -
setGenerator
Whether ID generator to use. One of "file" (default), "uuid", "nano". Alternatively, you can provide your own bean of typeIDGenerator
. -
getCorrelationTimeout
public long getCorrelationTimeout()Duration in milliseconds for which correlated message IDs remain active -
setCorrelationTimeout
public void setCorrelationTimeout(long correlationTimeout) Duration in milliseconds for which correlated message IDs remain active -
getIdGenerator
-