[Java] Interface MessageExchange