Message producers
In XMS, a message producer can be created either with a valid destination or with no associated destination. When creating a message producer with a null destination, a valid destination needs to be specified when sending a message.
Message producers with associated destination
In this scenario, the message producer is created using a valid destination. During the send operation, the destination need not be specified.
Message producers with no associated destination
In XMS .NET, a message producer can be created with a null destination.
To create a message producer with no associated destination when using the .NET API, NULL must be passed as a parameter into the CreateProducer() method of the ISession object (for example, session.CreateProducer(null)). However a valid destination must be specified when the message is sent.
Parent topic: Writing XMS applications