org.apache.camel.component.jt400
Class Jt400DataQueueEndpoint

java.lang.Object
  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:
CamelContextAware, Endpoint, IsSingleton

public class Jt400DataQueueEndpoint
extends 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
 PollingConsumer createPollingConsumer()
           
 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)
           
 
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
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Jt400DataQueueEndpoint

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

Throws:
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()

createPollingConsumer

public PollingConsumer createPollingConsumer()
                                      throws Exception
Specified by:
createPollingConsumer in interface Endpoint
Overrides:
createPollingConsumer in class DefaultEndpoint
Throws:
Exception

createProducer

public 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