RE: Re:ACTION-62 Make a proposal to clarify the wording and scope of the (221) jndiContext Parameter property)

Here is a revision to the original proposal. The property
"java.naming.referral" is used for the standard JNDI property example.

[Definition: soapjms:jndiContextParameter ]
(soapjms:jndiContextParameterType) 

*       Provides mechanism to set additional, arbitrary JNDI environment
properties, other than jndiURL and jndiInitialContextFactory, in the
HashMap sent to the InitialContext constructor for the JNDI provider, 

*       An optional property that MAY be specified more than once.

*       Specifies a JNDI property name and value pair to be added to the
HashMap sent to the InitialContext 

*       The JNDI property's name MUST be included in the name attribute,
its value MUST be included in the value attribute. The value is added as
a java.lang.String.

*       MAY be specified in JMS URI, WSDL, or somewhere else in the
environment

Examples: 

Including the JNDI property com.acme.jndi.enable.tracing for the ACME
Corporation JNDI provider

<soapjms:jndiContextParameter name="com.acme.jndi.enable.tracing "
value=true" />

Including the standard JNDI property java.naming.referral to disable
(ignore) JNDI provider referrals.

<soapjms:jndiContextParameter name=" java.naming.referral "
value="ignore" />

 

Received on Tuesday, 10 March 2009 16:26:13 UTC