You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Bessonov (Jira)" <ji...@apache.org> on 2021/07/20 10:47:00 UTC
[jira] [Commented] (IGNITE-14983) Provide an ability to register
NetworkMessageHandler for particular message group
[ https://issues.apache.org/jira/browse/IGNITE-14983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384061#comment-17384061 ]
Ivan Bessonov commented on IGNITE-14983:
----------------------------------------
Looks good, thank you for the contribution!
> Provide an ability to register NetworkMessageHandler for particular message group
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-14983
> URL: https://issues.apache.org/jira/browse/IGNITE-14983
> Project: Ignite
> Issue Type: Improvement
> Components: networking
> Reporter: Konstantin Orlov
> Assignee: Aleksandr Polovtcev
> Priority: Major
> Labels: iep-66, ignite-3
> Fix For: 3.0.0-alpha3
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Currently messaging service allows to register a general message handler only which will be invoked for every message received.
> {code:java}
> /**
> * Registers a handler for network message events.
> *
> * @param handler Message handler.
> */
> void addMessageHandler(NetworkMessageHandler handler);
> {code}
> It would be great to have an ability to register handler for particular message group in order to reduce the amount of unnecessary handlers' invocations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)