ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladislav Pyatkov <vldpyat...@gmail.com>
Subject Re: Async messaging
Date Mon, 07 Nov 2016 07:52:09 GMT
Look at the article about asynchronous support of Ignite[1].
You are need to use method .future(), synchronous result be always null at
this case.

[1]: http://apacheignite.gridgain.org/docs/async-support

On Sat, Nov 5, 2016 at 11:47 PM, Daniel Stieglitz <
dstieglitz@stainlesscode.com> wrote:

> Hi folks:
>
> We are trying to get messaging working asynchronously. Take a look at the
> code below:
>
> IgniteMessaging rmtMsg = grid.message().withAsync();
>
> def future = rmtMsg.send(destination, message);
>
> log.debug("got future ${future}");
>
>
> That code runs synchronously and the debug says "got future null"
>
> Is there something else we need to configure to get this working?
>
>
> Dan
>
>


-- 
Vladislav Pyatkov

Mime
View raw message