deltapub-correlation
Including the basic AMPS library:
using AMPS.Client;
using AMPS.Client.Message;
using AMPS.Client.Exceptions;
Constructing the command:
Command cmd = new Command(Message.Command.DeltaPublish);
// Set topic and data (required)
cmd.setTopic(topic).setData(data);
// Set correlation Id
cmd.setCorrelationId(crossRef);
The command can now be used in executeAsync with a null message handler.