
public class GlueXmlMessageLayout extends GlueAbstractFixedLengthMessageLayout
Bean Property
- cacheManager : (필수) applicationContext.xml 의 Cache Manager의 bean id.
- msgParsingType : (선택) default는 'byte'
적용 우선순위
1. msgParsingType bean property의 값
2. glue.properties 의 msg.parsing.type 에 해당하는 값
3. default 값
- charset : (선택) default는 java.nio.charset.Charset.defaultCharset() 값임.
- msgParsingRule : (선택)
예제
사용 예# 1
사용 예# 2
사용 예# 3
참고 : [MSGFW001]-service.xml
참고 : [MSGFW001]-msg.xml
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_FILE_NAME |
logger, MSG_TYPE_BYTE, MSG_TYPE_STRING, RULE_NUMBER_NULL_TO_ZERO, RULE_STRING_ZERO_TO_SPACE| Constructor and Description |
|---|
GlueXmlMessageLayout() |
| Modifier and Type | Method and Description |
|---|---|
GlueMessage |
createMessageObject(String tc) |
List<GlueMessageAttributeDefinition> |
getAttributesDefinition(String tcid) |
afterPropertiesSet, destroy, getAttributes, getCacheManager, getCharset, getMsgParsingRule, getMsgParsingType, makeMessageParsing, makeMessageString, setCacheManager, setCharset, setMsgParsingRule, setMsgParsingTypepublic static final String MSG_FILE_NAME
public List<GlueMessageAttributeDefinition> getAttributesDefinition(String tcid) throws GlueMessageDefinitionException
getAttributesDefinition in class GlueAbstractFixedLengthMessageLayoutGlueMessageDefinitionExceptionpublic GlueMessage createMessageObject(String tc)
createMessageObject in class GlueAbstractFixedLengthMessageLayoutCopyright © 2013–2021 POSCO ICT. All rights reserved.