Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
There are several services in Adeptia Connect that require JMS Provider is used to connect to JMS Server. While creating JMS Providerserver. To connect to the JMS server, you need to specify the Provider Jar files , which are used to connect to JMS Server. There are several services of Adeptia Connect, which require JMS Provider to connect to JMS Server.while creating the JMS Provider.
This section describes how to create a JMS Provider activity using the following details:
JMS Server Type | Apache Active MQ |
Transfer Type | Secure |
Provider JAR Files |
activemq- |
core-5.7.0.jar, geronimo-j2ee-management_1.1_spec-1.0.1.jar | |
JNDI Factory | org.apache.activemq.jndi.ActiveMQInitialContextFactory |
URL | |
User Name | MyUserName |
Password | Mypassword |
Queue Connection Factory | QueueConnectionFactory |
Topic Connection Factory | TopicConnectionFactory |
Warning | ||
---|---|---|
| ||
As the bundled Amazon Corretto JRE has been upgraded from Java version 8 to version 17 in AC v3.7.2, the JMS provider that connects to Apache Active MQ JMS server now uses the two jars activemq-core-5.7.0.jar, and geronimo-j2ee-management_1.1_spec-1.0.1.jar. Thus, you need to update any existing JMS provider that connects to Apache Active MQ JMS server to use these two jars. |
Steps to create JMS Provider
Click Configure > ACCOUNTS > JMS Provider.
- Click Create JMS Provider.
- Enter the name and description for the new JMS Provider in the textboxes Name and Description fields respectively.
Select the server type from the drop-down list of JMS Server Type.
Info To know more on the JMS Server types supported by Adeptia Connect and their corresponding JAR files, JNDI Factory and URLs, refer Table 4. Click Upload Jars button to upload the driver jar files for the JMS Server. The Upload Jar Files screen is displayed.
Click the Browse button and select the required jar files. The path of the selected jar file is displayed in the Browse File fieldInfo JMS Jar files are drivers, which are used to connect JMS Servers. There are specific jar files for different JMS Servers. These jar files are not provided with the Adeptia Connect. Users should use the jar files that are available with the JMS Servers. - .On the Upload Jar Files screen, click Choose File and select the geronimo-j2ee-management_1.1_spec-1.0.1.jar.
- Click the Upload JAR button. The file name is displayed in under the heading File Names list.
- Repeat the steps to upload additional jar files.6 and 7 to select and upload the activemq-core-5.7.0.jar.
Click the Finish button to return to the Create JMS Provider screenscreen. The uploaded jar file(s) is displayed in the textbox Provider Jar Files field.
Info If required, you can also unload the JAR files. To unload jars files, click the Unload JAR button. - Enter the JNDI Factory class name as specified by the JMS Provider in the textbox JNDI Factory field. For Example, in case of Apache ActiveMQ, the value is org.apache.activemq.jndi.ActiveMQInitialContextFactory.
- Enter the URL of the JMS Server in the URL field. For example, for Apache ActiveMQrunning ActiveMQ running on the same server, use tcp://localhost:61616.
- Enter the username and password required to connect to JMS Server in the textboxes UserName Userame and Password respectively fields respectively.
- Re-enter the password in the textbox the Confirm Password field.
- Enter the JMS Provider Queue connection Factory in the Queue Connection Factory field. For example, in case of Apache ActiveMQ, Queue Connection Factory is QueueConnectionFactory.
- Enter the JMS Provider Topic Connection Factory in the Topic Connection Factory field. For example, in case of OpenJMS, Topic Connection Factory is TopicConnectionFactory.
- In case the JMS Server, which
Enter the connection parameters and their values in the Additional Connection Parameters table if the JMS server that you are trying to connect
,to requires additional
connection parameters, the enter thoseconnection parameters
and their values in the Additional Connection Parameters table.
Image Removed
The above example is only applicable in case of Apache MQ. If we use the Apache Active MQ as JMS Server then we can define. For example, you can enter the Topic and Queue
name (whichdetails that will be used in the Source/Target/Event
) in the Additional Connection parameter table..
Image Added - Expand Advanced Properties and select the project of the activity from in the drop-down list of Project field.
- Click Save.
The following table lists the types of JMS Server supported by Adeptia Connect and their corresponding JAR Files, JNDI Factory, and URL.
Anchor | ||||
---|---|---|---|---|
|
Server Type | JAR Files | JNDI Factory | URL |
Apache Active MQ | activemq- |
core-5.7.0.jar | org.apache.activemq.jndi.ActiveMQInitialContextFactory | ||
OpenJMS | openjms-0.7.7-beta-1.jar, | org.exolab.jms.jndi.InitialContextFactory | |
OracleAQ | aqapi.jar,ojdbc6.jar | oracle.jms.AQjmsInitialContextFactory | jdbc:oracle:thin:@{hostname}:{port}:{sid} |
Oracle Weblogic | wlfullclient.jar | weblogic.jndi.WLInitialContextFactory | |
IBM WebSphere | com.ibm.mq.commonservices.jar, | com.ibm.mq.jms.Nojndi |
Info |
---|
Version of JAR files may vary depending on version of the JMS Servers you are using. |
Panel | ||||
---|---|---|---|---|
| ||||
What's newBest practicesTraining guidesFrequently asked questionsAdeptia Connect APIsAdeptia security report |