Esempio n. 1
0
 /// <summary>
 /// Converts an IBM XMS text message
 /// into an NMS text message.
 /// </summary>
 /// <param name="xmsTextMessage">IBM XMS text message.</param>
 /// <returns>NMS text message.</returns>
 public static Apache.NMS.ITextMessage ToNMSTextMessage(
     IBM.XMS.ITextMessage xmsTextMessage)
 {
     return(xmsTextMessage != null
                         ? new Apache.NMS.XMS.TextMessage(xmsTextMessage)
                         : null);
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a <c>TextMessage</c> object.
 /// </summary>
 /// <param name="message">XMS text message.</param>
 public TextMessage(IBM.XMS.ITextMessage message)
     : base(message)
 {
 }