Difference between revisions of "VCLEnqueueOperation"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "Interface: '''it.greenvulcano.gvesb.virtual.EnqueueOperation''' <syntaxhighlight lang="java5"> /** * This interface identifies operations used to perform enqueue to a queue. *...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Interface: '''it.greenvulcano.gvesb.virtual.EnqueueOperation'''
+
Interface FQN: '''it.greenvulcano.gvesb.virtual.EnqueueOperation'''
  
 +
Extends: [[VCLOperation|'''it.greenvulcano.gvesb.virtual.Operation''']]
 +
 +
==EnqueueOperation public methods==
 
<syntaxhighlight lang="java5">
 
<syntaxhighlight lang="java5">
 +
public static final String TYPE = "enqueue";
 +
 
/**
 
/**
  * This interface identifies operations used to perform enqueue to a queue.
+
  * Execute the operation using an GVBuffer. Usually this method
  *
+
  * is used in order to perform an asynchronous invocation.
*
 
* @version 3.0.0 Feb 17, 2010
 
* @author GreenVulcano Developer Team
 
 
  *
 
  *
 +
* @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 interface EnqueueOperation extends Operation
+
public GVBuffer perform(GVBuffer gvBuffer) throws ConnectionException, EnqueueException, InvalidDataException;
{
 
    public static final String TYPE = "enqueue";
 
 
 
    /**
 
    * @see it.greenvulcano.gvesb.virtual.Operation#perform(it.greenvulcano.gvesb.buffer.GVBuffer)
 
    */
 
    public GVBuffer perform(GVBuffer gvBuffer) throws ConnectionException, EnqueueException, InvalidDataException;
 
 
 
}
 
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 17:36, 21 December 2012

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

Extends: it.greenvulcano.gvesb.virtual.Operation

EnqueueOperation 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;