VCLEnqueueOperation

From GreenVulcano Wiki
Revision as of 17:03, 21 December 2012 by G.dimaio (talk | contribs)
Jump to: navigation, search

Interface FQN: it.greenvulcano.gvesb.virtual.EnqueueOperation

Extends: it.greenvulcano.gvesb.virtual.Operation

Following the CallOperation public methods

public static final String TYPE = "enqueue";

/**
 * Execute the operation using an GVBuffer. Usually this method
 * is used in order to perform an asynchronous invocation.
 *
 * @param gvBuffer
 *        input data for the operation.
 *
 * @return an GVBuffer containing the operation result.
 * @exception ConnectionException
 *            if an error occurs making the connection to the external system.
 * @exception EnqueueException
 *            if an error occurs performing the operation.
 * @exception InvalidDataException
 *            if the call fail because the data are invalid. GreenVulcano ESB 
 *            should not retry to perform the operation with the same data.
 */
public GVBuffer perform(GVBuffer gvBuffer) throws ConnectionException, EnqueueException, InvalidDataException;