Skip to content

Instantly share code, notes, and snippets.

View logicbomb's full-sized avatar

Jason Turim logicbomb

  • Chevy Chase, MD
View GitHub Profile
{
AgentSystemName,
PartName,
PartNamespace,
Arguments [{
Type,
Name,
Choices [] //string array,
MultiChoice,
DefaultValue
@logicbomb
logicbomb / gist:1951389
Created March 1, 2012 16:57
ReadModel
{
AgentSystemName,
PartType,
Name,
Properties
[{
Name,
PropertyType,
Choices [],
MultiChoice,
@logicbomb
logicbomb / gist:1951397
Created March 1, 2012 16:58
ReadModels
[{
AgentSystemName,
PartType,
Name,
Properties [{
Name,
PropertyType,
Choices [],
MultiChoice,
DefaultValue
[{
AgentSystemName,
PartType,
Name,
Properties
[{
Name,
PropertyType,
Choices [],
MultiChoice,
{
AgentSystemName,
PartType,
Name,
Properties
[{
Name,
PropertyType,
Choices [],
MultiChoice,
@logicbomb
logicbomb / gist:1951460
Created March 1, 2012 17:09
InputModels
[{
CommandName,
Name,
Properties
[{
Name,
PropertyType,
Choices [],
MultiChoice,
DefaultValue
@logicbomb
logicbomb / gist:1951467
Created March 1, 2012 17:10
InputModel
{
CommandName,
Name,
Properties
[{
Name,
PropertyType,
Choices [],
MultiChoice,
DefaultValue
@logicbomb
logicbomb / gist:1951481
Created March 1, 2012 17:13
Query Results
{
TotalNumberOfResults,
CurrentPage,
PageSize,
RecordsPerPage,
Headers [ ],
Results [{ Name, Type, Value }]
}
// HOST INIT
Bus.Initialize(sbc =>
{
sbc.SetNetwork("my-technologies");
sbc.UseRabbitMq();
sbc.ReceiveFrom("rabbitmq://localhost/command_host");
sbc.SetPurgeOnStartup(true);
sbc.Subscribe(
s =>
{
@logicbomb
logicbomb / asb-test
Created May 15, 2012 13:33
Azure service bus integration test
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Threading;
using MassTransit;
using MassTransit.Services.Routing.Configuration;
using MassTransit.Transports.AzureServiceBus.Configuration;
using NUnit.Framework;
namespace Integration.Tests.MassTransit