org.apache.camel.component.jt400
Class Jt400DataQueueEndpoint

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.impl.DefaultPollingEndpoint
                  extended by org.apache.camel.component.jt400.Jt400DataQueueEndpoint
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 Jt400DataQueueEndpoint
extends org.apache.camel.impl.DefaultPollingEndpoint

AS/400 Data queue endpoint


Nested Class Summary
static class Jt400DataQueueEndpoint.Format
          Enumeration of supported data formats
 
Constructor Summary
protected Jt400DataQueueEndpoint(String endpointUri, Jt400Component component)
          Creates a new AS/400 data queue endpoint
 
Method Summary
 org.apache.camel.PollingConsumer createPollingConsumer()
           
 org.apache.camel.Producer createProducer()
           
protected  com.ibm.as400.access.DataQueue getDataQueue()
           
 Jt400DataQueueEndpoint.Format getFormat()
           
protected  com.ibm.as400.access.AS400 getSystem()
           
 boolean isSingleton()
           
 void setCcsid(int ccsid)
           
 void setFormat(Jt400DataQueueEndpoint.Format format)
           
 void setGuiAvailable(boolean guiAvailable)
           
 
Methods inherited from class org.apache.camel.impl.DefaultPollingEndpoint
createConsumer
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createEndpointUri, createExchange, createExchange, createExchange, 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, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

Jt400DataQueueEndpoint

protected Jt400DataQueueEndpoint(String endpointUri,
                                 Jt400Component component)
                          throws org.apache.camel.CamelException
Creates a new AS/400 data queue endpoint

Throws:
org.apache.camel.CamelException
Method Detail

setCcsid

public void setCcsid(int ccsid)
              throws PropertyVetoException
Throws:
PropertyVetoException

setFormat

public void setFormat(Jt400DataQueueEndpoint.Format format)

getFormat

public Jt400DataQueueEndpoint.Format getFormat()

setGuiAvailable

public void setGuiAvailable(boolean guiAvailable)
                     throws PropertyVetoException
Throws:
PropertyVetoException

createPollingConsumer

public org.apache.camel.PollingConsumer createPollingConsumer()
                                                       throws Exception
Specified by:
createPollingConsumer in interface org.apache.camel.Endpoint
Overrides:
createPollingConsumer in class org.apache.camel.impl.DefaultEndpoint
Throws:
Exception

createProducer

public org.apache.camel.Producer createProducer()
                                         throws Exception
Throws:
Exception

getSystem

protected com.ibm.as400.access.AS400 getSystem()

getDataQueue

protected com.ibm.as400.access.DataQueue getDataQueue()

isSingleton

public boolean isSingleton()


Apache CAMEL