public class GlueDBMessageLayout extends GlueAbstractFixedLengthMessageLayout
Bean Property - cacheManager : (필수) applicationContext.xml 의 Cache Manager의 bean id. - dao : (필수) applicationContext.xml 의 Dao의 bean id. - msgParsingType : (선택) default는 'byte' 적용 우선순위 1. msgParsingType bean property의 값 2. glue.properties 의 msg.parsing.type 에 해당하는 값 3. default 값 - charset : (선택) default는 java.nio.charset.Charset.defaultCharset() 값임. - queryId : (선택) default는 'get_msg_layout_query' 임. query file에 query id가 'get_msg_layout_query' 이 아닐 경우 사용한다. - msgParsingRule : (선택) 예제사용 예# 1 사용 예# 2 사용 예# 3 사용 예# 4 참고 : [MSGFW001]-service.xml 참고 : [layout]-query.glue_sql
logger, MSG_TYPE_BYTE, MSG_TYPE_STRING, RULE_NUMBER_NULL_TO_ZERO, RULE_STRING_ZERO_TO_SPACE
Constructor and Description |
---|
GlueDBMessageLayout() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
GlueMessage |
createMessageObject(String tc) |
List<GlueMessageAttributeDefinition> |
getAttributesDefinition(String tcid) |
GlueGenericJdbcDao |
getDao() |
String |
getQueryId() |
void |
setDao(GlueGenericJdbcDao dao)
setter method for DI.
|
void |
setQueryId(String queryId)
setter method for DI.
|
destroy, getAttributes, getCacheManager, getCharset, getMsgParsingRule, getMsgParsingType, makeMessageParsing, makeMessageString, setCacheManager, setCharset, setMsgParsingRule, setMsgParsingType
public GlueGenericJdbcDao getDao()
public void setDao(GlueGenericJdbcDao dao)
dao
- public String getQueryId()
public void setQueryId(String queryId)
queryId
- public List<GlueMessageAttributeDefinition> getAttributesDefinition(String tcid) throws GlueMessageDefinitionException
getAttributesDefinition
in class GlueAbstractFixedLengthMessageLayout
GlueMessageDefinitionException
public GlueMessage createMessageObject(String tc)
createMessageObject
in class GlueAbstractFixedLengthMessageLayout
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class GlueAbstractFixedLengthMessageLayout
Exception
Copyright © 2013–2021 POSCO ICT. All rights reserved.