qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: [java]: broker fails due to duplicate channel ids on different sessions
Date Tue, 19 Sep 2006 13:10:42 GMT
On Tue, 2006-09-19 at 12:43 +0100, Gordon Sim wrote:
> Perhaps some session information should be passed into the AMQChannel 
> constructor and this could be prepended to the channel id as the managed 
> objects name? Or just use the object ref to create a unique name and 
> have the channel id as a property?

I'd suggest a simple tree model. Anything that is only unique in the
scope of some parent object should have the parent's name prepended to
its own. That makes the names easy to generate but also easy to predict
for users.


View raw message