@UriEndpoint(scheme="sap-idoclist-server", consumerClass=SapTransactionalIDocListConsumer.class, syntax="sap-idoclist-server:server:idocType:idocTypeExtension:systemRelease:applicationRelease", consumerOnly=true, title="SAP IDoc List Server") public class SapTransactionalIDocListServerEndpoint extends org.apache.camel.impl.DefaultEndpoint
Modifier and Type | Field and Description |
---|---|
protected String |
applicationRelease |
protected String |
idocType |
protected String |
idocTypeExtension |
protected boolean |
propagateExceptions |
protected String |
serverName |
protected boolean |
stateful |
protected String |
systemRelease |
Constructor and Description |
---|
SapTransactionalIDocListServerEndpoint() |
SapTransactionalIDocListServerEndpoint(String uri,
SapTransactionalIDocListServerComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.fusesource.camel.component.sap.model.idoc.DocumentList |
createDocumentList() |
org.apache.camel.Producer |
createProducer() |
String |
getApplicationRelease() |
SapTransactionalIDocListServerComponent |
getComponent() |
protected com.sap.conn.idoc.IDocRepository |
getIDocRepository() |
String |
getIdocType() |
String |
getIdocTypeExtension() |
protected com.sap.conn.idoc.jco.JCoIDocServer |
getServer() |
String |
getServerName() |
String |
getSystemRelease() |
boolean |
isPropagateExceptions() |
boolean |
isSingleton() |
boolean |
isStateful() |
void |
setApplicationRelease(String applicationRelease) |
void |
setIdocType(String idocType) |
void |
setIdocTypeExtension(String idocTypeExtension) |
void |
setPropagateExceptions(boolean propagateExceptions) |
void |
setServerName(String serverName) |
void |
setStateful(boolean stateful) |
void |
setSystemRelease(String systemRelease) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
@UriPath(name="server", description="Specifies the server this endpoint receives an IDoc from") @Metadata(required="true") protected String serverName
@UriPath(name="idocType", description="Specifies the Basic IDoc Type of an IDoc consumed by this endpoint") @Metadata(required="true") protected String idocType
@UriPath(name="idocTypeExtension", description="Specifies the IDoc Type Extension, if any, of an IDoc consumed by this endpoint") @Metadata(required="false") protected String idocTypeExtension
@UriPath(name="systemRelease", description="Specifies the associated SAP Basis Release, if any, of an IDoc consumed by this endpoint") @Metadata(required="false") protected String systemRelease
@UriPath(name="applicationRelease", description="Specifes the associated Application Release, if any, of an IDoc consumed by this endpoint") @Metadata(required="false") protected String applicationRelease
@UriParam(name="propagateExceptions", description="When true, specifies that this endpoint will propagate exceptions back to the caller in SAP instead of the exchange\'s exception handler", defaultValue="false") protected boolean propagateExceptions
@UriParam(name="stateful", description="When true, specifies that this endpoint will initiate an SAP stateful session", defaultValue="false") protected boolean stateful
public SapTransactionalIDocListServerEndpoint()
public SapTransactionalIDocListServerEndpoint(String uri, SapTransactionalIDocListServerComponent component)
public String getServerName()
public void setServerName(String serverName)
public String getIdocType()
public void setIdocType(String idocType)
public String getIdocTypeExtension()
public void setIdocTypeExtension(String idocTypeExtension)
public String getSystemRelease()
public void setSystemRelease(String systemRelease)
public String getApplicationRelease()
public void setApplicationRelease(String applicationRelease)
public boolean isPropagateExceptions()
public void setPropagateExceptions(boolean propagateExceptions)
public boolean isStateful()
public void setStateful(boolean stateful)
public boolean isSingleton()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public org.fusesource.camel.component.sap.model.idoc.DocumentList createDocumentList() throws Exception
Exception
public SapTransactionalIDocListServerComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
protected com.sap.conn.idoc.IDocRepository getIDocRepository() throws Exception
Exception
protected com.sap.conn.idoc.jco.JCoIDocServer getServer()
Apache Camel