Difference between revisions of "JNDIHelper"

From GreenVulcano Wiki
Jump to: navigation, search
Line 1: Line 1:
 
The JNDIHelper Element is used by: DataSourceConnection (see [[DBOperations]]), [[j2ee-ejb-call]], [[j2ee-jca-call]], [[jms-dequeue]], [[jms-enqueue]], [[pop-call]], [[ServiceCallerTask]], [[smtp-call]] and [[Jms-dequeue#XAHelper|XAHelper]]. It has the following attributes:
 
The JNDIHelper Element is used by: DataSourceConnection (see [[DBOperations]]), [[j2ee-ejb-call]], [[j2ee-jca-call]], [[jms-dequeue]], [[jms-enqueue]], [[pop-call]], [[ServiceCallerTask]], [[smtp-call]] and [[Jms-dequeue#XAHelper|XAHelper]]. It has the following attributes:
  
* ''initial-context-factory'': Initial context factory for the JNDI tree containing connection-factory and the destination-name. <br/> Where {{GVESB}} and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified. <br/> Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
+
{|class="gvtable"
* ''provider-url'': Application server connection URL. Refer to your application server documentation for the configuration of this parameter <br/> If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
+
! Attribute !! Type !! Description
* ''security-principal'': Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
+
|-
* ''security-credentials'': Password to connect the application server. <br/>If security is not enabled, you can leave unspecified this parameter.
+
| initial-context-factory || optional || Initial context factory for the JNDI tree containing connection-factory and the destination-name. <br/> Where {{GVESB}} and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified. <br/> Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
 +
|-
 +
| provider-url || optional || Application server connection URL. Refer to your application server documentation for the configuration of this parameter <br/> If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
 +
|-
 +
| security-principal || optional || Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
 +
|-
 +
| security-credentials || optional || Password to connect the application server. <br/>If security is not enabled, you can leave unspecified this parameter.
 +
|}
  
 
and the subelements:
 
and the subelements:

Revision as of 13:46, 9 February 2012

The JNDIHelper Element is used by: DataSourceConnection (see DBOperations), j2ee-ejb-call, j2ee-jca-call, jms-dequeue, jms-enqueue, pop-call, ServiceCallerTask, smtp-call and XAHelper. It has the following attributes:

Attribute Type Description
initial-context-factory optional Initial context factory for the JNDI tree containing connection-factory and the destination-name.
Where GreenVulcano® ESB and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified.
Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
provider-url optional Application server connection URL. Refer to your application server documentation for the configuration of this parameter
If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
security-principal optional Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
security-credentials optional Password to connect the application server.
If security is not enabled, you can leave unspecified this parameter.

and the subelements:

  • Description,
  • Advanced: with the attributes
    • object-factories
    • state-factories
    • url-pkg-prefixes
    • dns-url
    • authoritative
    • batchsize
    • referral
    • security-protocol
    • security-authentication
    • language
  • Extended: with its attributes
    • name,
    • value.