@Component(value="mllp")
public class MllpComponent
extends org.apache.camel.support.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, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.support.DefaultComponentExceptionpublic 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