Hi Matt,

Yes, but ttl does not have index 1, I do not understand this. I am missing 
something.

Best Regards
Morgan



Skickat från min iPhone

2 mars 2017 kl. 17:50 skrev Matt Broadstone [via Qpid] 
<ml-node+s2158936n765992...@n2.nabble.com<mailto:ml-node+s2158936n765992...@n2.nabble.com>>:

On Thu, Mar 2, 2017 at 11:35 AM, Morgan Lindqvist
<[hidden email]</user/SendEmail.jtp?type=node&node=7659928&i=0>> wrote:

> Hi All,
>
> I am using the Node JS library amqp10 (ver 3.2.5) together with quid c++
> (ver 1.35).
>
> I just started defining the TTL parameter in the header and now quid c++
> give me the following warning.
>
> ---
> [Unspecified] warning Unexpected message format, got uint at index 1 of
> headers
> ---
>
> The TTL functionality looks like it is working, setting to a small value
> results in that the message is dropped.
>
> I however do not like warnings in the logs if they can be avoided. Is this a
> feature or a bug or misses of the libraries?
>
> If I in Node JS log the header part I get the following output.
> ---
> header:
>    { durable: false,
>      priority: 4,
>      ttl: 9999,
>      firstAcquirer: true,
>      deliveryCount: undefined },
> ---
>
> Proposals on how to fix this is appreciated.
>
> /Morgan
>
>
>
>
> --
> View this message in context: 
> http://qpid.2158936.n2.nabble.com/qpid-c-NodeJS-amqp10-Unexpected-message-format-got-uint-at-index-1-of-headers-tp7659927.html
> Sent from the Apache Qpid users mailing list archive at 
> Nabble.com<http://Nabble.com>.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]</user/SendEmail.jtp?type=node&node=7659928&i=1>
> For additional commands, e-mail: [hidden 
> email]</user/SendEmail.jtp?type=node&node=7659928&i=2>
>

Hi Morgan,

This looks like it might be a bug in qpid, as this field is defined as follows:
  <field name="ttl" type="milliseconds"/>

Where milliseconds are define as:
<type name="milliseconds" class="restricted" source="uint"/>

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=7659928&i=3>
For additional commands, e-mail: [hidden 
email]</user/SendEmail.jtp?type=node&node=7659928&i=4>



________________________________
If you reply to this email, your message will be added to the discussion below:
http://qpid.2158936.n2.nabble.com/qpid-c-NodeJS-amqp10-Unexpected-message-format-got-uint-at-index-1-of-headers-tp7659927p7659928.html
To unsubscribe from [qpid c++][NodeJS amqp10] Unexpected message format, got 
uint at index 1 of headers, click 
here<http://qpid.2158936.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7659927&code=bW9yZ2FuLmxpbmRxdmlzdEBlcmljc3Nvbi5jb218NzY1OTkyN3wtMjA0NjIxNDgzNw==>.
NAML<http://qpid.2158936.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/qpid-c-NodeJS-amqp10-Unexpected-message-format-got-uint-at-index-1-of-headers-tp7659927p7659929.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

Reply via email to