Results 1 to 5 of 5

Thread: Publishing to replicated IceStorms

  1. #1
    bigtim is offline Registered User
    Name: Tim Brandt
    Organization: KC-Co II
    Project: Trading Applications
    Join Date
    Feb 2006
    Posts
    35

    Publishing to replicated IceStorms

    Hello again,

    If I have replicated IceStorms, can I pick which Storm I am publishing to? I am currently grabbing the TopicPrx's via Ice::Query q->findAllReplicas( topicprx), but when I get the publisher it had the replicted signiture and it pushes to which ever one the IceGrid tells me to. I want to have one publish go to multiple IceStorms. So far I see that I can subscribe to a specific topic manager, but not publish.

    Am I missing something?

    Tim Brandt
    Tim Brandt
    KC-CO II, LLC
    Trading Applications

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,140
    Hi,

    If you want the publisher proxy returned by Topic::getPublisher() to not be replicated, you should simply remove the replicaGroup attribute from Publish object adapter deployment descriptor. For example:

    Code:
              <adapter name="${service}.Publish" endpoints="${publish-endpoints}"/>
    Let us know if you need more information.

    Cheers,
    Benoit.

  3. #3
    bigtim is offline Registered User
    Name: Tim Brandt
    Organization: KC-Co II
    Project: Trading Applications
    Join Date
    Feb 2006
    Posts
    35
    Would just publishing to the replica and then having the subscribers subscribe to all TopicManagers accomplish the same thing?
    Tim Brandt
    KC-CO II, LLC
    Trading Applications

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,140
    Yes, you don't really need to use replica groups if you always want to publish to a given IceStorm instance.

    Cheers,
    Benoit.

  5. #5
    bigtim is offline Registered User
    Name: Tim Brandt
    Organization: KC-Co II
    Project: Trading Applications
    Join Date
    Feb 2006
    Posts
    35
    I guess what my real question is:

    If I publish a heartbeat to the Replica Group, does it go to all Replicas ? And if it does not how do I make it go to all Replicas?

    In my testing it seems like it does not. I would like to be able to have one publisher publish to a Replica Group and then have all of the clients get the data.
    Tim Brandt
    KC-CO II, LLC
    Trading Applications

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IceStorm: Publishing my own class
    By ShaChris23 in forum Help Center
    Replies: 3
    Last Post: 10-28-2009, 06:48 PM
  2. Connections newsletter now publishing bi-monthly
    By mes in forum Announcements
    Replies: 0
    Last Post: 08-22-2007, 11:12 AM
  3. icegrid with glacier2 and replicated icestorms
    By bigtim in forum Help Center
    Replies: 3
    Last Post: 08-14-2007, 12:17 PM
  4. problem in compiling icestormS with vc6
    By leya in forum Help Center
    Replies: 5
    Last Post: 03-15-2006, 02:19 AM
  5. IceStorm Publishing Error
    By aerowyn in forum Help Center
    Replies: 3
    Last Post: 10-18-2005, 10:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •