Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 40318 invoked from network); 11 Feb 2009 12:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 12:28:14 -0000 Received: (qmail 19714 invoked by uid 500); 11 Feb 2009 12:28:13 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19688 invoked by uid 500); 11 Feb 2009 12:28:13 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 19677 invoked by uid 99); 11 Feb 2009 12:28:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 04:28:13 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 12:28:06 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LXEBs-0004ep-Ut for users@activemq.apache.org; Wed, 11 Feb 2009 04:27:44 -0800 Message-ID: <21953691.post@talk.nabble.com> Date: Wed, 11 Feb 2009 04:27:44 -0800 (PST) From: sunil_mlec To: users@activemq.apache.org Subject: Net::Stomp throwing error when connecting to ActiveMQ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sunilm007@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org use Net::Stomp; my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } ); $stomp->connect( { login => 'guest', passcode => 'guest' } ); $stomp->send( { destination => 'foo', body => 'test message' } ); $stomp->disconnect; I am using ActiveMQ 5.2.0 version. When I try to run the above program, I am getting the following error. Error reading command: at Net/Stomp/Frame.pm line 37. Can anyone help me in resolving this? Thanks. -- View this message in context: http://www.nabble.com/Net%3A%3AStomp-throwing-error-when-connecting-to-ActiveMQ-tp21953691p21953691.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.