Can I have for one session delivery and send message methods for two or more diferent topics?
First set first topic:
solace-> AllocateAndSetDeliveryAndDestination((char *)&commandOpts.destinationName[0], SOLCLIENT_DELIVERY_MODE_PERSISTENT);
while (fgets(message, MAXCHAR, fp) != NULL)
{
solace->SendMessage((char *)&commandOpts.**destinationName**[0],message);
}
Then use another topic for a same session:
solace-> AllocateAndSetDeliveryAndDestination((char *)&commandOpts.SecondationName[0], SOLCLIENT_DELIVERY_MODE_PERSISTENT);
while (fgets(message, MAXCHAR, fp) != NULL)
{
solace->SendMessage((char *)&commandOpts.**SecondationName**[0],message);
}