org.apache.servicemix.camel
Class CamelConsumerEndpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ConsumerEndpoint
org.apache.servicemix.camel.CamelConsumerEndpoint
- All Implemented Interfaces:
- org.apache.camel.AsyncProcessor, org.apache.camel.Processor, ExchangeProcessor
public class CamelConsumerEndpoint
- extends ConsumerEndpoint
- implements org.apache.camel.AsyncProcessor
A consumer endpoint that will be used to send JBI exchanges
originating from camel.
| Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint |
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri, start, stop |
| Methods inherited from class org.apache.servicemix.common.Endpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
SERVICE_NAME
public static final QName SERVICE_NAME
CamelConsumerEndpoint
public CamelConsumerEndpoint(JbiBinding binding,
JbiEndpoint jbiEndpoint)
process
public void process(MessageExchange messageExchange)
throws Exception
- Specified by:
process in interface ExchangeProcessor
- Throws:
Exception
process
public boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback asyncCallback)
- Specified by:
process in interface org.apache.camel.AsyncProcessor
process
public void process(org.apache.camel.Exchange exchange)
throws Exception
- Specified by:
process in interface org.apache.camel.Processor
- Throws:
Exception
getLocationURI
public String getLocationURI()
- Specified by:
getLocationURI in class ConsumerEndpoint
validate
public void validate()
throws DeploymentException
- Overrides:
validate in class ConsumerEndpoint
- Throws:
DeploymentException
Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.