|
|
|
|||||
|
Can subscriber be activated by publisher on demand?
hi,
I have a program that subscribe a topic "Demo/Hello" and configure with activation = "on-demand" in IceGrid , can it be activated by publisher? And how can i detect the connection broken between the IceStorm and the Subscriber ? with periodic calls to ice_ping may be a solution , but I don't think that is a good idea ![]() |
|
||||||
|
Note that this will only work for an IceStorm subscriber if the subscriber had previously subscribed to the topic and then exited without unsubscribing. Any further published events will then cause the subscriber to restart and receive the message. If the subsciber unsubscribes when it exits or has never subscribed then it will not get activated by subsequent events since IceStorm will have no knowledge of the subscriber.
|
|
|||||
|
thanks
Quote:
It is hard to meet above requirements! ps . Persistent subscribers is a solution? |
|
||||||
|
The best solution is persistent subscribers, yes. Another solution would be to send heartbeat messages through IceStorm... if you don't get the heartbeat message then you know something has gone wrong.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| about Subscriber and Publisher | terminate | Help Center | 1 | 04-27-2007 01:44 PM |
| about publisher/subscriber | rellik78 | Help Center | 1 | 09-15-2006 04:34 AM |
| IceStorm publisher and subscriber in the same process | istvan | Help Center | 2 | 05-25-2005 05:26 AM |
| having issue with on-demand activation | BobDeAnna | Help Center | 12 | 12-29-2004 12:42 PM |
| minimal subscriber/publisher demo | zhaiyl | Help Center | 1 | 03-29-2004 06:32 AM |