Asynchronous Outputs on Script Component Best practice

If you have an output that is not synchronous with the input what is the best way of processing the data.

I am currently using a generic queue, and a custom class. I am creating an instance of the class in the ProcessINputRow and then adding it to the Queue.

The CreateNewOutputRows Dequeues the class instances and creates buffer rows.

Is there a better solution




Answer this question

Asynchronous Outputs on Script Component Best practice

  • Vicky_Dangwal

    ArrayList I've seen asynch components that cache data in an ArrayList.

    -Jamie



  • Ian Gitlin

    The problem is having two threads, one putting data into a container and one taking it off. I think the queue is the best solution.

  • Asynchronous Outputs on Script Component Best practice