org.apache.camel.component.jt400
Class Jt400DataQueueEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.impl.ScheduledPollEndpoint<E>
          extended by org.apache.camel.impl.DefaultPollingEndpoint<Exchange>
              extended by org.apache.camel.component.jt400.Jt400DataQueueEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint<Exchange>

public class Jt400DataQueueEndpoint
extends DefaultPollingEndpoint<Exchange>

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<Exchange> createPollingConsumer()
           
 Producer<Exchange> 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, createExecutorService, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, 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<Exchange> createPollingConsumer()
                                                throws Exception
Specified by:
createPollingConsumer in interface Endpoint<Exchange>
Overrides:
createPollingConsumer in class DefaultEndpoint<Exchange>
Throws:
Exception

createProducer

public Producer<Exchange> 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