@UriEndpoint(scheme="jkniv-jco", title="jkniv-jco", syntax="jkniv-jco:name", label="jkniv-jco") public class SapJcoEndpoint extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
SapJcoEndpoint() |
SapJcoEndpoint(java.lang.String endpointUri) |
SapJcoEndpoint(java.lang.String uri,
SapJcoComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
<T> java.lang.Class<T> |
getClassToParserResultStrategy() |
java.lang.String |
getName() |
java.lang.String |
getParserResultStrategy()
Class name from implementation of
ParserResult |
java.lang.String |
getPrefixParams()
The prefix name of parameters.
|
java.util.Properties |
getPropSapConnection() |
java.lang.String |
getSapDestName()
The name of SAP
JCoDestination name that identifies a physical destination of a function call. |
java.lang.String |
getSapFunction()
The name of SAP
JCoFunction |
java.lang.String |
getSapJcoTable()
The name of SAP
JCoTable that encapsulates a database table |
java.lang.String |
getSapJcoTableIn()
The name of SAP
JCoTable that encapsulates a input of table parameters |
boolean |
isSingleton() |
boolean |
isSupportsNull()
When
supportsNull is true the list of result could be null values. |
boolean |
isUseHeaderAsParam()
Parameters of JCo.
|
void |
setName(java.lang.String name)
Some description of this option, and what it does
|
void |
setParserResultStrategy(java.lang.String parserResultStrategy)
Define the class name that implements
ParserResult |
void |
setPrefixParams(java.lang.String prefixParams)
Define prefix name for JCo parameters.
|
void |
setPropSapConnection(java.util.Properties propSapConnection) |
void |
setSapDestName(java.lang.String sapDestName)
Set the name of SAP
JCoDestination name that identifies a physical destination of a function call |
void |
setSapFunction(java.lang.String sapFunction)
Define the name of SAP
JCoFunction |
void |
setSapJcoTable(java.lang.String sapJcoTable)
The name of SAP
JCoTable |
void |
setSapJcoTableIn(java.lang.String sapJcoTableIn)
The name of SAP
JCoTable |
void |
setSupportsNull(boolean supportsNull)
set
true to support null values at result list. |
void |
setUseHeaderAsParam(boolean useHeaderAsParam)
Define if JCo parameters are in header message.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, 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
public SapJcoEndpoint()
public SapJcoEndpoint(java.lang.String uri, SapJcoComponent component)
public SapJcoEndpoint(java.lang.String endpointUri)
public org.apache.camel.Producer createProducer() throws java.lang.Exception
java.lang.Exception
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws java.lang.Exception
java.lang.Exception
public boolean isSingleton()
public void setName(java.lang.String name)
name
- endpointpublic java.lang.String getName()
public java.lang.String getSapFunction()
JCoFunction
JCoFunction
public void setSapFunction(java.lang.String sapFunction)
JCoFunction
sapFunction
- name of SAP functionpublic java.lang.String getSapDestName()
JCoDestination
name that identifies a physical destination of a function call.
It contains all required properties in order to connect to an SAP system.JCoDestination
JCoDestination
public void setSapDestName(java.lang.String sapDestName)
JCoDestination
name that identifies a physical destination of a function callsapDestName
- the name of JCoDestination
public java.lang.String getSapJcoTable()
JCoTable
that encapsulates a database tableJCoTable
.JCoTable
public void setSapJcoTable(java.lang.String sapJcoTable)
JCoTable
sapJcoTable
- name of SAP JCoTable
public java.lang.String getSapJcoTableIn()
JCoTable
that encapsulates a input of table parametersJCoTable
.JCoTable
public void setSapJcoTableIn(java.lang.String sapJcoTableIn)
JCoTable
sapJcoTableIn
- name of SAP JCoTable
public java.lang.String getPrefixParams()
SAPJco_
public void setPrefixParams(java.lang.String prefixParams)
SAPJco_
prefixParams
- name of prefixpublic boolean isUseHeaderAsParam()
public void setUseHeaderAsParam(boolean useHeaderAsParam)
useHeaderAsParam
- parameters from JCo come from header messagepublic boolean isSupportsNull()
supportsNull
is true
the list of result could be null values.false
if result of JCo function supports null
values, true
otherwise.public void setSupportsNull(boolean supportsNull)
true
to support null values at result list.supportsNull
- indicate if result list could be contains null
values.public java.lang.String getParserResultStrategy()
ParserResult
ParserResult
public <T> java.lang.Class<T> getClassToParserResultStrategy()
public void setParserResultStrategy(java.lang.String parserResultStrategy)
ParserResult
parserResultStrategy
- class name to parse resultorg.apache.camel.RuntimeCamelException
- when net.sf.jkniv.camel.sap.jco3.ParserResult
implementation cannot be foundpublic void setPropSapConnection(java.util.Properties propSapConnection)
public java.util.Properties getPropSapConnection()
Copyright © 2012–2020 Jkniv. All rights reserved.