You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Senaka Fernando <se...@gmail.com> on 2008/04/27 19:05:31 UTC
Fanout Sample in C++ and Java have different logic
Hi all,
The Fanout Sample in Java does have a DeclareQueue application. But not the
C++ one. Shouldn't the samples be consistent?
Regards,
Senaka
Re: Fanout Sample in C++ and Java have different logic
Posted by Senaka Fernando <se...@gmail.com>.
I will have some look at it and get it fixed. It will help me understand
Qpid better too.
Regards,
Senaka
On Mon, Apr 28, 2008 at 8:01 PM, Rajith Attapattu <ra...@gmail.com>
wrote:
> Alan,
>
> The jmsexamples actually do the same as c++/python.
> Its the amqpexamples which are written against the low level API that
> needs
> to be updated.
>
> Regards,
>
> Rajith
>
> On Mon, Apr 28, 2008 at 10:03 AM, Alan Conway <ac...@redhat.com> wrote:
>
> > Rajith Attapattu wrote:
> >
> > > Senaka,
> > >
> > > I assume you are talking about the examples under the amqpexample
> > > folder?
> > > Yes these examples are old and certainly not in line with the latest
> set
> > > of
> > > examples.
> > > Besides the fanout example doesn't really fanout either.
> > >
> >
> > The C++ one does now, maybe the java one could be updated to follow
> suit.
> >
> >
> >
>
>
> --
> Regards,
>
> Rajith Attapattu
> Red Hat
> http://rajith.2rlabs.com/
>
Re: Fanout Sample in C++ and Java have different logic
Posted by Rajith Attapattu <ra...@gmail.com>.
Alan,
The jmsexamples actually do the same as c++/python.
Its the amqpexamples which are written against the low level API that needs
to be updated.
Regards,
Rajith
On Mon, Apr 28, 2008 at 10:03 AM, Alan Conway <ac...@redhat.com> wrote:
> Rajith Attapattu wrote:
>
> > Senaka,
> >
> > I assume you are talking about the examples under the amqpexample
> > folder?
> > Yes these examples are old and certainly not in line with the latest set
> > of
> > examples.
> > Besides the fanout example doesn't really fanout either.
> >
>
> The C++ one does now, maybe the java one could be updated to follow suit.
>
>
>
--
Regards,
Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/
Re: Fanout Sample in C++ and Java have different logic
Posted by Alan Conway <ac...@redhat.com>.
Rajith Attapattu wrote:
> Senaka,
>
> I assume you are talking about the examples under the amqpexample folder?
> Yes these examples are old and certainly not in line with the latest set of
> examples.
> Besides the fanout example doesn't really fanout either.
The C++ one does now, maybe the java one could be updated to follow suit.
Re: Fanout Sample in C++ and Java have different logic
Posted by Rajith Attapattu <ra...@gmail.com>.
Senaka,
I assume you are talking about the examples under the amqpexample folder?
Yes these examples are old and certainly not in line with the latest set of
examples.
Besides the fanout example doesn't really fanout either.
These examples were written with the intention of showing how the Java low
level API works.
We haven't yet decided on how the API should look like and hence little
attention is paid for these examples.
This may change in the future. But feel free to modify these examples and
make it look similar to the c++ examples.
The goal is to use a smillar structure to c++ and python examples.
Regards,
Rajith.
On Sun, Apr 27, 2008 at 1:05 PM, Senaka Fernando <se...@gmail.com>
wrote:
> Hi all,
>
> The Fanout Sample in Java does have a DeclareQueue application. But not
> the
> C++ one. Shouldn't the samples be consistent?
>
> Regards,
> Senaka
>
--
Regards,
Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/