generate

Use the generate command to generate a connectivity configuration template file for a solution. You can also use a variation of this command to generate an inbound connectivity application for a solution.

Purpose

You use the connectivityManager generate config command to create a connectivity server configuration file for a solution. The command adds any missing entries for the connectivity resources in your solution:
  • If the connectivity server configuration file that you specify does not exist, Decision Server Insights creates a new file, and adds the configuration entries that are required by your solution.
  • If the connectivity server configuration file does exist, Decision Server Insights adds any missing configuration entries that are required by the solution, in the form of comments.

If Decision Server Insights does generate any missing configuration entries, you must modify those entries to meet the requirements of your solution. For Java™ Message Service (JMS), Decision Server Insights adds entries for the WebSphere® Application Server Service Integration Bus and the WebSphere MQ messaging providers. If you are using JMS, you must configure the entries that are appropriate for your solution. You can leave entries that are not required in the configuration file as comments, or you can delete them.

You use the connectivityManager generate application command to create an application that contains the inbound connectivity for your solution. You then manually deploy the application to an inbound connectivity server.

Syntax

connectivityManager generate config solutionFeature targetFile
[--inboundEndpoints=inbound_endpoint_names]
[--outboundEndpoints=outbound_endpoint_names]
connectivityManager generate application solutionFeature targetFile
[--inboundEndpoints=inbound_endpoint_names]
[--disableContainerManagedTransaction=true|false]

Description

Table 1. Mandatory parameters for the connectivityManager generate config command
Parameter Description
solutionFeature The filename of the solution feature.
targetFile The filename of the target file where the connectivity configuration is generated.
Table 2. Optional parameters for the connectivityManager generate config command
Parameter Description
inboundEndpoints This is a comma-separated list of the names of the inbound endpoints in the solution. The default is a wildcard (*) meaning that all inbound endpoints are included in the list.
outboundEndpoints This is a comma-separated list of the names of the outbound endpoints in the solution. The default is a wildcard (*) meaning that all inbound endpoints are included in the list.
Table 3. Mandatory parameters for the connectivityManager generate application command
Parameter Description
solutionFeature The filename of the solution feature.
targetFile The filename of the target file where the application is generated.
Table 4. Optional parameters for the connectivityManager generate application command
Parameter Description
disableContainerManagedTransaction If this value is set to true, the transaction attribute for inbound JMS endpoint MDBs is set to NotSupported, which allows inbound connectivity to be used with a JMS resource adapter that does not support XA. The default is false, which causes the default value for the transaction attribute to be used.
inboundEndpoints This is a comma-separated list of the names of the inbound endpoints in the solution. The default is a wildcard (*) meaning that all inbound endpoints are included in the list.
outboundEndpoints This is a comma-separated list of the names of the outbound endpoints in the solution. The default is a wildcard (*) meaning that all inbound endpoints are included in the list.

Example

connectivityManager generate config mysolution.esa mysolution-config.xml
connectivityManager generate application mysolution.esa mysolution-inbound.ear