added filter
added java sender example code