in src/main/csharp/MessageProducer.cs [64:87]
public void Send(Apache.NMS.IMessage message)
{
Apache.NMS.EMS.Message msg = GetEMSMessage(message);
long timeToLive = (long) message.NMSTimeToLive.TotalMilliseconds;
if(0 == timeToLive)
{
timeToLive = this.tibcoMessageProducer.TimeToLive;
}
try
{
msg.OnSend();
this.tibcoMessageProducer.Send(
msg.tibcoMessage,
this.tibcoMessageProducer.MsgDeliveryMode,
this.tibcoMessageProducer.Priority,
timeToLive);
}
catch(Exception ex)
{
ExceptionUtil.WrapAndThrowNMSException(ex);
}
}