Running A Java action with Multiple Parameters in Process Queue

Hi all I am creating a custom AuditTrail for my application but due to the additional features it is taking too long to commit an object and thereby slowing down the application. So I decided to make it asynchronous. As a first step I cloned the actual object and database object and passed these cloned cache objects to AuditTrail action. This allowed Audit Trail to log the changes even after the object is commited. Now to run the action asynchronously, I am trying to make use of the Process Queue module. But since the objects passed are not in the database and the action I want executed needs multiple AuditTrailSuperclass objects as parameters I am unable to implement this. Is there any other way to implement this?  
1 answers

Create a non-persistent entity that links to all your objects and put that on the process queue.