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.


Field Summary
static String HEADERS_HTTP
           
static String HEADERS_SOAP
           
static String REQUEST
           
 
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.
 

Field Detail

HEADERS_SOAP

static final String HEADERS_SOAP
See Also:
Constant Field Values

HEADERS_HTTP

static final String HEADERS_HTTP
See Also:
Constant Field Values

REQUEST

static final String REQUEST
See Also:
Constant Field Values
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–2014 Talend Inc.. All rights reserved.