public abstract class SapSenderBase extends SapFunctionFacade implements ISenderWithParameters
SapSystemImpl to use; required when attribute sapSystemName is empty| Modifier and Type | Field and Description |
|---|---|
protected ParameterList |
paramList |
log| Constructor and Description |
|---|
SapSenderBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter p) |
void |
close() |
void |
configure() |
com.sap.conn.jco.JCoDestination |
getDestination(PipeLineSession session,
SapSystemImpl sapSystem) |
String |
getLuwHandleSessionKey() |
ParameterList |
getParameterList() |
String |
getSapSystemNameParam() |
SapSystemImpl |
getSystem(ParameterValueList pvl) |
String |
getTid(com.sap.conn.jco.JCoDestination destination,
SapSystemImpl sapSystem) |
boolean |
isSynchronous() |
void |
open() |
Message |
sendMessage(Message message,
PipeLineSession session) |
void |
setLuwHandleSessionKey(String string) |
void |
setSapSystemNameParam(String string) |
protected void |
setSynchronous(boolean b) |
calculateStaticFieldIndices, closeFacade, findFieldIndex, functionCall2message, functionResult2message, getApplicationContext, getConfigurationClassLoader, getCorrelationIdFieldIndex, getCorrelationIdFieldName, getCorrelationIdFromField, getDomain, getFunctionName, getFunctionTemplate, getFunctionTemplate, getLogPrefix, getName, getPhysicalDestinationName, getReplyFieldIndex, getReplyFieldName, getRequestFieldIndex, getRequestFieldName, getSapSystem, getSapSystem, getSapSystemName, message2FunctionCall, message2FunctionResult, openFacade, setApplicationContext, setCorrelationIdFieldIndex, setCorrelationIdFieldName, setName, setParameters, setReplyFieldIndex, setReplyFieldName, setRequestFieldIndex, setRequestFieldName, setSapSystemNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsumesSessionVariablegetName, setNamegetApplicationContext, getNamegetConfigurationClassLoaderprotected ParameterList paramList
public void configure()
throws ConfigurationException
configure in interface IConfigurableconfigure in interface ISenderconfigure in class SapFunctionFacadeConfigurationExceptionpublic void open()
throws SenderException
open in interface ISenderSenderExceptionpublic Message sendMessage(Message message, PipeLineSession session) throws SenderException, TimeoutException
sendMessage in interface ISenderSenderExceptionTimeoutExceptionpublic SapSystemImpl getSystem(ParameterValueList pvl) throws SapException
SapExceptionpublic com.sap.conn.jco.JCoDestination getDestination(PipeLineSession session, SapSystemImpl sapSystem) throws SenderException, SapException, com.sap.conn.jco.JCoException
SenderExceptionSapExceptioncom.sap.conn.jco.JCoExceptionpublic String getTid(com.sap.conn.jco.JCoDestination destination, SapSystemImpl sapSystem) throws SapException, com.sap.conn.jco.JCoException
SapExceptioncom.sap.conn.jco.JCoExceptionpublic void addParameter(Parameter p)
addParameter in interface IWithParameterspublic ParameterList getParameterList()
getParameterList in interface IWithParameters@IbisDoc(value={"1","session key in which LUW information is stored. If set, actions that share a LUW-handle will be executed using the same destination. Can only be used for synchronous functions",""}) public void setLuwHandleSessionKey(String string)
@IbisDoc(value={"2","name of the parameter used to indicate the name of the {@link SapSystem} used by this object if the attribute <code>sapSystemName</code> is empty","sapSystemName"}) public void setSapSystemNameParam(String string)
@IbisDoc(value={"3","when <code>false</code>, the sender operates in RR mode: the a reply is expected from SAP, and the sender does not participate in a transaction. When <code>false</code>, the sender operates in FF mode: no reply is expected from SAP, and the sender joins the transaction, that must be present. The SAP transaction is committed right after the XA transaction is completed.","false"}) protected void setSynchronous(boolean b)
public String getLuwHandleSessionKey()
public String getSapSystemNameParam()
public boolean isSynchronous()
isSynchronous in interface ISenderCopyright © 2023 Frank!Framework. All rights reserved.