Panel | ||
---|---|---|
| ||
This section describes how multithreaded processes can be implemented within CRM.COM software.
What does this section cover?
|
Create multithreaded process
To create a multithreaded process, we need to create two process classes extending com.crm.process.CRMProcessRunBean implementing at least one method each. The first one (main) will be used to create and run new threads and the second one will implement the business logic executed by a thread.
...
Note that the default transaction timeout value of the main process class, which in this case is CRMProcessAccountBillingBean, must be increased. For more information on setting EJB transactions timeout value go to Change EJB Transaction Timeout.