public class ExternalCallProducer
extends org.apache.camel.impl.DefaultProducer
Constructor and Description |
---|
ExternalCallProducer(ExternalCallEndpoint externalCallEndpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeExternalCall(org.apache.camel.Exchange exchange,
String targetURI) |
protected void |
finalizeExternalCall(org.apache.camel.Exchange exchange,
ExternalCall externalCall,
ExternalCallService service) |
ExternalCallEndpoint |
getEndpoint() |
protected Message |
getMessage(org.apache.camel.Exchange exchange) |
protected String |
getOperation(org.apache.camel.Exchange exchange) |
protected String |
getOperationKey(org.apache.camel.Exchange exchange) |
protected ExternalCallService |
getService(org.apache.camel.Exchange exchange) |
protected String |
getTargetURI(org.apache.camel.Exchange exchange) |
protected ExternalCall |
prepareExternalCall(String operation,
String key,
Message message,
ExternalCallService service) |
void |
process(org.apache.camel.Exchange exchange) |
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ExternalCallProducer(ExternalCallEndpoint externalCallEndpoint)
protected ExternalCall prepareExternalCall(String operation, String key, Message message, ExternalCallService service)
protected void executeExternalCall(org.apache.camel.Exchange exchange, String targetURI)
protected void finalizeExternalCall(org.apache.camel.Exchange exchange, ExternalCall externalCall, ExternalCallService service)
protected Message getMessage(org.apache.camel.Exchange exchange)
protected String getTargetURI(org.apache.camel.Exchange exchange)
protected String getOperation(org.apache.camel.Exchange exchange)
protected String getOperationKey(org.apache.camel.Exchange exchange)
protected ExternalCallService getService(org.apache.camel.Exchange exchange)
public ExternalCallEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultProducer
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.