public class MllpComponent
extends org.apache.camel.impl.DefaultComponent
MllpEndpoint
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_LOG_PHI |
static int |
DEFAULT_LOG_PHI_MAX_BYTES |
static String |
MLLP_DEFAULT_CHARSET_PROPERTY |
static String |
MLLP_LOG_PHI_MAX_BYTES_PROPERTY |
static String |
MLLP_LOG_PHI_PROPERTY |
Constructor and Description |
---|
MllpComponent() |
MllpComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uriString,
String remaining,
Map<String,Object> parameters) |
MllpConfiguration |
getConfiguration() |
static Charset |
getDefaultCharset() |
static int |
getLogPhiMaxBytes() |
boolean |
hasConfiguration() |
static boolean |
hasDefaultCharset() |
static boolean |
hasLogPhi() |
static boolean |
hasLogPhiMaxBytes() |
static boolean |
isLogPhi() |
void |
setConfiguration(MllpConfiguration configuration)
Sets the default configuration to use when creating MLLP endpoints.
|
static void |
setDefaultCharset(Charset defaultCharset) |
static void |
setDefaultCharset(String defaultCharacterSetName)
Set the default character set to use for byte[] to/from String conversions.
|
static void |
setLogPhi(Boolean logPhi)
Set the component to log PHI data.
|
static void |
setLogPhiMaxBytes(Integer logPhiMaxBytes)
Set the maximum number of bytes of PHI that will be logged in a log entry.
|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public static final String MLLP_LOG_PHI_PROPERTY
public static final String MLLP_LOG_PHI_MAX_BYTES_PROPERTY
public static final String MLLP_DEFAULT_CHARSET_PROPERTY
public static final boolean DEFAULT_LOG_PHI
public static final int DEFAULT_LOG_PHI_MAX_BYTES
public MllpComponent()
public MllpComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uriString, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public static boolean hasLogPhi()
public static boolean isLogPhi()
public static void setLogPhi(Boolean logPhi)
logPhi
- true enables PHI logging; false disables it.public static boolean hasLogPhiMaxBytes()
public static int getLogPhiMaxBytes()
public static void setLogPhiMaxBytes(Integer logPhiMaxBytes)
logPhiMaxBytes
- the maximum number of bytes to log.public static boolean hasDefaultCharset()
public static Charset getDefaultCharset()
public static void setDefaultCharset(String defaultCharacterSetName)
defaultCharacterSetName
- the name of the Java Charset.public static void setDefaultCharset(Charset defaultCharset)
public boolean hasConfiguration()
public MllpConfiguration getConfiguration()
public void setConfiguration(MllpConfiguration configuration)
configuration
- the default configuration.Apache Camel