shoal
  1. shoal
  2. SHOAL-18

Request from JOnAS : Make app messages visible to senders

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: GMS
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      18

      Description

      I'm a student working in a Brazilian research project about clustering with
      JOnAS. We are studying some frameworks for group communication and one of them
      is Shoal. This is probably a silly question, but I would appreciate it if you
      could answer me. I would like to know if I can send a message to myself. I tried
      to connect two hosts and exchange messages between them, but I could just
      receive messages from the other machine, not from myself. I looked the source
      code and I found that there's a call to local listeners in jxta before it sends
      a message, but when this call is passed to shoal it is stopped (if the message
      received is from the same machine that sent it). I tried to look the rest of the
      code, but it got complicated for me. I read the documentation present in your
      website and the examples that come with the source code, but I couldn't found
      any ideas to solve my problem.

      Thank you in advance


      Rafael Garcia Barbosa

        Activity

        Hide
        shreedhar_ganapathy added a comment -

        We would make this configurable. Shoal exposes a configuration keys Object
        called ServiceProviderConfigurationKeys.java

        We specify a key called LOOPBACK which lets the client specify boolean value.

        The default is taken as false, and if null, this is treated as false. If true,
        app level messages will be received by the sender in addition to the group.

        The Properties object in GroupManagementService's constructor can be used to
        populate this key value pair.

        Show
        shreedhar_ganapathy added a comment - We would make this configurable. Shoal exposes a configuration keys Object called ServiceProviderConfigurationKeys.java We specify a key called LOOPBACK which lets the client specify boolean value. The default is taken as false, and if null, this is treated as false. If true, app level messages will be received by the sender in addition to the group. The Properties object in GroupManagementService's constructor can be used to populate this key value pair.
        Hide
        shreedhar_ganapathy added a comment -
        Show
        shreedhar_ganapathy added a comment - Checked in fix for this request: https://shoal.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=219

          People

          • Assignee:
            shreedhar_ganapathy
            Reporter:
            shreedhar_ganapathy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: