The main question doesn't give the idea of the problem, so here I am explaining it.
The task is to divide the objects belonging to a family (based on some relationship) and passing them as JMS messages for a process to act upon. All in the family should be processed together.
Now the family group can get bigger. so the question. Is there any other approach which will not have the issue which I have listed.