/// <summary>
        /// Gets a sender for the bridge.
        /// </summary>
        /// <param name="properties">The service bus extended properties.</param>
        /// <returns>
        /// Returns the sender agent.
        /// </returns>
        public override ISender GetSender(AzureServiceBusExtendedProperties properties)
        {
            var sender = new AzureServiceBusQueueSender();

            sender.Connection = Connection;
            sender.EntityName = properties.EntityName;
            return(sender);
        }
        /// <summary>
        /// Gets a listener agent for the bridge.
        /// </summary>
        /// <param name="properties">The service bus extended properties.</param>
        /// <returns>
        /// Returns the listener agent.
        /// </returns>
        public override IListener GetListener(AzureServiceBusExtendedProperties properties)
        {
            var listener = new AzureServiceBusQueueListener();

            listener.Connection = Connection;
            listener.EntityName = properties.EntityName;

            return(listener);
        }
Exemple #3
0
 /// <summary>
 /// Gets a sender for the bridge.
 /// </summary>
 /// <param name="properties">The service bus extended properties.</param>
 /// <returns>Returns the sender agent.</returns>
 public abstract ISender GetSender(AzureServiceBusExtendedProperties properties);
Exemple #4
0
 /// <summary>
 /// Gets a listener agent for the bridge.
 /// </summary>
 /// <param name="properties">The service bus extended properties.</param>
 /// <returns>Returns the listener agent.</returns>
 public abstract IListener GetListener(AzureServiceBusExtendedProperties properties);