You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Nikolai Tikhonov <nt...@apache.org> on 2017/06/12 12:52:19 UTC

Re: messaging behavior

Hi,

Ignite does not accumulate messages which were sent to non-exist topic.
Messages will be lost in your case.

On Mon, Jun 12, 2017 at 12:30 PM, shawn.du <sh...@neulion.com.cn> wrote:

> Hi,
>
> I am trying ignite topic based messaging. I wonder to know ignite behavior
> in blow case:
>
> Client A send a message with topic T1  to ignite server, but there are no
> topic listeners at this time, after for a while(like 1 or 2 minutes),
> Client B is online and subscribe topic T1, will client B get the message?
> if true, how long
> the message will stay in ignite queue and how to set it?
> how it is for ordered message?
>
> Thanks
> Shawn
>
>

Re: messaging behavior

Posted by Nikolai Tikhonov <nt...@apache.org>.
Hi!

I think in your case you need to improve your protocol: send to back ack
message. Ack message will be sent to sender node when original message
processed.

On Fri, Jun 16, 2017 at 10:15 AM, shawn.du <sh...@neulion.com.cn> wrote:

> Hi,
>
> I want to use ignite messaging to send notifications to some client nodes.
>
> I write a tool to do this.
>
> this tool will start as a client node and send some message. when it send
> out the message,
> the tool will stopped.
> it seems that this doesn't work and i notice error like: Failed to resolve
> sender node (did the node left grid?)
> it seems the node gone are too fast.
>
> How to solve this?  another question is how can I get the feedback of how
> message are received by other nodes.
>
> Thanks
> Shawn
>
> On 06/12/2017 20:52,Nikolai Tikhonov<nt...@apache.org>
> <nt...@apache.org> wrote:
>
> Hi,
>
> Ignite does not accumulate messages which were sent to non-exist topic.
> Messages will be lost in your case.
>
> On Mon, Jun 12, 2017 at 12:30 PM, shawn.du <sh...@neulion.com.cn>
> wrote:
>
>> Hi,
>>
>> I am trying ignite topic based messaging. I wonder to know ignite
>> behavior in blow case:
>>
>> Client A send a message with topic T1  to ignite server, but there are no
>> topic listeners at this time, after for a while(like 1 or 2 minutes),
>> Client B is online and subscribe topic T1, will client B get the message?
>> if true, how long
>> the message will stay in ignite queue and how to set it?
>> how it is for ordered message?
>>
>> Thanks
>> Shawn
>>
>>
>