A delegate that is called each time a Message is sent from this Producer which allows the application to perform any needed transformations on the Message before it is sent. The ConnectionFactory sets the provided delegate instance on each Connection instance that is created from this factory, each connection in turn passes the delegate along to each Session it creates which then passes that along to the Producers it creates.

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Property ProducerTransformer As ProducerTransformerDelegate
	Get
	Set
C#
ProducerTransformerDelegate ProducerTransformer { get; set; }
Visual C++
property ProducerTransformerDelegate^ ProducerTransformer {
	ProducerTransformerDelegate^ get ();
	void set (ProducerTransformerDelegate^ value);
}
JavaScript
function get_producerTransformer();
function set_producerTransformer(value);

See Also