coreMessage.putStringProperty(HornetQConnection.CONNECTION_ID_PROPERTY_NAME, connID);
}
else
{
// make sure the message does not get a connID from a previous producer on another connection
coreMessage.removeProperty(HornetQConnection.CONNECTION_ID_PROPERTY_NAME);
}
try
{
producer.send(address, coreMessage);