LineProcessorRunnable class

Syntax

public class LineProcessorRunnable

Usage

This class represents a task which is queued to the thread pool executor by AbstractMobiliserServiceBulkProcessor for each line while the bulk file is parsed.

Its run() implementation uses a configurable line processor to process the line parsed from the bulk file. It stores the result of the processed line mapped to the line number for easier consolidation in the mobiliser service bulk processor (put the responses in the right order, given the execution of the line processors is asynchronous). Exceptions are collected in an exception list and it is up to the mobiliser service bulk processor to evaluate them and take actions where required.

2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.