routines.system.api
Interface ESBProviderCallback


public interface ESBProviderCallback

This interface is used by provider component to get a request from the ESB and to write a response back to ESB.


Method Summary
 Object getRequest()
          Returns a request to the Job.
 void sendResponse(Object response)
          This method will be used by Job to send a response or fault.
 

Method Detail

getRequest

Object getRequest()
                  throws ESBJobInterruptedException
Returns a request to the Job. This method is blocking it will block Job execution until request will arrive.

Returns:
Throws:
ESBJobInterruptedException

sendResponse

void sendResponse(Object response)
This method will be used by Job to send a response or fault.

Parameters:
response -


Copyright © 2011-2013 Talend Inc.. All Rights Reserved.