Hello Again. I'll try to explain a little bit more what i'm trying to do .
In C++, the "SubscriptionManager" allow me to subscribe a listener to several queues - This gives my client the flexibility to dynamically receive messages from several queues ["dynamic" because I can dynamically decide, during the listener generation, to which queues to "listen"] Is there an equivalent mechanism here? [In Java] dakash On Thu, May 15, 2008 at 6:37 AM, Daniel Cohen-Sason <[EMAIL PROTECTED]> wrote: > Hello. > "the assumption that most users will use the JMS API". > > Can you please clarify this? Is there an equivalent class which is > implemented in JMS? > Or, should I write my own "SubscriptionManager"? > > dakash > > > > On Thu, May 15, 2008 at 12:58 AM, Alan Conway <[EMAIL PROTECTED]> wrote: > >> Daniel Cohen-Sason wrote: >> >>> Hello. >>> CPP implementation has an implementation for SubscriptionManager >>> (qpid\client\SubscriptionManager). >>> >>> I couldn't find any implementation for Java. >>> >>> Please advise. >>> >>> dakash >>> >>> >> AFAIK there isn't one. The C++ API is similar to the python API, both are >> essentially generated directly from the AMQP specification. However the >> straight AMQP spec mapping makes subscribing rather tedious and error-prone, >> the subscription manager is a convenience wrapper to make it easier. >> >> I don't think Java has such a wrapper on the assumption that most users >> will use the JMS API. If we do add it to Java it would be good to keep the >> APIs at least loosely aligned. >> >> Cheers, >> Alan. >> > > > > -- > Regards, > Daniel Cohen-Sason -- Regards, Daniel Cohen-Sason
