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:
- Endpoint
public class ScriptExchangeProcessorEndpoint
- extends ProviderEndpoint
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptExchangeProcessorEndpoint
public ScriptExchangeProcessorEndpoint()
getHelpers
public java.util.List getHelpers()
setHelpers
public void setHelpers(java.util.List helpers)
getImplementation
public ExchangeProcessor getImplementation()
setImplementation
public void setImplementation(ExchangeProcessor implementation)
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface Endpoint- Overrides:
start in class SimpleEndpoint
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface Endpoint- Overrides:
stop in class SimpleEndpoint
- Throws:
java.lang.Exception
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Specified by:
process in interface Endpoint- Overrides:
process in class ProviderEndpoint
- Throws:
java.lang.Exception
fail
protected void fail(javax.jbi.messaging.MessageExchange messageExchange,
java.lang.Exception e)
throws javax.jbi.messaging.MessagingException
- Overrides:
fail in class SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
send
protected void send(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
send in class SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
sendSync
protected void sendSync(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
sendSync in class SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
done
protected void done(javax.jbi.messaging.MessageExchange messageExchange)
throws javax.jbi.messaging.MessagingException
- Overrides:
done in class SimpleEndpoint
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2011 FuseSource. All Rights Reserved.