public class SoroushBotDownloadFileProducer
extends org.apache.camel.support.DefaultProducer
SoroushAction.downloadFile e.g. "soroush:downloadFile/[token]"
if you pass a message to this endpoint, it tries to download the resource (SoroushMessage.fileUrl and
SoroushMessage.thumbnailUrl) if provided and store them in SoroushMessage.file or
SoroushMessage.thumbnail.| Constructor and Description |
|---|
SoroushBotDownloadFileProducer(SoroushBotEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange) |
createExchange, doStart, doStop, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic SoroushBotDownloadFileProducer(SoroushBotEndpoint endpoint)
Apache Camel