Split off worker as a new service feeding from a queue
- ID is kept ERROR: Message from Queue is returned back in Queue after startOrder()?
[ORDER PROCESSOR] for { 2 } - making { 3} 2022-04-02 13:27:12.844 INFO [workerApp,918415708ee2ad6b,85f8e55c87036cb1,false] 28847 --- [enerContainer-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory Hibernate: select order0_.id as id1_0_, order0_.product_ids as product_2_0_, order0_.status as status3_0_ from worker_orders order0_ where order0_.id=? Hibernate: select order0_.id as id1_0_0_, order0_.product_ids as product_2_0_0_, order0_.status as status3_0_0_ from worker_orders order0_ where order0_.id=? Hibernate: update worker_orders set product_ids=?, status=? where id=? [ORDER PROCESSOR] Received message { 2 } org.springframework.web.client.HttpClientErrorException$BadRequest: 400 null
Before the last 2 proof that it finishes the first time the last 2 show that it starts reading message 2 from the queue again.