Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 80817 invoked from network); 13 Aug 2008 12:54:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 12:54:58 -0000 Received: (qmail 79142 invoked by uid 500); 13 Aug 2008 12:54:57 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 79124 invoked by uid 500); 13 Aug 2008 12:54:57 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 79113 invoked by uid 99); 13 Aug 2008 12:54:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 05:54:57 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,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, 13 Aug 2008 12:53:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KTFru-0003Xn-Mr for dev@activemq.apache.org; Wed, 13 Aug 2008 05:54:26 -0700 Message-ID: <18962453.post@talk.nabble.com> Date: Wed, 13 Aug 2008 05:54:26 -0700 (PDT) From: crazy4venu To: dev@activemq.apache.org Subject: Re: peer did not "send his wire format." In-Reply-To: <1218629176.15020.0.camel@office> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: crazy4venu@gmail.com References: <18961130.post@talk.nabble.com> <1218629176.15020.0.camel@office> X-Virus-Checked: Checked by ClamAV on apache.org Hi Tim, i am sending this snippet of code which i am using to connect. kindly verify whether i am doing it right ? ActiveMQConnectionFactory* connectionFactory = new ActiveMQConnectionFactory("tcp://exchange.marketcetera.com:7001?wireFormat=openwire&transport.useAsyncSend=false"); // Create a Connection connection = connectionFactory->createConnection(); connection->start(); // Create a Session session = connection->createSession( Session::AUTO_ACKNOWLEDGE ); destination = session->createQueue("testbed1"); // Create a MessageProducer from the Session to the Topic or Queue producer = session->createProducer( destination ); producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); Note: still i am getting same error. Regards Tinnu Timothy Bish wrote: > > Do you have a broker running? If so are is the IP Address and port you > are using correct for your broker? > > > > On Wed, 2008-08-13 at 04:15 -0700, crazy4venu wrote: >> Hi Tim, >> >> When i am trying to execute the sample Activemq example but i get strange >> message showing >> >> peer did not "send his wire format." >> >> >> >> ===================================================== >> Starting the example: >> ----------------------------------------------------- >> OpenWireFormatNegotiator::requestWire format negotiation timeout: peer >> did >> not s >> end his wire format. >> FILE: >> ..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.c >> pp, LINE: 97 >> FILE: >> ..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.c >> pp, LINE: 106 >> FILE: >> ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp, >> LIN >> E: 1454 >> FILE: >> ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp, >> LIN >> E: 223 >> FILE: >> ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp, >> LIN >> E: 157 >> FILE: ..\src\main\activemq\core\ActiveMQConnectionFactory.cpp, >> LINE: >> 174 >> >> ----------------------------------------------------- >> Finished >> ===================================================== >> > > > -- View this message in context: http://www.nabble.com/peer-did-not--%22send-his-wire-format.%22-tp18961130p18962453.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.