[rabbitmq-discuss] Null messages in RabbitMq 2.6.1. Can't recover

Alfonso Pantoja alfonso.pantoja at gmail.com
Tue Nov 29 11:08:58 GMT 2011


Hi Alex,

You were right, the problem was not related with the headers.
In our custom ejabberd module we were not sending the messages in binary
format to RabbitMq.

Thank you very much

Regards,

Alfonso


El 29 de noviembre de 2011 10:42, Alexandru Scvorţov <alexandru at rabbitmq.com
> escribió:

> Hi Alfonso,
>
> > I've noticed that the messages created in that
> > module can't be recovered using the .NET API (2.6.1 and 2.7.0.0)
> > because all messages are received as "null"
> > (using subscription.Next(millisecondsTimeout, out message))
>
> From the docs:
> "Returns false only if the timeout expires before either a delivery
> appears or the end-of-stream is reached. If false is returned, the out
> parameter "result" is set to null, but LatestEvent is not updated."
>
> What value are you using for the timeout?  Does that function return
> true when the message is set to null?
>
> > It seems is the
> > way they are sent (maybe AMQP header properties?)...
>
> It's probably not related to the headers.
>
> Cheers,
> Alex
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111129/f8a4b7c1/attachment.htm>


More information about the rabbitmq-discuss mailing list