org.apache.servicemix.script
Class ScriptExchangeProcessorEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.script.ScriptExchangeProcessorEndpoint
- All Implemented Interfaces:
- org.apache.servicemix.common.Endpoint
public class ScriptExchangeProcessorEndpoint
- extends org.apache.servicemix.common.endpoints.ProviderEndpoint
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
|
Method Summary |
protected void |
done(javax.jbi.messaging.MessageExchange messageExchange)
|
protected void |
fail(javax.jbi.messaging.MessageExchange messageExchange,
Exception e)
|
List |
getHelpers()
|
org.apache.servicemix.common.ExchangeProcessor |
getImplementation()
|
void |
process(javax.jbi.messaging.MessageExchange exchange)
|
protected void |
send(javax.jbi.messaging.MessageExchange messageExchange)
|
protected void |
sendSync(javax.jbi.messaging.MessageExchange messageExchange)
|
void |
setHelpers(List helpers)
|
void |
setImplementation(org.apache.servicemix.common.ExchangeProcessor implementation)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint |
activate, deactivate, getRole, processInOnly, processInOut |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
getChannel, getContext, getExchangeFactory |
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
ScriptExchangeProcessorEndpoint
public ScriptExchangeProcessorEndpoint()
getHelpers
public List getHelpers()
setHelpers
public void setHelpers(List helpers)
getImplementation
public org.apache.servicemix.common.ExchangeProcessor getImplementation()
setImplementation
public void setImplementation(org.apache.servicemix.common.ExchangeProcessor implementation)
start
public void start()
throws Exception
- Specified by:
start in interface org.apache.servicemix.common.Endpoint- Overrides:
start in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface org.apache.servicemix.common.Endpoint- Overrides:
stop in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
Exception
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws Exception
- Specified by:
process in interface org.apache.servicemix.common.Endpoint- Overrides:
process in class org.apache.servicemix.common.endpoints.ProviderEndpoint
- Throws:
Exception
fail
protected void fail(javax.jbi.messaging.MessageExchange messageExchange,
Exception e)
throws javax.jbi.messaging.MessagingException
- Overrides:
fail in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
send
protected void send(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
send in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
sendSync
protected void sendSync(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
sendSync in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
done
protected void done(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
done in class org.apache.servicemix.common.endpoints.SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.