Skip to Content
0
Former Member
Sep 14, 2016 at 02:29 PM

Custom ProductImport with multithreading

220 Views

Hi Experts,

As per my requirement,have to implement multi threading functionality to create product models. I am using spring @Async ,ThreadPoolTaskScheduler and TenantAwareThreadFactory for implementation.Threads are being created but catalogVersion becomes null and eventually productDao.findProductsByCode(code) is always giving null even though product is existed.

Could you please suggest me how can i resolve this issue or provide any wiki link highly appreciable.

Thanks in advance! Ram