IBatchHubServiceBatchJobReceive Method |
Receives job from queue to be processed by a batch worker.
Namespace:
PDTec.IceNet.Domain.BatchHub.Service.Interface
Assembly:
PDTec.IceNet.Domain.BatchHub (in PDTec.IceNet.Domain.BatchHub.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax ServiceResult BatchJobReceive(
string queueName,
bool filterLane,
long lane,
string workerName,
int timeout,
out bool jobReceived,
out BatchJobInfo job
)
Parameters
- queueName
- Type: SystemString
The queue name. - filterLane
- Type: SystemBoolean
Set this parameter to [true] to receive jobs from a specific lane only. Otherwise jobs will be received from any lane of the queue - lane
- Type: SystemInt64
The lane number. Only effective if the [FilterLane] parameter is set to [true]. - workerName
- Type: SystemString
The worker name. The job property [ProcessedBy] is set to this value. - timeout
- Type: SystemInt32
The timeout period in seconds. - jobReceived
- Type: SystemBoolean
Indicates whether a job has been received or no job was available within the timeout period. - job
- Type: PDTec.IceNet.Domain.BatchHub.Service.InterfaceBatchJobInfo
The received batch job.
Return Value
Type:
ServiceResultThe service result status information.
See Also