SIPTransaction	returnChannel = createClientTransaction(rawChannel); clientTransactions.add(returnChannel); ((SIPClientTransaction)returnChannel).setViaPort (rawChannel.getViaPort()); ((SIPClientTransaction)returnChannel).setViaHost (rawChannel.getHost());
SIPTransaction	returnChannel;     MessageChannel mc = super.createMessageChannel(nextHop);    if (mc == null) return null;  returnChannel = createClientTransaction ( mc ); clientTransactions.add( returnChannel ); ((SIPClientTransaction)returnChannel).setViaPort(nextHop.getPort()); ((SIPClientTransaction)returnChannel).setViaHost(nextHop.getHost());
    public MessageChannel createMessageChannel    (MessageChannel rawChannel) {        synchronized(clientTransactions) {            // New client transaction to return            SIPTransaction	returnChannel =            createClientTransaction(rawChannel);            clientTransactions.add(returnChannel);            ((SIPClientTransaction)returnChannel).setViaPort            (rawChannel.getViaPort());            ((SIPClientTransaction)returnChannel).setViaHost            (rawChannel.getHost());            return returnChannel;        }    }