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 [[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.
 
* ''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.

Revision as of 15:22, 7 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:

  • initial-context-factory: 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: 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: 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.
    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.