replacing http:outbound with java clients