public class AS2Consumer extends org.apache.camel.support.component.AbstractApiConsumer<AS2ApiName,AS2Configuration> implements org.apache.http.protocol.HttpRequestHandler
| Constructor and Description |
|---|
AS2Consumer(AS2Endpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
void |
interceptPropertyNames(Set<String> propertyNames) |
protected int |
poll() |
doInvokeMethod, interceptProperties, interceptResult, isGreedy, isSplitResult, setSplitResult, splitResultafterPoll, beforePoll, doInit, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, processEmptyMessage, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startSchedulercreateUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, getRouteId, handleException, handleException, setExceptionHandler, setRoute, setRouteId, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, 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 AS2Consumer(AS2Endpoint endpoint, org.apache.camel.Processor processor)
public void interceptPropertyNames(Set<String> propertyNames)
interceptPropertyNames in interface org.apache.camel.support.component.PropertyNamesInterceptorinterceptPropertyNames in class org.apache.camel.support.component.AbstractApiConsumer<AS2ApiName,AS2Configuration>protected int poll()
throws Exception
poll in class org.apache.camel.support.component.AbstractApiConsumer<AS2ApiName,AS2Configuration>Exceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.ScheduledPollConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.ScheduledPollConsumerExceptionpublic void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
handle in interface org.apache.http.protocol.HttpRequestHandlerorg.apache.http.HttpExceptionIOExceptionApache Camel