Back Forward Connect-MSMQ method

Methods and instructions by function

Use the Connect-MSMQ method to invoke a connector to an external system that uses Microsoft MQ (MSMQ) messaging services.

Parameters

This method operates on a named clipboard page that is the source and destination of data mappings. Make sure the Step Page column that calls this method contains the non-blank name of such a page.

This method has one parameter:

Parameter

Description

ServiceName

Enter the Service Name (second key part) of a Connect MSMQ rule (Rule-Connect-MSMQ rule type). The system uses the class of the step page as the first key part of the rule.

Results

The Connect-MSMQ method works as follows:

  1. Using rule resolution, locates the Connect MSMQ rule identified by the ServiceName parameter and the class of the step page or primary page.
  2. Uses request information in the Connect MSMQ rule to assemble an MSMQ request message.
  3. If the step page does not exist, creates a new page, of the class identified in the Pages & Classes tab.
  4. Checks whether simulation is in force for this rule. If so, calls the simulation stub activity.
  5. If simulation is not in force, sends the MSMQ message.
  6. Processes the MSMQ response message if any when it is received.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Related topics About Connect MSMQ rules
Creating Connector Simulations
Connect-Wait method
How to detect long-running connectors

zzzMethods and instructions by function