IBM Integration Bus, Version 10.0.0.5 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Advanced configuration properties when using IBM Sterling Connect:Direct nodes

CDInput and CDOutput nodes can get connection details and staging directories in conjunction with a configurable service. To pick up new values when a configurable service is created or modified, you must reload the integration node or integration server, by using the mqsistop and mqsistart commands, or the mqsireload command.

Before you begin

About this task

Use the CDServer configurable service to change connection details for an IBM Sterling Connect:Direct node. The properties of the CDServer configurable services are described in CDServer configurable service.

Use the following scenarios as examples of how you use the staging directories.

Procedure

Results

To create a configurable service, use the web user interface or the mqsicreateconfigurableservice command; see Creating configurable services. For example:
mqsicreateconfigurableservice MYBROKER -c CDServer -o myCDServer  
where
MYBROKER
is the name of the broker
CDServer
is the name of the configurable service
myCDServer
is the object name.

Note the -o ObjectName parameter can take any value.

Output

This example transfers a file using the CDOutput node called CDOutput, in a message flow called messageflow1, in integration server default, on integration node MYBROKER.

The integration node stages the file in the local file path /tmp/cdtransfer/MYBROKER/default/messageflow1/CDOutput.

The Connect:Direct server then tries to transfer the file using the file path /cdserver/transfers/MYBROKER/default/messageflow1/CDOutput.

These properties are used when the files systems are mounted differently on the integration node and Connect:Direct server machines.

mqsichangeproperties MYBROKER -c CDServer
-o myCDServer -n brokerPathToStagingDir,cdPathToStagingDir
-v /tmp/cdtransfer,/cdserver/transfers 
To pick up the updated values in the configurable service, restart the integration server and message flow.

Input

This example receives a file using the CDInput node called CDInput, in a message flow called messageflow1, in integration server default, on integration node MYBROKER.

A file is transferred to the Connect:Direct server, to the directory /cdserver/transfers/example1.

IBM Integration Bus attempts to process the same file, but using the path /tmp/cdtransfer/example1.

These properties are used when the file systems are mounted differently on the IBM Integration Bus and Connect:Direct server machines.

mqsichangeproperties MYBROKER -c CDServer -o myCDServer 
-n brokerPathToInputDir,cdPathToInputDir 
-v /tmp/cdtransfer/example1,/cdserver/transfers/example1 
To pick up the updated values in the configurable service, restart the integration server and message flow.

To display Connect:Direct server configurable services, use the mqsireportproperties command, as shown in the following example:

mqsireportproperties MYBROKER -c CDServer -o AllReportableEntityNames -r

bc14060_.htm | Last updated 2016-06-25 08:08:25