[
https://issues.apache.org/jira/browse/IGNITE-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449289#comment-15449289
]
Dmitriy Govorukhin commented on IGNITE-3727:
--------------------------------------------
First of all, if you want use msg.remoteListen(...) listener, you need more
that one node, when you do
Ignition.start() you create only one node. Now you have one node and one
listener on this local node, when send message we notify local listener, in the
same thread that send() method invoke, and then remote nodes. I think you
problem because you try to send and receive message in one node and one thread.
If you want you can add System.out.println(Thread.currentThread().getName());
to cycle and listener, and you see that it the same thread. This may not be
obvious.
> ignite.message() method not support async mode,withAsync() is invalid.
> ----------------------------------------------------------------------
>
> Key: IGNITE-3727
> URL: https://issues.apache.org/jira/browse/IGNITE-3727
> Project: Ignite
> Issue Type: Bug
> Components: messaging
> Affects Versions: 1.7
> Environment: windows 7
> Reporter: Yujue Li
> Assignee: Dmitriy Govorukhin
> Priority: Blocker
> Fix For: 1.8
>
>
> ignite.message() method not support async mode,withAsync() is invalid.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)