public class Jt400PgmEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Modifier | Constructor and Description |
|---|---|
protected |
Jt400PgmEndpoint(String endpointUri,
Jt400Component component)
Creates a new AS/400 PGM CALL endpoint using a default connection pool
provided by the component.
|
protected |
Jt400PgmEndpoint(String endpointUri,
Jt400Component component,
com.ibm.as400.access.AS400ConnectionPool connectionPool)
Creates a new AS/400 PGM CALL endpoint using the specified connection
pool.
|
|
Jt400PgmEndpoint(String endpointUri,
String programToExecute,
Map<String,Object> parameters,
org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
Jt400DataQueueEndpoint.Format |
getFormat() |
com.ibm.as400.access.AS400 |
getiSeries()
Obtains an
AS400 object that connects to this endpoint. |
int |
getOutputFieldLength(int idx) |
String |
getProgramToExecute() |
boolean |
isFieldIdxForOuput(int idx) |
boolean |
isGuiAvailable() |
boolean |
isSingleton() |
void |
releaseiSeries(com.ibm.as400.access.AS400 iSeries)
Releases a previously obtained
AS400 object from use. |
void |
setFieldsLength(String fieldsLength) |
void |
setFormat(Jt400DataQueueEndpoint.Format format) |
void |
setGuiAvailable(boolean guiAvailable) |
void |
setOutputFieldsIdx(String outputFieldsIdx) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendprotected Jt400PgmEndpoint(String endpointUri, Jt400Component component) throws org.apache.camel.CamelException
NullPointerException - if component is nullorg.apache.camel.CamelExceptionprotected Jt400PgmEndpoint(String endpointUri, Jt400Component component, com.ibm.as400.access.AS400ConnectionPool connectionPool) throws org.apache.camel.CamelException
org.apache.camel.CamelExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public boolean isFieldIdxForOuput(int idx)
public int getOutputFieldLength(int idx)
public String getProgramToExecute()
public com.ibm.as400.access.AS400 getiSeries()
AS400 object that connects to this endpoint. Since
these objects represent limited resources, clients have the
responsibility of releasing them when
done.AS400 object that connects to this endpointpublic void releaseiSeries(com.ibm.as400.access.AS400 iSeries)
AS400 object from use.iSeries - a previously obtained AS400 objectpublic void setOutputFieldsIdx(String outputFieldsIdx)
public void setFieldsLength(String fieldsLength)
public void setFormat(Jt400DataQueueEndpoint.Format format)
public Jt400DataQueueEndpoint.Format getFormat()
public void setGuiAvailable(boolean guiAvailable)
throws PropertyVetoException
PropertyVetoExceptionpublic boolean isGuiAvailable()
Apache Camel