public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination, string selector, bool noLocal) { Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.Destination)destination; try { return(EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination, selector, noLocal))); } catch (Exception ex) { ExceptionUtil.WrapAndThrowNMSException(ex); return(null); } }
public Apache.NMS.IMessageConsumer CreateDurableConsumer(Apache.NMS.ITopic destination, string name, string selector, bool noLocal) { Apache.NMS.EMS.Topic topicObj = (Apache.NMS.EMS.Topic)destination; try { return(EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateDurableSubscriber(topicObj.tibcoTopic, name, selector, noLocal))); } catch (Exception ex) { ExceptionUtil.WrapAndThrowNMSException(ex); return(null); } }
public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination) { Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.Destination)destination; try { Apache.NMS.IMessageConsumer consumer = EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination)); ConfigureConsumer(consumer); return(consumer); } catch (Exception ex) { ExceptionUtil.WrapAndThrowNMSException(ex); return(null); } }
public Apache.NMS.IMessageConsumer CreateDurableConsumer(Apache.NMS.ITopic destination, string name, string selector, bool noLocal) { Apache.NMS.EMS.Topic topicObj = (Apache.NMS.EMS.Topic)destination; return(EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateDurableSubscriber(topicObj.tibcoTopic, name, selector, noLocal))); }
public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination, string selector, bool noLocal) { Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.Destination)destination; return(EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination, selector, noLocal))); }
public Apache.NMS.IMessageConsumer CreateConsumer(Apache.NMS.IDestination destination) { Apache.NMS.EMS.Destination destinationObj = (Apache.NMS.EMS.Destination)destination; return(EMSConvert.ToNMSMessageConsumer(this, this.tibcoSession.CreateConsumer(destinationObj.tibcoDestination))); }