src/gluten/Topology/SqsPusher.cs
/// <summary>
/// Pushes a command to be routed to a queue.
/// Routing is controlled at configuration time through .Routing
/// </summary>
/// <param name="command"></param>
/// <typeparam name="T"></typeparam>
Pushes a command to be routed to a queue.
Routing is controlled at configuration time through .Routing
Pushes a command to be routed to a queue . Routing is controlled at configuration time through . Routing
public void Push<T>(T command)
            where T : ICommand
        {
            var queueUrl = _routeMap.GetQueueUrl<T>();
            var messageString = _serializer.GetString(command);
            _sqsClient.SendMessage(messageString, queueUrl);
            _log.DebugFormat("Command of type {0} pushed to queue {1}.",
                typeof(T), queueUrl);
        }
public void Push < T > ( T command ) where T : ICommand { var queueUrl = _routeMap . GetQueueUrl < T > ( ) ; var messageString = _serializer . GetString ( command ) ; _sqsClient . SendMessage ( messageString , queueUrl ) ; _log . DebugFormat ( " " , typeof ( T ) , queueUrl ) ; }
Pushes a command to be routed to a queue.
Pushes a command to be routed to a queue .
command
T
None
typeparam
None