public TaxAgencyReceivePort() { Name = ReceivePortName.Offwards(Party.TaxAgency); ReceiveLocations.Add( ReceiveLocation( l => { l.Name = ReceiveLocationName.About(MessageName.Statement).FormattedAs.Xml; l.Enabled = false; l.ReceivePipeline = new ReceivePipeline <PassThruReceive>( pl => { pl.Decoder <PolicyRunnerComponent>( c => { c.Enabled = true; c.ExecutionMode = PluginExecutionMode.Deferred; c.Policy = Policy <Policies.Send.Claim.ProcessResolver> .Name; }); }); l.Transport.Adapter = new FileAdapter.Inbound(a => { a.ReceiveFolder = @"c:\files\drops"; }); l.Transport.Host = Host.ISOLATED_HOST; l.Transport.Schedule = new Schedule { StartDate = new DateTime(2015, 2, 17), StopDate = new DateTime(2015, 2, 17).AddDays(12), ServiceWindow = new ServiceWindow { StartTime = new Time(13, 15), StopTime = new Time(14, 15) } }; }) ); }
public UnitTestReceivePort() { Name = ReceivePortName.Offwards("UnitTest"); ReceiveLocations.Add( new UnitTestBatchAddPartReceiveLocation(), new UnitTestClaimDeskAnyReceiveLocation(), new UnitTestClaimDeskXmlReceiveLocation(), new UnitTestInputMessageReceiveLocation()); }
public TestReferencedReceivePort() { Name = "MyTestReferencedReceivePort"; ReceiveLocations.Add(new TestReferencedReceiveLocation()); }
public StandaloneReceivePort() { Name = ReceivePortName.Offwards("Job"); ReceiveLocations.Add(new StandaloneReceiveLocation()); }
public OneWayReceivePortStub() { Name = ReceivePortName.Offwards("Stub"); ReceiveLocations.Add(new OneWayReceiveLocationStub()); }
public OneWayReceivePort() { Name = "OneWayReceivePort"; Description = "Some Useless One-Way Test Receive Port"; ReceiveLocations.Add(new OneWayReceiveLocation()); }
public TwoWayReceivePort() { Name = "TwoWayReceivePort"; Description = "Some Useless Two-Way Test Receive Port"; ReceiveLocations.Add(new TwoWayReceiveLocation()); }
public ClaimReceivePort() { Name = ReceivePortName.Offwards("Claim"); ReceiveLocations.Add(new ClaimReceiveLocation()); }
public ContentReceivePort() { Name = ReceivePortName.Offwards("Batch"); ReceiveLocations.Add(new ContentReceiveLocation()); }
public TaxAgencyReceivePort() { Name = ReceivePortName.Offwards("TaxAgency"); ReceiveLocations.Add(new TaxAgencyReceiveLocation()); }
public PartReceivePortStub() { Name = ReceivePortName.Offwards("Stub"); ReceiveLocations.Add(new PartReceiveLocationStub()); }