Bulk insert work queues
Guidewire recommends that
you implement a custom work queue class that extends BulkInsertWorkQueueBase, rather
than WorkQueueBase if
it is possible for a query to determine the work items to create.
The use of the BulkInsertWorkQueueBase class provides the following performance optimizations:
- The work queue writer does not add duplicate entries to the work queue.
- The use of the bulk insert method eliminates the need to fetch and commit each work item individually.
As a consequence, a work queue that subclasses BulkInsertWorkQueueBase performs
its work much more quickly than a work queues that subclasses WorkQueueBase.
