I am trying to implement a custom java data adapter on eclipse for the basic stock demo example. I am publishing all my messages under one item ie. item1. I want to be able to see all my messages one below the other and not just the current message, so I intend to use DISTINCT mode. Can you tell me where all & what all changes should I make to change the sample from MERGE mode? I have tried it implementing it on my own but I think I am missing out on something. Kindly do help.