org.apache.servicemix.script
Class ScriptExchangeProcessorEndpoint

java.lang.Object
  extended by org.apache.servicemix.common.endpoints.AbstractEndpoint
      extended by org.apache.servicemix.common.endpoints.SimpleEndpoint
          extended by org.apache.servicemix.common.endpoints.ProviderEndpoint
              extended by org.apache.servicemix.script.ScriptExchangeProcessorEndpoint
All Implemented Interfaces:
Endpoint

public class ScriptExchangeProcessorEndpoint
extends ProviderEndpoint


Field Summary
 
Fields inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint
logger
 
Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
definition, description, endpoint, interfaceName, service, serviceUnit
 
Constructor Summary
ScriptExchangeProcessorEndpoint()
           
 
Method Summary
protected  void done(javax.jbi.messaging.MessageExchange messageExchange)
           
protected  void fail(javax.jbi.messaging.MessageExchange messageExchange, java.lang.Exception e)
           
 java.util.List getHelpers()
           
 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(java.util.List helpers)
           
 void setImplementation(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScriptExchangeProcessorEndpoint

public ScriptExchangeProcessorEndpoint()
Method Detail

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-2012 FuseSource. All Rights Reserved.