Create a JMS connection
Configure your system to use Java Messaging Service (JMS) with a custom JMS activity or action.
Antes de Iniciar
Por Que e Quando Desempenhar Esta Tarefa
Procedimento
- Navigate to Credentials & Connections > Connections.
-
Click New, select JMS Connection,
fill in the form, and then click Submit.
Opção Descrição Name Unique name of this connection factory. Credential Add credentials for JMS provider. Connection Alias Select the alias record to associate with this connection. Using an alias enables you to update the connection record without having to reconfigure any actions or activities that use the alias. Initial Context Factory Name of the JNDI class that is used to create the InitialContext. Nota:For example, to connect to ActiveMQ V5.10 (JMS Provider), the value is org.apache.activemq.jndi.ActiveMQInitialContextFactory.Provider URL Location of the running JMS provider installation. Nota:For example, to connect to ActiveMQ V5.1: tcp://ipAddressOrHostName:61616.Active Check the box to make this an active connection. Domain Determine the domain the action or activity runs in. Use MID server Check to use a MID Server for this action or activity. If selected, define fields in the Advanced MID Server Configuration section. MID Selection Option to select a specific MID Server or MID Cluster. Choose any one of the following options. - Auto-Select MID Server: Your ServiceNow instance selects the MID Server without manual input.
- Specific MID Server: Your ServiceNow instance uses MID Server that you specify.
- Specific MID Cluster: Your ServiceNow instance uses the MID Cluster that you specify.
A MID Cluster is a group of MID Servers that enables your ServiceNow instance to handle multiple integrations, and improve integration speed. For more information, see Configure a MID Server cluster.
MID Cluster The specific MID Cluster you want to use. This field is available when Use MID Server is checked, and Specific MID Cluster is selected from the MID Selection list. Capabilities The capabilities the MID Server must support to be eligible for selection. The system runs the action or activity from a MID Server that supports the selected capabilities. Only displays if Use MID server is selected.
To learn more about how a MID Server is selected during runtime, see MID Server selection.
MID Application The application the MID Server must support to be eligible for selection. The system runs the action from a MID Server that supports the selected application. Only displays if Use MID server is selected.
To learn more about how a MID Server is selected during runtime, see MID Server selection.
- Navigate to Connections & Credentials > Credentials.
-
Click New, select JMS
Credentials, and then provide the user name and password the MID
should use to communicate with the JMS provider.
For more information, see JMS credentials.
-
Click Submit.
You are ready to create a custom JMS action or activity.