org.apache.servicemix.script
Class ScriptExchangeHelper
java.lang.Object
org.apache.servicemix.script.ScriptExchangeHelper
- All Implemented Interfaces:
- ScriptHelper
public class ScriptExchangeHelper
- extends java.lang.Object
- implements ScriptHelper
This helper object can be injected into your scripts to allow to quick access
to basic JBI operations
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
endpoint
protected ScriptExchangeProcessorEndpoint endpoint
ScriptExchangeHelper
public ScriptExchangeHelper()
setScriptExchangeProcessorEndpoint
public void setScriptExchangeProcessorEndpoint(ScriptExchangeProcessorEndpoint ep)
- Specified by:
setScriptExchangeProcessorEndpoint in interface ScriptHelper
doneExchange
public void doneExchange(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
failExchange
public void failExchange(javax.jbi.messaging.MessageExchange exchange,
java.lang.Exception exception)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
sendExchange
public void sendExchange(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
sendSyncExchange
public void sendSyncExchange(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
getChannel
public javax.jbi.messaging.DeliveryChannel getChannel()
getContext
public javax.jbi.component.ComponentContext getContext()
getExchangeFactory
public javax.jbi.messaging.MessageExchangeFactory getExchangeFactory()
Copyright © 2005-2011 FuseSource. All Rights Reserved.