com.genesyslab.omsdk.mil.applicationblocks.mediaserver
Class SaveInteractionInUCSAndIxn

java.lang.Object
  extended bycom.genesyslab.omsdk.mil.applicationblocks.mediaserver.SaveInteractionInUCSAndIxn

public class SaveInteractionInUCSAndIxn
extends java.lang.Object

This class shows how to save interaction in both the Universal Contact Server and the Interaction Server.


Constructor Summary
SaveInteractionInUCSAndIxn()
           
 
Method Summary
 void saveInteractionAsync(java.lang.String type, java.lang.String subtype, java.lang.String mediatype, java.lang.String externalID, java.lang.String ID, java.lang.String queueName)
          Saves interaction in both UCS and Ixn servers.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveInteractionInUCSAndIxn

public SaveInteractionInUCSAndIxn()
Method Detail

saveInteractionAsync

public void saveInteractionAsync(java.lang.String type,
                                 java.lang.String subtype,
                                 java.lang.String mediatype,
                                 java.lang.String externalID,
                                 java.lang.String ID,
                                 java.lang.String queueName)
                          throws MILRequestFailedException
Saves interaction in both UCS and Ixn servers. Request is sent to Ixn server first, asynchronously. While request is handled by IxnServer another request to UCS is sent. Such a scenario saves some time.

Parameters:
type - type of intyeraction.
subtype - subtype of interaction.
mediatype - mediatype of interaction.
externalID - external ID of interaction. May be NULL.
ID - ID of interaction. May be NULL.
queueName - name of a queue.
Throws:
MILRequestFailedException - exception can be raised in anyone of used requests to backend services.