public class CamelConsumerEndpoint extends ConsumerEndpoint implements org.apache.camel.AsyncProcessor
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
SERVICE_NAME |
loggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
CamelConsumerEndpoint(JbiBinding binding,
JbiEndpoint jbiEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,org.apache.servicemix.camel.CamelConsumerEndpoint.ContinuationData> |
getContinuationData()
Provides read-only access to the underlying map of continuation data
|
protected JbiEndpoint |
getJbiEndpoint()
Access the underlying Camel
Endpoint |
void |
process(org.apache.camel.Exchange exchange)
Process the Camel Exchange by sending/receiving a JBI MessageExchange synchronously
|
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback asyncCallback)
Process the Camel Exchange by sending a JBI MessageExchange asynchronously, where the response
will be handled by the
process(javax.jbi.messaging.MessageExchange) method |
void |
process(javax.jbi.messaging.MessageExchange messageExchange)
Process the JBI MessageExchange that is being delivered asynchronously as a response to what was sent by
the
process(Exchange, AsyncCallback) method |
void |
validate() |
activate, configureExchangeTarget, deactivate, getLocationURI, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUridone, fail, getChannel, getContext, getExchangeFactory, send, sendSync, start, stopgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic CamelConsumerEndpoint(JbiBinding binding, JbiEndpoint jbiEndpoint)
public void process(javax.jbi.messaging.MessageExchange messageExchange)
throws java.lang.Exception
process(Exchange, AsyncCallback) methodprocess in interface Endpointprocess in class AbstractEndpointjava.lang.Exceptionpublic void process(org.apache.camel.Exchange exchange)
throws java.lang.Exception
process in interface org.apache.camel.Processorjava.lang.Exceptionpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback asyncCallback)
process(javax.jbi.messaging.MessageExchange) methodprocess in interface org.apache.camel.AsyncProcessorpublic void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class ConsumerEndpointjavax.jbi.management.DeploymentExceptionprotected java.util.Map<java.lang.String,org.apache.servicemix.camel.CamelConsumerEndpoint.ContinuationData> getContinuationData()
protected JbiEndpoint getJbiEndpoint()
EndpointCopyright © 2005-2015 FuseSource. All Rights Reserved.