public ConnectionFactory(string serverUrl, string clientId, Hashtable properties) { try { this.tibcoConnectionFactory = new TIBCO.EMS.ConnectionFactory(serverUrl, clientId, properties); } catch (Exception ex) { Apache.NMS.Tracer.DebugFormat("Exception instantiating TIBCO.EMS.ConnectionFactory: {0}", ex.Message); } VerifyConnectionFactory(); }
public ConnectionFactory() { try { this.tibcoConnectionFactory = new TIBCO.EMS.ConnectionFactory(); } catch (Exception ex) { Apache.NMS.Tracer.DebugFormat("Exception instantiating TIBCO.EMS.ConnectionFactory: {0}", ex.Message); } VerifyConnectionFactory(); }
public ConnectionFactory(string serverUrl) { try { this.tibcoConnectionFactory = new TIBCO.EMS.ConnectionFactory(serverUrl); this.brokerUri = new Uri(serverUrl); } catch (Exception ex) { Apache.NMS.Tracer.DebugFormat("Exception instantiating TIBCO.EMS.ConnectionFactory: {0}", ex.Message); ExceptionUtil.WrapAndThrowNMSException(ex); } VerifyConnectionFactory(); }
public ConnectionFactory(Uri serverUrl, string clientId, Hashtable properties) { try { this.tibcoConnectionFactory = new TIBCO.EMS.ConnectionFactory(serverUrl.AbsolutePath, clientId, properties); this.brokerUri = serverUrl; this.clientId = clientId; this.properties = properties; } catch (Exception ex) { Apache.NMS.Tracer.DebugFormat("Exception instantiating TIBCO.EMS.ConnectionFactory: {0}", ex.Message); ExceptionUtil.WrapAndThrowNMSException(ex); } VerifyConnectionFactory(); }