Class PollThor

All Implemented Interfaces:
AdaptrisComponent, AdaptrisMessageProducer, AdaptrisMessageSender, AdaptrisMessageWorker, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator

@ComponentProfile(summary="Poll HPCC for the existence of a logical file", tag="producer,hpcc,dfuplus,thor", recommended=DfuplusConnection.class) public class PollThor extends SingleFileRequest
Poll Thor for the existence of a logical file.

The use case for this service is, if there is a long-running Job on Thor (scheduled or otherwise) that creates a logical file; you need to wait for the existence of this file before carrying on with the rest of the adapter workflow (usually despraying the logical file that was created).

Note that although this is an implementation of AdaptrisMessageProducerImp the AdaptrisMessageProducer#produce() methods will throw a UnsupportedOperationException. It should be used as part of a StandaloneRequestor where the SingleFileRequest.getLogicalFilename() returns the logical filename of the file that you wish to retrieve.

In the adapter configuration file this class is aliased as poll-thor which is the preferred alternative to the fully qualified classname when building your configuration.