@ComponentProfile(summary="Changes matching metadata to uppercase", tag="service,metadata") public class MetadataValueToUpperCase extends ReformatMetadata
Each matching metadata key from ReformatMetadata.getMetadataKeyRegexp()
will be changed to upper case.
In the adapter configuration file this class is aliased as metadata-value-to-upper-case which is the preferred alternative to the fully qualified classname when building your configuration.
MetadataServiceImpl.LogWrapper
DEBUG, ERROR, INFO, TRACE, WARN
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
MetadataValueToUpperCase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
reformat(java.lang.String toChange,
java.lang.String msgCharset)
Reformat a metadata value
|
doService, getMetadataKeyRegexp, setMetadataKeyRegexp
closeService, getMetadataLogger, initService, logMetadata, logMetadata, logMetadata, logMetadata, prepare, setMetadataLogger, withMetadataLogger
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reformat
public java.lang.String reformat(java.lang.String toChange, java.lang.String msgCharset)
MetadataReformatter
toChange
- the string to reformatmsgCharset
- the charset of the message