public object Clone()
 {
     return(TargetConnectionFactory.Clone());
 }
 /// <summary>
 /// reate a JMS Connection via this template's ConnectionFactory.
 /// </summary>
 /// <returns></returns>
 protected virtual IConnection DoCreateConnection()
 {
     return(TargetConnectionFactory.CreateConnection());
 }
 public void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     TargetConnectionFactory.GetObjectData(info, context);
 }