Exemple #1
0
 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());
 }
Exemple #3
0
 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());
 }
Exemple #6
0
 public OneWayReceivePort()
 {
     Name        = "OneWayReceivePort";
     Description = "Some Useless One-Way Test Receive Port";
     ReceiveLocations.Add(new OneWayReceiveLocation());
 }
Exemple #7
0
 public TwoWayReceivePort()
 {
     Name        = "TwoWayReceivePort";
     Description = "Some Useless Two-Way Test Receive Port";
     ReceiveLocations.Add(new TwoWayReceiveLocation());
 }
Exemple #8
0
 public ClaimReceivePort()
 {
     Name = ReceivePortName.Offwards("Claim");
     ReceiveLocations.Add(new ClaimReceiveLocation());
 }
Exemple #9
0
 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());
 }