W3C home > Mailing lists > Public > public-soap-jms@w3.org > January 2009

[SOAP-JMS] Last Call comment LC04

From: Roland Merrick <roland_merrick@uk.ibm.com>
Date: Thu, 29 Jan 2009 17:30:24 +0000
To: yong-ping.tang@hp.com
Cc: public-soap-jms@w3.org, jinzhai.zhang@hp.com
Message-ID: <OFFD80EA63.A06A6A98-ON8025754D.005D980D-8025754D.00602BB6@uk.ibm.com>
Greetings, in your feedback you included the following comment which he 
have assigned the identifier: LC04 [1]. 

**Comment3
Point:  chapter 2.2.1 definition of destinationName and 
jndiConnectionFactoryName
Comment:        jndiConnectionFactoryName,destinationName,why first item 
with prefix ?jndi?, but second one without it?

The jndiConnectionFactoryName (along with jndiInitialContextFactory, 
jndiURL and jndiContextParameter) are all the names of parameters (as in 
the name, value pairs) that can be specified on a JMS URI or element names 
in WSDL. The JMS URI syntax specifies a positional parameter --jms-dest -- 
to define the destination name and as such "destinationName" is only a 
label used in the SOAP-JMS Binding spec to refer to the value of the 
positional parameter jms-dest. The string "destinationName" never appears 
at run time, the nearest is the JMS Header field named JMSDestination that 
is derived from destinationName (or jms-dest). 

The reason that we do not prefix destinationName with "jndi" is because 
the positional parameter jms-dest in the URI applies to all variants and 
not just to the jndi variant. This is described in the URI Scheme for 
Java(tm) Message Service 1.0 [2].

The URI spec includes the following examples: 

 
jms:jndi:SomeJndiNameForDestination?jndiInitialContextFactory=com.example.jndi.JndiFactory&priority=3
   jms:queue:ExampleQueueName?timeToLive=1000

in these examples the the jms-dest parameter (which we refer to as 
destinationName) are "SomeJndiNameForDestination" and "ExampleQueueName". 
>From this you can see that the name of the destination is not necessarily 
a jndi name.

We have made no changes to the specification please confirm whether this 
explanation satisfies the concern that you raised. If you still feel that 
some change is necessary please let us know.

[1] http://www.w3.org/2002/ws/soapjms/wiki/2009-01_LC_Comments#LC04 
[2] https://datatracker.ietf.org/drafts/draft-merrick-jms-uri/

Regards, Roland





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Thursday, 29 January 2009 17:32:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:16:20 GMT