[zeromq-dev] a PUSH socket sends weird messages when I load my C++ module.

crocket crockabiscuit at gmail.com
Sun Mar 3 03:00:16 CET 2013


It seems the same issue occurs when I launch the java program again.

I guess the issue is caused by incorrectly received multipart messages.

Are there things that I should know when I handle PUSH and PULL sockets?


On Sun, Mar 3, 2013 at 10:44 AM, crocket <crockabiscuit at gmail.com> wrote:

> I have a C++ module that uses zmqpp to send IRC messages to a java program
> that logs the messages.
>
> The messages sent from the C++ module are supposed to be in the form
> "value=key", but it sends [0-6A-Z]+ when I load the module.
>
> Below are the errors.
>
> [error] o.z.LuceneLoggerBackend - Invalid 0MQ message
> org.zeroirclog.message.IncorrectMessageException: '=' doesn't exist in
> 6D73673DED95B0
>
> [error] o.z.LuceneLoggerBackend - Invalid 0MQ message
> org.zeroirclog.message.IncorrectMessageException: '=' doesn't exist in
> 6D73673DEB939CEB9494EC96B420495243EBA19CEAB985EC9DB420EB9098EB8A9420EB8DB0EAB98CECA780EB8A9420EC84B1EAB3B5ED9688EAB5B0EC9A94
>
> [error] o.z.LuceneLoggerBackend - Invalid 0MQ message
> org.zeroirclog.message.IncorrectMessageException: '=' doesn't exist in
> 6D73673DECA09CEB8C80EBA19C20EBA19CEAB985EC9DB420EB9090EB8A94ECA78020ED858CEC8AA4ED8AB8ED95B4EBB490EC95BC20EB9098EB8A94EB8DB0
>
> Why does my C++ module send [0-6A-Z]+ when I load it?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130303/17a3f986/attachment.htm>


More information about the zeromq-dev mailing list