Asynch Call Queue
 The application can initiate a task in the background using the Async call queue. An “asynchCall” queue is defined with appropriate senders and receivers. 
	 
This configuration provides for a default async call listener which expects all async calls to pass the handler. This handler must implement the IAsychCallable interface. 
	 
 
	 For example: 
		
 
	 public class AsyncCatalogImport implements IAsyncCallable{ 
This interface has a onAsyncCall method which is invoked by the listener. 
		public void  onAsyncCall( 	{
System.out.println("Processing importData/processRelationship : 
"+importData+"/"+processRelationship+"
onAsyncCall()....................");
        process(); 
    }
 
	 To initiate a call, create the AsynchCallable object, initialize it with the input parameter, and then send it for async processing as follows: 
		
 
  AsyncCaller.callAsync(object);//object is the asyncCallable object
Copyright © Cloud Software Group, Inc. All rights reserved.
