Hi Gordon, Thanx, the patch works :) I'm now able to send and receive by Java and Ruby.
Best regards, Wai Yang -----Original Message----- From: Gordon Sim [mailto:[EMAIL PROTECTED] Sent: maandag 16 juni 2008 12:16 To: [email protected] Subject: Re: Question regarding Java Publisher and Ruby Subscriber Wai Yang Yap wrote: > My name is Wai Yang Yap and I'm new in the JMS & QPID. Hello and welcome! > I have experimented with QPID for a week now, and I got the Java > Subscriber and Ruby Publisher working. So I can send messages from Ruby > to Java with the QPID broker in between them. The problem that I have > now, is when I use the same setup (only reverse, Java sending messages > to Ruby), it crashes at Ruby. Ruby receives the messages, but when it > tries to parse the message, it crashes. > > The exception that it gives is: > > undefined method `timestamp' for #<Codec::Decoder:0x2e388a0> This is due to the ruby client not handling AMQP 'timestamp' fields. The java client is presumably sending such a field in messages by default. I've created a JIRA for this issue: https://issues.apache.org/jira/browse/QPID-1138 Could you try the attached patch? I believe this should fix the problem. Wai Yang Yap | quince ------------------------------------------ mobile e-mail [EMAIL PROTECTED] web www.quince.nl ------------------------------------------ assumburg 73 1081 gb amsterdam the netherlands tel: +31 (0)20 3471000 fax:+31 (0)20 3471005 Nederlands: Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de geadresseerde van dit bericht bent, verzoeken wij u dit bericht te vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te gebruiken, niet te kopieren en niet onder derden te verspreiden. Quince is een handelsnaam die wordt gevoerd door Quince B.V. te Amsterdam. Op alle werkzaamheden zijn de algemene voorwaarden van Quince B.V. van toepassing. Daarin is in artikel 11 een beperking van aansprakelijkheid opgenomen. De voorwaarden worden op verzoek kosteloos toegezonden. De voorwaarden zijn ook na te lezen op http://www.quince.nl/algemenevoorwaarden English: This message may contain information that is privileged or confidential. If you are not the named addressee of this message, please destroy it without reading, using, copying or disclosing its contents to any other person. Quince is a trade name of Quince B.V. with its office in Amsterdam. All services are governed by the general terms and conditions of Quince B.V. which contain a limitation of liability in article 11. A free copy of the general terms and conditions will be provided upon request. The conditions can also be read on http://www.quince.nl/termsandconditions
