public class GlueMessageSender extends GlueActivity<GlueContext>
Activity Property - sender : (필수) Message(TC,File)을 송신 하는 component. application.xml 의 bean id. - service-broker : (필수) u-CUBE4 의 service broker name. - interface-id : (필수) u-CUBE4 의 interface id. - interface-type : (필수) interface type. tc 또는 file - message : (필수) 보내고자 하는 message를 담고 있는 ctx의 key. String, List < String >, Map < String, List< String > > 형태의 data가 ctx에 담겨있음. 예제사용 예# 1 참고 : applicationContext.xml 참고 : Java Code (Custom) ctx.put( "stringObj", "MSGFW001........................." ); List
Glue_SEND tcList = new ArrayList (); tcList.add( "MSGFW001........................." ); tcList.add( "MSGFW001........................." ); ctx.put( "tcList", tcList ); Map > tcListMap = new HashMap >(); map.put("MSGFW001", tcList); map.put("MSGFW002", tcList2); ctx.put( "tcListMap", tcListMap ); ctx.put( "fileObj", "/APP/CHAIN/MSGFW001.dat");
dynamicProperties, logger
Constructor and Description |
---|
GlueMessageSender() |
Modifier and Type | Method and Description |
---|---|
String |
runActivity(GlueContext ctx)
Sub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransition
public String runActivity(GlueContext ctx)
GlueActivity
runActivity
in class GlueActivity<GlueContext>
ctx
- GlueContext예)==> return "success"이면 BizLogic Activity 를 실행함.
Copyright © 2023–2024 POSCO DX. All rights reserved.