Results 1 to 4 of 4

Thread: IceStorm "batch" reliability with Java?

  1. #1
    SteveWampler is offline Registered User
    Join Date
    Sep 2003
    Posts
    48

    IceStorm "batch" reliability with Java?

    I'm playing with some publish/subscribe code in Java that works fine until
    I set the QoS parameter "reliability" to "batch", at which point the subscriber no
    longer receives published messages. (It also stops receiving if I use
    ice_batchOneway() instead of ice_oneway() in the publisher, but I'm concerned
    here with the first issue. This is with JDK 1.5 and Ice 2.1.2 under Linux RH9.

    Before I trouble people too much about this, does anyone have the Clock demo
    from the c++ demo suite rewritten in Java? Having that as a working example
    might help me track down my problem faster.

    Thanks!

  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,196
    Hi,

    I'm not aware of any port of this demo to Java. However, we might be able to help if you take a look at this thread for our new support policy .

    Cheers,
    Benoit.

  3. #3
    SteveWampler is offline Registered User
    Join Date
    Sep 2003
    Posts
    48
    I think the signature's there now. Is this a known issue? Quite literally the
    code works fine if I use null or an empty java.util.Map for the QoS, but the
    moment I add the "batch" value to the reliability paramter the subscriber
    no longer sees any messages. I thought I could play with a Java version
    of Clock to see what wrong with our setup.
    Steve Wampler
    National Solar Observatory (www.nso.edu)
    Ice used as plugin on ATST (atst.nso.edu)

  4. #4
    SteveWampler is offline Registered User
    Join Date
    Sep 2003
    Posts
    48
    I've solved the problem. The default MessageSizeMax is too small for
    batching messages through IceStorm.
    Steve Wampler
    National Solar Observatory (www.nso.edu)
    Ice used as plugin on ATST (atst.nso.edu)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 01-31-2011, 07:32 PM
  2. Replies: 1
    Last Post: 01-28-2009, 06:15 AM
  3. Replies: 4
    Last Post: 10-26-2006, 11:23 AM
  4. starting "ice" process (node/admin etc) via Java
    By BobDeAnna in forum Help Center
    Replies: 6
    Last Post: 01-04-2005, 09:26 AM
  5. Replies: 1
    Last Post: 11-05-2004, 02:23 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
  •