Senders

 

A Sender is a transport mechanism for sending a Message to a Configuration Manager site role. Not all Senders support all Message types. The Client Messaging SDK ships with three Senders: HttpSender, MPApiSender, and CcmSender.

  • HttpSender is the recommended Sender in most cases. It is a high-performance, fully managed code mechanism for sending messages to remote site roles. Unlike the MP API, HttpSender not only supports communication with management points, but also with other site roles as well as regular HTTP communication. HttpSender has the highest level of message compatibility of any Sender.

  • MPApiSender uses and requires the MP API SDK and is provided for compatibility reasons. We do not recommended that you use the MPApiSender except for under special circumstances. The MP API COM library must be registered on the local machine for this sender to function.

  • CcmSender uses COM to communicate with a locally installed Configuration Manager client (required) and can be used to send messages directly to the client or to a management point on behalf of that client. CcmSender supports unique Configuration Manager Client messages declared in the Microsoft.ConfigurationManagement.Messaging.Messages.Ccm Namespace. CcmSender should only be used when there is a need to directly interoperate with an existing client.

A Sender is designed for reuse and sharing, and supports notification callbacks via events such as OnSend and OnReceived.

IMessageSender Interface

Messaging concepts

Configuration Manager Client Messaging SDK

Client Messaging Managed Reference

Show: