Martin Ritchie wrote:
Ok, I must be in need of a break as I don't see why we can't automatically detect and parse the formats.We are talking about the difficulty that the JNDI destination tag will be able to be more than one format right? Old style: destination.direct = direct://amq.direct//directQueue New Style: my-destination; {create: always, node-properties: {type: special}} as far as I can see the two would be quite easy to distinguish. Old is STRING://STRING/... New is STRING;... Sorry If I'm clearly not following what is going on but could someone explain where the difficulty in detecting the difference between the two formats lies?
The string "direct:" is a valid node name, and the string "/amq.direct//directQueue" is a valid subject. Putting them together with a slash in between (name/subject) results in:
direct://amq.direct//directQueue --Rafael --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
