Contents

The MSMQReceiver component is used to receive messages from MSMQ. The name of the queue from which a message needs to be retrieved can be specified using the CPS.

Configuration and Testing

The MSMQ server and queue can be configured in the connection properties panel of Configuration Property Sheet (CPS).

Managed Connection Factory


Figure 1: Managed Connection Factory in MSMQReceiver CPS

Please refer the respective sections in MSMQSender 4.0 page for the information about the properties Use Connection Details From Input, Connection Configuration and Connection Pool Params.

Interaction Configurations


Figure 2: Interaction Configuration panel

Monitoring Configuration
Icon
  • For the Expert Properties such as Validate Input, Cleanup resources (excluding connection) after each document, Target Namespace, Elements to Decrypt and Elements to encrypt, refer respective sections in Common Configurations page.
  • For Monitoring configuration property too, refer the respective section in the above-mentioned page.

Scheduler Configuration

Please refer the respective section in Common Configurations page.

Error Handling

Please refer Error Handling section Common Configurations page for details.

 

Input and Output

Input Schema

There is no input schema for this adapter.

When the property Use Connection details from input is chosen, the following input schema with the element ConnectionFactorySettings is generated. Properties that are used to create the connection are present under this element.


Figure 3: Input schema with ConnectionFactorySettings

Output Schema

There is no output schema for this adapter.

Functional Demonstration

Scenario 1

Receive messages from a local MSMQ Server.
Configure the MSMQ Receiver as described in Configuration and Testing section and use feeder and display component to send sample input and check the response respectively.


Figure 4: Configuration the MSMQ Receiver

Sample Input


Figure 5: Demonstrating Scenario 1 with sample input

Sample Output


Figure 6: Demonstrating Scenario 1 with sample output

Use case scenario

In the revenue control packet example the transaction file details are received from an MSMQ server from where they are picked up by other applications for processing.


Figure 7: Revenue control packet

The event process demonstrating this scenario is bundled with the installer. The bundled process shows it as a File Reader component instead of a MSMQ Receiver component.
Documentation of the scenario and instructions to run the flow can be found in the Help tab of the flow in eStudio.

Useful Tips

  • If a queue specified in the CPS does not exist in a local or remote MSMQ server, it is not automatically created.
  • This component runs only on Windows Platform.
Adaptavist ThemeBuilder EngineAtlassian Confluence