You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/05 20:48:20 UTC
[jira] [Commented] (IGNITE-3807) IgniteSpiContext registers message
listeners incorrectly
[ https://issues.apache.org/jira/browse/IGNITE-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15465755#comment-15465755 ]
ASF GitHub Bot commented on IGNITE-3807:
----------------------------------------
GitHub user samaitra opened a pull request:
https://github.com/apache/ignite/pull/1036
IGNITE-3807 IgniteSpiContext registers message listeners incorrectly
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/samaitra/ignite IGNITE-3807
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1036.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1036
----
commit a3e87e8765d52223f1296cb83e2ec39d32b197db
Author: samaitra <sa...@gmail.com>
Date: 2016-09-05T20:41:37Z
IGNITE-3807 IgniteSpiContext registers message listeners incorrectly
----
> IgniteSpiContext registers message listeners incorrectly
> --------------------------------------------------------
>
> Key: IGNITE-3807
> URL: https://issues.apache.org/jira/browse/IGNITE-3807
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 1.7
> Reporter: Valentin Kulichenko
> Assignee: Saikat Maitra
> Fix For: 1.8
>
>
> {{IgniteSpiContext}} implementation provided by {{GridManagerAdapter}} uses {{ctx.io().addMessageListener(..)}} method to register message listeners. This is incorrect, because this creates a listener for internal Ignite messages, not for user messages. Thus, when user tries to send a message on this topic, the listener is not invoked. To fix this, {{ctx.io().addUserMessageListener(..)}} method should be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)