<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Plugging the beginning of the parent value into erlang repl it give the following<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">5> Debug = [60,33,68,79,67,84,89,80,69,32,104,116,109,108,62,10,60,33,45,91,105,102,32,108,116,32,73,69,32].<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">"<!DOCTYPE html>\n<!-[if lt IE "<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">So it looks like the parent variable is an HTML page.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hope that helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Mark<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> rabbitmq-discuss [mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com]
<b>On Behalf Of </b>Jianhui Zhang<br>
<b>Sent:</b> 10 January 2014 19:10<br>
<b>To:</b> rabbitmq-discuss@lists.rabbitmq.com<br>
<b>Subject:</b> [rabbitmq-discuss] extremely long and weird delivery tag in amqp.js consumer<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">We are using amqp.js library to consume messages from rabbitmq. But when we log the delivery tag, we found them extremely long and weird (aren't they supposed to be a long int?). For example:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">"deliveryTag":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":1,"length":8,"parent":{"0":60,"1":33,"2":68,"3":79,"4":67,"5":84,"6":89,"7":80,"8":69,"9":<br>
32,"10":104,"11":116,"12":109,"13":108,"14":62,"15":10,"16":60,"17":33,"18":45,"19":45,"20":91,"21":105,"22":102,"23":32,"24":108,"25":116,"26":32,"27":73,"28":<br>
69,"29":32,"30":55,"31":93,"32":62,"33":32,"34":32,"35":32,"36":32,"37":32,"38":32,"39":60,"40":104,"41":116,"42":109,"43":108,"44":32,"45":99,"46":108,"47":97,<br>
"48":115,"49":115,"50":61,"51":34,"52":110,"53":111,"54":45,"55":106,"56":115,"57":32,"58":108,"59":116,"60":45,"61":105,"62":101,"63":57,"64":32,"65":108,"66":<br>
116,"67":45,"68":105,"69":101,"70":56,"71":32,"72":108,"73":116,"74":45,"75":105,"76":101,"77":55,"78":34,"79":62,"80":32,"81":60,"82":33,"83":91,"84":101,"85":<br>
110,"86":100,"87":105,"88":102,"89":93,"90":45,"91":45,"92":62,"93":10,"94":60,"95":33,"96":45,"97":45,"98":91,"99":105,"100":102,"101":32,"102":73,"103":69,"10<br>
4":32,"105":55,"106":93,"107":62,"108":32,"109":32,"110":32,"111":32,"112":32,"113":32,"114":32,"115":32,"116":32,"117":60,"118":104,"119":116,"120":109,"121":1<br>
08,"122":32,"123":99,"124":108,"125":97,"126":115,"127":115,"128":61,"129":34,"130":110,"131":111,"132":45,"133":106,"134":115,"135":32,"136":108,"137":116,"138<br>
":45,"139":105,"140":101,"141":57,"142":32,"143":108,"144":116,"145":45,"146":105,"147":101,"148":56,"149":34,"150":62,"151":32,"152":60,"153":33,"154":91,"155"<br>
:101,"156":110,"157":100,"158":105,"159":102,"160":93,"161":45,"162":45,"163":62,"164":10,"165":60,"166":33,"167":45,"168":45,"169":91,"170":105,"171":102,"172"<br>
:32,"173":73,"174":69,"175":32,"176":56,"177":93,"178":62,"179":32,"180":32,"181":32,"182":32,"183":32,"184":32,"185":32,"186":32,"187":32,"188":60,"189":104,"1<br>
90":116,"191":109,"192":108,"193":32,"194":99,"195":108,"196":97,"197":115,"198":115,"199":61,"200":34,"201":110,"202":111,"203":45,"204":106,"205":115,"206":32<br>
,"207":108,"208":116,"209":45,"210":105,"211":101,"212":57,"213":34,"214":62,"215":32,"216":60,"217":33,"218":91,"219":101,"220":110,"221":100,"222":105,"223":1<br>
02,"224":93,"225":45,"226":45,"227":62,"228":10,"229":60,"230":33,"231":45,"232":45,"233":91,"234":105,"235":102,"236":32,"237":103,"238":116,"239":32,"240":73,<br>
"241":69,"242":32,"243":56,"244":93,"245":62,"246":60,"247":33,"248":45,"249":45,"250":62,"251":32,"252":60,"253":104,"254":116,"255":109,"256":108,"257":32,"25<br>
8":99,"259":108,"260":97,"261":115,"262":115,"263":61,"264":34,"265":110,"266":111,"267":45,"268":106,"269":115,"270":34,"271":62,"272":32,"273":60,"274":33,"27<br>
5":45,"276":45,"277":60,"278":33,"279":91,"280":101,"281":110,"282":100,"283":105,"284":102,"285":93,"286":45,"287":45,"288":62,"289":10,"290":9,"291":60,"292":<br>
104,"293":101,"294":97,"295":100,"296":62,"297":10,"298":32,"299":32,"300":32,"301":32,"302":60,"303":109,"304":101,"305":116,"306":97,"307":32,"308":104,"309":<br>
116,"310":116,"311":112,"312":45,"313":101,"314":113,"315":117,"316":105,"317":118,"318":61,"319":226,"320":128,"321":157,"322":67,"323":97,"324":99,"325":104,"<br>
326":101,"327":45,"328":99,"329":111,"330":110,"331":116,"332":114,"333":111,"334":108,"335":226,"336":128,"337":157,"338":32,"339":99,"340":111,"341":110,"342"<br>
:116,"343":101,"344":110,"345":116,"346":61,"347":226,"348":128,"349":157,"350":109,"351":117,"352":115,"353":116,"354":45,"355":114,"356":101,"357":118,"358":9<br>
7,"359":108,"360":105,"361":100,"362":97,"363":116,"364":101,"365":226,"366":128,"367":157,"368":62,"369":10,"370":9,"371":9,"372":60,"373":109,"374":101,"375":<br>
116,"376":97,"377":32,"378":99,"379":104,"380":97,"381":114,"382":115,"383":101,"384":116,"385":61,"386":34,"387":117,"388":116,"389":102,"390":45,"391":56,"392<br>
":34,"393":62,"394":10,"395":9,"396":60,"397":33,"398":45,"399":45,"400":10,"401":9,"402":9,"403":65,"404":108,"405":119,"406":97,"407":121,"408":115,"409":32,"<br>
410":102,"411":111,"412":11 …..<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Has anybody seen this? And what's the cause for it?
<o:p></o:p></p>
</div>
<p class="MsoNormal">Thank you very much in advance. <o:p></o:p></p>
</div>
<p class="MsoNormal">James<o:p></o:p></p>
</div>
</div>
</body>
</html>