Three messages will be create in the queue and only one will be processed.
A job instance with name oro_cli:import:my.import.processor:my.import.job:will be created , when processing the first message . Processing the 2nd and 3d messages will fail, because the JobRunner won't be able to runUnique the next job with the same name.
Hi
The
PreCliImportMessageProcessor
creates non unique job names . As result using same job to import several files is impossible.After running:
oro:import:file --jobName=my.import.job --processor=my.import.processor file1.csv
oro:import:file --jobName=my.import.job --processor=my.import.processor file2.csv
oro:import:file --jobName=my.import.job --processor=my.import.processor file3.csv
Three messages will be create in the queue and only one will be processed. A job instance with name
oro_cli:import:my.import.processor:my.import.job:
will be created , when processing the first message . Processing the 2nd and 3d messages will fail, because the JobRunner won't be able to runUnique the next job with the same name.