|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.impl.ScheduledPollConsumer
org.neociclo.accord.odetteftp.camel.OdetteConsumer
public class OdetteConsumer
The Odette FTP Poll Consumer will connect to an Odette server and consume incoming files or delivery notifications. If the Odette FTP Producer associated to the same endpoint receives files or notifications to be sent, they will during the same session
Field Summary |
---|
Fields inherited from class org.apache.camel.impl.DefaultConsumer |
---|
log |
Constructor Summary | |
---|---|
OdetteConsumer(OdetteEndpoint endpoint,
org.apache.camel.Processor processor,
OdetteOperations operations)
|
Method Summary | |
---|---|
protected void |
poll()
|
void |
processOdetteMessage(DeliveryNotification notif)
|
void |
processOdetteMessage(VirtualFile incomingVirtualFile)
Consumes data from the Odette server |
Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
---|
doStart, doStop, getDelay, getInitialDelay, getPollStrategy, getTimeUnit, isPollAllowed, isSuspended, isUseFixedDelay, resume, run, setDelay, setInitialDelay, setPollStrategy, setTimeUnit, setUseFixedDelay, suspend |
Methods inherited from class org.apache.camel.impl.DefaultConsumer |
---|
getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
---|
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Constructor Detail |
---|
public OdetteConsumer(OdetteEndpoint endpoint, org.apache.camel.Processor processor, OdetteOperations operations)
Method Detail |
---|
public void processOdetteMessage(VirtualFile incomingVirtualFile)
Consumes data from the Odette server
incomingVirtualFile
- om
- protected void poll() throws Exception
poll
in class org.apache.camel.impl.ScheduledPollConsumer
Exception
public void processOdetteMessage(DeliveryNotification notif)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |