Introduction : we can able to get SCA component details by using "SCAServices" we can get those details dynamically. Instead of using the custom mediation properties we can get those details by using "MediationServices" class in mediation component dynamically.
Code :
For SCA component :
import com.ibm.wsspi.sibx.mediation.esb.*;
SCAServices scaServices = getSCAServices();
String moduleName = scaServices.getModuleName();
String SCAcomponentName = scaServices.getComponentName();
For MEDIATION components :
import com.ibm.wsspi.sibx.mediation.*;
MediationServices mediationServices = getMediationServices();
String mediationPrimitiveName = mediationServices.getMediationName() ;
String mediationPrimitiveDisplyName = mediationServices.getMediationDisplayName();
also we can able to get terminal details like : input/output terminal name, list of input/output terminals list(if exists)
Code :
For SCA component :
import com.ibm.wsspi.sibx.mediation.esb.*;
SCAServices scaServices = getSCAServices();
String moduleName = scaServices.getModuleName();
String SCAcomponentName = scaServices.getComponentName();
For MEDIATION components :
import com.ibm.wsspi.sibx.mediation.*;
MediationServices mediationServices = getMediationServices();
String mediationPrimitiveName = mediationServices.getMediationName() ;
String mediationPrimitiveDisplyName = mediationServices.getMediationDisplayName();
also we can able to get terminal details like : input/output terminal name, list of input/output terminals list(if exists)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.