|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
org.apache.camel.component.http.HttpEndpoint
org.apache.camel.component.servlet.ServletEndpoint
org.apache.camel.component.gae.task.GTaskEndpoint
public class GTaskEndpoint
Represents a Google App Engine Task Queueing endpoint.
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
GTaskEndpoint(String endpointUri,
org.apache.camel.component.servlet.ServletComponent component,
URI httpUri,
org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager,
org.apache.camel.component.http.HttpClientConfigurer clientConfigurer)
|
|
| Method Summary | |
|---|---|
org.apache.camel.Producer |
createProducer()
|
org.apache.camel.component.http.HttpBinding |
getBinding()
Proxies the HttpBinding returned by super#getBinding()
with a dynamic proxy. |
InboundBinding<GTaskEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> |
getInboundBinding()
|
OutboundBinding<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void> |
getOutboundBinding()
|
com.google.appengine.api.taskqueue.Queue |
getQueue()
|
String |
getWorkerRoot()
|
void |
setInboundBinding(InboundBinding<GTaskEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> inboundBinding)
|
void |
setOutboundBinding(OutboundBinding<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void> outboundBinding)
|
void |
setQueue(com.google.appengine.api.taskqueue.Queue queue)
|
void |
setWorkerRoot(String workerRoot)
Sets the web hook path root. |
| Methods inherited from class org.apache.camel.component.servlet.ServletEndpoint |
|---|
createConsumer, getServletName, isLenientProperties, setServletName |
| Methods inherited from class org.apache.camel.component.http.HttpEndpoint |
|---|
connect, createHttpClient, createPollingConsumer, disconnect, getAuthMethodPriority, getClientParams, getHeaderFilterStrategy, getHttpClientConfigurer, getHttpConnectionManager, getHttpMethodRestrict, getHttpUri, getPath, getPort, getProtocol, getProxyHost, getProxyPort, getResponseBufferSize, getUrlRewrite, isBridgeEndpoint, isChunked, isDisableStreamCache, isMatchOnUriPrefix, isSingleton, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAuthMethodPriority, setBinding, setBridgeEndpoint, setChunked, setClientParams, setDisableStreamCache, setHeaderFilterStrategy, setHttpClientConfigurer, setHttpConnectionManager, setHttpMethodRestrict, setHttpUri, setMatchOnUriPrefix, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferException, setUrlRewrite |
| Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint |
|---|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public GTaskEndpoint(String endpointUri,
org.apache.camel.component.servlet.ServletComponent component,
URI httpUri,
org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager,
org.apache.camel.component.http.HttpClientConfigurer clientConfigurer)
throws URISyntaxException
URISyntaxException| Method Detail |
|---|
public OutboundBinding<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void> getOutboundBinding()
getOutboundBinding in interface OutboundBindingSupport<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void>public void setOutboundBinding(OutboundBinding<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void> outboundBinding)
setOutboundBinding in interface OutboundBindingSupport<GTaskEndpoint,com.google.appengine.api.taskqueue.TaskOptions,Void>public InboundBinding<GTaskEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> getInboundBinding()
public void setInboundBinding(InboundBinding<GTaskEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> inboundBinding)
public org.apache.camel.component.http.HttpBinding getBinding()
HttpBinding returned by super#getBinding()
with a dynamic proxy. The proxy's invocation handler further delegates to
InboundBinding.readRequest(org.apache.camel.Endpoint, Exchange, Object) .
getBinding in class org.apache.camel.component.http.HttpEndpointHttpBinding.public String getWorkerRoot()
setWorkerRoot(String)public void setWorkerRoot(String workerRoot)
workerRoot - the assumed web hook path root. The default is worker.
The servlet handling the callback from the task queueing service should have
a /worker/* servlet mapping in this case. If another servlet mapping
is used it must be set here accordingly.public com.google.appengine.api.taskqueue.Queue getQueue()
public void setQueue(com.google.appengine.api.taskqueue.Queue queue)
public org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointcreateProducer in class org.apache.camel.component.servlet.ServletEndpointException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||