Searching in java-channel