public
Description:
Homepage: http://www.iserviceoriented.com
Clone URL: git://github.com/jezell/iserviceoriented.git
100644 99 lines (92 sloc) 4.865 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <sectionGroup name="NUnit">
      <section name="TestCaseBuilder"
type="System.Configuration.NameValueSectionHandler"/>
      <section name="TestRunner"
type="System.Configuration.NameValueSectionHandler"/>
    </sectionGroup>
  </configSections>
 
  <appSettings>
    <add key="sqlServer" value="(local)" />
    <add key="persistenceDb" value="Test_PersistenceDb" />
    <add key="testQueuePath" value=".\private$\esb_test_queue" />
    <add key="retryQueuePath" value=".\private$\esb_retry_queue" />
    <add key="failQueuePath" value=".\private$\esb_fail_queue" />
    <add key="incomingFilePath" value="incoming" />
    <add key="processedFilePath" value="processed" />
    <!-- Uncomment these lines and place to / from accounts here to test smtp send
    <add key="toMailAddress" value="unit_test_to@mydomain.com"/>
    <add key="fromMailAddress" value="unit_test_from@mydomain.com"/>
    -->
  </appSettings>
    
  <NUnit>
    <TestCaseBuilder>
      <add key="OldStyleTestCases" value="false" />
    </TestCaseBuilder>
    <TestRunner>
      <add key="ApartmentState" value="MTA" />
      <add key="ThreadPriority" value="Normal" />
      <add key="DefaultLogThreshold" value="Error" />
    </TestRunner>
  </NUnit>
 
  <system.serviceModel>
    <bindings>
      <netNamedPipeBinding>
        <binding name="namedPipe" sendTimeout="00:01:00" receiveTimeout="00:01:00" openTimeout="00:01:00" closeTimeout="00:01:00" />
      </netNamedPipeBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="debug">
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <client>
      <endpoint name="NamedPipeClient" contract="IServiceOriented.ServiceBus.UnitTests.IContract" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/remotehello" />
      <endpoint name="EchoHostClient" contract="IServiceOriented.ServiceBus.UnitTests.IEcho" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/echo" />
      <endpoint name="PassThroughClient" contract="IServiceOriented.ServiceBus.IPassThroughServiceContract" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/passthrough" />
      <endpoint contract="IServiceOriented.ServiceBus.Services.IServiceBusManagementService" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/serviceBusManagement" />
    </client>
    <services>
      <service name="NamedPipeListener" behaviorConfiguration="debug" >
        <endpoint name="NamedPipeListener" contract="IServiceOriented.ServiceBus.UnitTests.IContract" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://dynamic" />
      </service>
      <service name="EchoHost" behaviorConfiguration="debug" >
        <endpoint name="EchoHost" contract="IServiceOriented.ServiceBus.UnitTests.IEcho" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/echo" />
      </service>
      <service name="PassThroughListener" behaviorConfiguration="debug" >
        <endpoint name="PassThroughListener" contract="IServiceOriented.ServiceBus.IPassThroughServiceContract" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/passthrough" />
      </service>
      <service name="IServiceOriented.ServiceBus.UnitTests.ContractImplementation" behaviorConfiguration="debug" >
        <endpoint name="NamedPipe" contract="IServiceOriented.ServiceBus.UnitTests.IContract" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/remotehello" />
      </service>
      <service name="IServiceOriented.ServiceBus.Services.ServiceBusManagementService" behaviorConfiguration="debug">
        <endpoint contract="IServiceOriented.ServiceBus.Services.IServiceBusManagementService" binding="netNamedPipeBinding" bindingConfiguration="namedPipe" address="net.pipe://localhost/serviceBusManagement" />
      </service>
    </services>
    
  </system.serviceModel>
  <system.diagnostics>
    <trace autoflush="true" />
    <sources>
      <source name="System.ServiceModel"
              switchValue="Information, ActivityTracing"
              propagateActivity="true">
        <listeners>
          <add name="traceListener"
              type="System.Diagnostics.XmlWriterTraceListener"
              initializeData= "c:\temp\servicebus.svclog" />
        </listeners>
      </source>
    </sources>
  </system.diagnostics>
 
  <system.net>
    <mailSettings>
      <smtp>
        <network host="localhost" />
      </smtp>
    </mailSettings>
  </system.net>
 
  
</configuration>