Searching in java/broker