Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07FB143BD for ; Fri, 10 Jun 2011 14:38:11 +0000 (UTC) Received: (qmail 77591 invoked by uid 500); 10 Jun 2011 14:38:10 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 77564 invoked by uid 500); 10 Jun 2011 14:38:10 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 77557 invoked by uid 99); 10 Jun 2011 14:38:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 14:38:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 14:38:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BD21E23889BF; Fri, 10 Jun 2011 14:37:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1134334 - /activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala Date: Fri, 10 Jun 2011 14:37:47 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110610143747.BD21E23889BF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Fri Jun 10 14:37:47 2011 New Revision: 1134334 URL: http://svn.apache.org/viewvc?rev=1134334&view=rev Log: Fix build after recent changes. Modified: activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala Modified: activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala?rev=1134334&r1=1134333&r2=1134334&view=diff ============================================================================== --- activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala (original) +++ activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/OpenwireProtocolHandler.scala Fri Jun 10 14:37:47 2011 @@ -114,7 +114,7 @@ class OpenwireProtocolHandler extends Pr override def create_connection_status = { var rc = new OpenwireConnectionStatusDTO - rc.protocol_version = if (wire_format == null) 0 else wire_format.getVersion + rc.protocol_version = if (wire_format == null) null else wire_format.getVersion.toString rc.user = login.map(_.toString).getOrElse(null) // rc.subscription_count = consumers.size rc.waiting_on = waiting_on @@ -155,7 +155,7 @@ class OpenwireProtocolHandler extends Pr outbound_sessions = new SinkMux[Command](connection.transport_sink.map { x:Command => x.setCommandId(next_command_id) - debug("sending frame: %s", x.toString) + debug("sending openwire command: %s", x.toString()) x }, dispatchQueue, OpenwireCodec) connection_session = new OverflowSink(outbound_sessions.open(dispatchQueue));