Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 60361 invoked from network); 2 Aug 2010 14:16:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 14:16:04 -0000 Received: (qmail 97367 invoked by uid 500); 2 Aug 2010 14:16:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97177 invoked by uid 500); 2 Aug 2010 14:16:02 -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 97156 invoked by uid 99); 2 Aug 2010 14:16:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 14:16:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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; Mon, 02 Aug 2010 14:15:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ofvnk-0000pI-90 for users@activemq.apache.org; Mon, 02 Aug 2010 07:15:36 -0700 Message-ID: <29325705.post@talk.nabble.com> Date: Mon, 2 Aug 2010 07:15:36 -0700 (PDT) From: faushouse To: users@activemq.apache.org Subject: Re: ActiveMQ Stomp Client Error In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: leefaus@me.com References: <29316053.post@talk.nabble.com> Unfortunately, we tried to go straight through ActiveMQ but had the same problem. We really wanted to do everything through a JMSRepyTo but we were unable to get the route to pull the body out of the message from the ReplyT= o to send back to the MLLP sync route. Is this possible? Do you have an example? Lee Dejan Bosanac wrote: >=20 > Hi, >=20 > looks like your Stomp message is not properly formated. Why don't you > skip Stomp for putting messages in the queue (and use Camel ActiveMQ > component) and then just consume messages from Ruby using Stomp? >=20 > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb >=20 > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net >=20 >=20 >=20 > On Sun, Aug 1, 2010 at 3:41 AM, faushouse wrote: >> >> Can someone shed some light into what this code is doing. =C2=A0I am try= ing to >> use >> Camel + ActiveMQ with HL7 MLLP messages. =C2=A0When the message comes in= , I >> get >> this error in the debug logs. =C2=A0I have tried ActiveMQ 5.3.0 and just >> tested >> 5.4.0 snapshot. =C2=A0I get the same error. >> >> java.io.EOFException >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.io.DataInputStream.readByte(DataInput= Stream.java:250) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFo= rmat.java:146) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.activemq.transport.stomp.StompWireFormat.parseAction(StompWir= eFormat.java:162) >> >> I have a logger statement in my code to see the actual message body make= s >> it >> from MLLP, but when trying to put the message on the queue the error is >> thrown. =C2=A0Then on the Ruby side, the message.body length is 0 using = the >> Stomp >> Gem. =C2=A0Any help is greatly appreciated. >> >> Lee >> -- >> View this message in context: >> http://old.nabble.com/ActiveMQ-Stomp-Client-Error-tp29316053p29316053.ht= ml >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >=20 >=20 > ----- > Dejan Bosanac >=20 > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net >=20 --=20 View this message in context: http://old.nabble.com/ActiveMQ-Stomp-Client-E= rror-tp29316053p29325705.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.