Hi Julien,
Yes, it's fine if unregistration happens on receiving the message.
I am talking about order instances since for every order instance a consumer is getting created.
Assuming o1, o2, o3 are instances...
Suppose, o1 instance is created first. Then I do a publish, then o1 consumer handler executes.
Now o2 instance is created. Then I do a publish. Then consumer handler of both o1 and o2 are getting executed (if unregister is not called within the consumer handler).. which I want to avoid.
We are planning to redesign this but for now bcz of time constrain want to unregister in consumer handler.
Thanks