com.mulesoft.adapter.module
Interface PIModule

All Known Implementing Classes:
AbstractPIModule, SalesforcePIModule

public interface PIModule

Abstracts PI module.


Method Summary
 void dispose()
          Dispose this module.
 javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec spec, XIMessageRecordImpl input, IPILogger logger)
           
 boolean retryOn(Throwable cause)
          perform retry of delivery
 

Method Detail

execute

javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec spec,
                                  XIMessageRecordImpl input,
                                  IPILogger logger)
                                  throws javax.resource.ResourceException
Parameters:
spec -
input -
Returns:
result of this module execution
Throws:
javax.resource.ResourceException

dispose

void dispose()
Dispose this module.


retryOn

boolean retryOn(Throwable cause)
perform retry of delivery

Parameters:
cause - exeption that occured
Returns:
whether to retry delivering the message


Copyright © 2012. All Rights Reserved.