User Specified Connection Properties for Messaging Types

While you are creating a message service using the New service wizard and have chosen to Create an Endpoint Now, you can enter user specified connection properties. Connection properties vary based on the messaging type. Refer to the following:

Connection Properties for Email and FTP

PropertyDescription
HostThe host name.
PasswordThe user password.
PortThe port number used by the email protocol. The default is 25. Field not used for FTP.
Protocol

The protocol used.

Email: For a service that sends messages (outbound), use SMTP.

FTP: Select FTP or FTPS (secure FTP)

UserThe user name.

Connection Properties for File

PropertyDescription
File DirectoryFully qualified path to the file.

Connection Properties for JMS

PropertyDescription
Destination TypeChoose queue.
Driver ClasspathEnter the driver classpath or choose the Driver Name in the next field. If you choose a Driver Name, the classpath is automatically completed.
Driver NameSelect ... to open the Driver Definitions dialog and choose the JMS driver. When you choose a driver, the driver classpath is automatically completed.
Initial Context FactoryName of the initial context factory that is used to look up connection factory and queue objects. Required.

Example: com.sybase.jms.InitialContextFactory

JNDI Provider URLURL for the server hosting the session. Required. Legacy Key: JMS_SES_PROVIDER_URL

Example: iiop://<machine name>:9000 The example assumes the default port number, 9000 is used. To verify the port number, check the eas_install.props file in the <server install directory>/EAServer directory. Check the port value for com.Sybase.jaguar.install.listeners.iiop.

QueueName of the transport specific instance queue name. Required.
Queue Connection FactoryName of the connection factory that is used to connect to queues. Required.

Example: javax.jms.QueueConnectionFactory

Note

You can use the user-specified connection properties to connect to a generic JMS provider without a driver.

  • Verify that the required .jar files have been extracted to the <EAServer install>/java/classes directory. For example, JBoss requires concurrent.jar, jboss-common-client.jar, jbossmq-client.jar, and jnp-client.jar. The documentation from the JMS provider should provide this list of required .jar files.

  • Enter the user-specified connection properties, excluding the driver. The following example identifies the values for JBoss JMS.

    PropertyValue
    Destination Typequeue
    Driver ClasspathC:\JBoss\jboss-4.0.0\client\concurrent.jar,C:\JBoss\jboss-4.0.0\client\jboss-common-client.jar,C:\JBoss\jboss-4.0.0\client\jbossmq-client.jar,C:\JBoss\jboss-4.0.0\client\jnp-client.jar
    Driver Nameno value
    Initial Context Factoryorg.jnp.interfaces.NamingContextFactory
    Jndi Provider URLjnp://<host>:<port>
    Queue<queue name>
    Queue Connection FactoryConnectionFactory

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com