Aracılığıyla paylaş


Message Queuing Connector Services

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing provides support for interoperability with other messaging systems. These other systems, referred to as foreign messaging systems, can be other Message Queuing systems or non-Message Queuing systems.

To connect to a foreign messaging system, the following tasks must be completed.

  • Configure a Message Queuing routing server as a connector server for sending messages between the Message Queuing system and one or more foreign sites in the foreign messaging system.

  • Write a connector application that can translate both outgoing and incoming messages, plus provide authentication, encryption, and transaction functionality when these services are needed. When connecting to an IBM MQSeries system, use the MSMQ-MQSeries Bridge provided with Microsoft® Host Integration Server 2000 as the connector application.

  • When sending messages, set message properties so that the Message Queuing system can determine that the messages are going to a foreign messaging system.

Sending applications can send messages to destination queues, referred to as foreign queues, in the foreign messaging system as if they were destination queues within your own Message Queuing enterprise.

Reading messages remotely from the foreign queues is not possible, however you can send messages to the foreign messaging system that can invoke a response from the foreign messaging system. The foreign messaging system can then send messages to queues on your Message Queuing enterprise.

Configuring a Message Queuing Server

The specific steps needed to configure a Message Queuing routing server as a connector server are described in the Windows® online Help; however, the following tasks are always performed when configuring the server (note that the specific details of these tasks may vary depending on which Windows operating system is in use):

  • Create a foreign site.

  • Create a routing link to the foreign site.

  • Define the server as a site gate in the routing link.

  • Add the server to the foreign site.

Writing a Connector Application

The typical responsibilities of a connector application are to translate message properties between the two different messaging systems and to forward messages to the designated messaging system.

When a message is sent to a foreign queue, the message is routed to one of two corresponding connector queues that represents the foreign site where the foreign queue resides (Message Queuing provides a nontransactional and a transactional connector queue for nontransactional and transactional messages, respectfully). The connector application must read the messages in the appropriate connector queue, translate them, and forward the messages on to the correct foreign queue.

When a foreign messaging application sends a message to a Message Queuing queue, the message must be routed to the connector application. The connector application must translate the message into a Message Queuing message and then forward the message on to the appropriate queue.

For information on See
The tasks that connector applications must perform Connector Application Responsibilities
How a connector application transfers messages from a Message Queuing system to a foreign messaging system Moving Messages from a Message Queuing System to a Foreign Messaging System
How a connector application transfers messages from a foreign messaging system to a Message Queuing system Moving Messages from a Foreign Messaging System to a Message Queuing System
How security is implemented for messages exchanged between Message Queuing systems and foreign messaging systems Connector Application Security
Exchanging authenticated messages between Message Queuing systems and foreign messaging systems Passing Authenticated Messages
Exchanging encrypted (private) messages between Message Queuing systems and foreign messaging systems Passing Private Messages
Sending messages to foreign queues within a transaction Using Connector Services in a Transaction