6 Replies Latest reply on Jan 7, 2009 8:27 AM by clebert.suconic

    Getting the Address from QueueImpl?

    clebert.suconic



      Is there a way already to to find the Address from QueueImpl?

      I need to get the PageStore on ServerConsumerImpl::deliverReplicated, to lookup for references on Page case the reference was not found, and for that I need the Address used.

        • 1. Re: Getting the Address from QueueImpl?
          ataylor

          I'm not sure that makes sense. a queue will belong to a binding which may be associated with many addresses.

          • 2. Re: Getting the Address from QueueImpl?
            timfox

             

            "ataylor" wrote:
            I'm not sure that makes sense. a queue will belong to a binding which may be associated with many addresses.


            +1, certainly in the future we may exploit that.

            • 3. Re: Getting the Address from QueueImpl?
              timfox

              Hmm, can't you just prompt a depage as normal?

              • 4. Re: Getting the Address from QueueImpl?
                timfox

                Sounds like you're already implementing one of the solutions we discussed.

                However, I'm not sure we decided on that solution (keep depaging until the reference is found).

                Like I said yesterday, please *discuss* before jumping in with solutions.

                The depage solution can lead to OOM and may not be desirable. The other solutions we discussed were maintaining ordering.

                • 5. Re: Getting the Address from QueueImpl?
                  timfox

                  If you're looking at closng the remaining paging and large message replication issues, can you start by outlining the issues on this forum (you can start a new thread) and we can decide on the best solution.

                  IIRC the oustanding issues are

                  1) Large message replication. You added some custom replication that I thought was unnecessary. This needs to be looked at again

                  2) Replication with paging messages.

                  Anything else?

                  • 6. Re: Getting the Address from QueueImpl?
                    clebert.suconic

                     

                    "timfox" wrote:
                    Sounds like you're already implementing one of the solutions we discussed.

                    However, I'm not sure we decided on that solution (keep depaging until the reference is found).

                    Like I said yesterday, please *discuss* before jumping in with solutions.

                    The depage solution can lead to OOM and may not be desirable. The other solutions we discussed were maintaining ordering.


                    No.. I didn' t implement it... but I was looking for how I would implement it.

                    I was sketching my design... and that would be the basic need to implement what we discussed before.