4.5.10 DRRealtimeProcessor
Defines no new methods on top of DRRealtimeAgent
. For information regarding the differences between a Processing and a Forwarding agent, see 4.5.5 DRBatchProcessor.
A realtime processor may choose to implement DRRealtimeThreadAgent
to process incoming data asynchronously. This is the case when a separate thread is used to handle the communication to a back-end entity.
Note!
The developer must handle the turnover of records entering the consume
methods to the executing agent thread.
If it prefers to process that data synchronously, but to route the result asynchronously, it must instead implement the DRRealtimeAsyncRouter
class. This will be the case if the communication with the back-end is handled by a service of which the agent developer has no thread control, e g RMI or CORBA.