On Thu, Nov 26, 2009 at 11:46 AM, Robert Godfrey <rob.j.godf...@gmail.com> wrote: > 2 > >> >> >> > Yep - I have no concerns about that - thanks! >> > >> > Now... as to having to use a -D on the JVM to choose which URL format to >> > use... :-) >> > >> > -- Rob >> >> are you planning to create more work for me ? :) >> We could certainly dynamically figure out which format to use. >> Now the question is are we planning to allow both old and new formats >> to be used side by side? >> Or do we need to make this a configurable policy? >> Perhaps that could be done using a -D option? >> Something like -Dqpid.dest.format = {URL,Address,Both} >> I am happy with either 'Address' or 'Both' being the default . >> >> What do you think? >> >> Regards, >> >> Rajith Attapattu >> Red Hat >> http://rajith.2rlabs.com/ >> >> > My view is just that we should try to keep things off the command-line / -D > parameters as it makes things harder to use... plus there is no reason why > you might not be mixing old style and new style URLs in the same JVM > (especially if you're running in a container or something like that). > > If we can make the syntax unambiguous so that the code can identify which > format it is looking at I think that would be best... > > -- Rob
Rob my first option is to avoid -D options or any form configuration. The less you need to tweak options the easy it becomes to migrate etc.. But as Rafi mentioned we may have some difficulties in figuring out the exact format. Perhaps we could find a decent solution to the above problem. I am certainly open to all suggestions. Lets wait for Rafi's write up and then discuss this further. I am sure we could arrive at some acceptable solution. While we work out this issue, is there any objection if I proceed forward based on the approach highlighted in my first email? I believe the only issue so far is the agreement on which mechanism is best to figure out the format. May I proceed with the other ground work necessary to get this approach moving? > >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:dev-subscr...@qpid.apache.org >> >> > -- Regards, Rajith Attapattu Red Hat http://rajith.2rlabs.com/ --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org