org.apache.camel.component.jt400
Class Jt400PgmEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.jt400.Jt400PgmEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId
public class Jt400PgmEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, suspend |
| Methods inherited from interface org.apache.camel.Service |
start |
Jt400PgmEndpoint
protected Jt400PgmEndpoint(String endpointUri,
Jt400Component component)
throws org.apache.camel.CamelException
- Creates a new AS/400 PGM CALL endpoint
- Throws:
org.apache.camel.CamelException
Jt400PgmEndpoint
public Jt400PgmEndpoint(String endpointUri,
String programToExecute,
Map<String,Object> parameters,
org.apache.camel.CamelContext camelContext)
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Throws:
Exception
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Throws:
Exception
isSingleton
public boolean isSingleton()
stop
public void stop()
throws Exception
- Specified by:
stop in interface org.apache.camel.Service- Overrides:
stop in class org.apache.camel.impl.ServiceSupport
- Throws:
Exception
isFieldIdxForOuput
public boolean isFieldIdxForOuput(int idx)
getOutputFieldLength
public int getOutputFieldLength(int idx)
getProgramToExecute
public String getProgramToExecute()
getiSeries
public com.ibm.as400.access.AS400 getiSeries()
setOutputFieldsIdx
public void setOutputFieldsIdx(String outputFieldsIdx)
setFieldsLength
public void setFieldsLength(String fieldsLength)
setGuiAvailable
public void setGuiAvailable(boolean guiAvailable)
throws PropertyVetoException
- Throws:
PropertyVetoException
isGuiAvailable
public boolean isGuiAvailable()
Apache CAMEL