-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
308 changed files
with
62,626 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> | ||
</configSections> | ||
<log4net> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender" > | ||
<file value="Logs/DotNetMQLog.txt" /> | ||
<appendToFile value="true" /> | ||
<rollingStyle value="Size" /> | ||
<maxSizeRollBackups value="3" /> | ||
<maximumFileSize value="10240KB" /> | ||
<staticLogFileName value="true" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%-5level %date [%-5.5thread] %-40.40logger - %message%newline" /> | ||
</layout> | ||
</appender> | ||
<root> | ||
<appender-ref ref="RollingFileAppender" /> | ||
</root> | ||
</log4net> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil DotNetMQ.exe | ||
net start DotNetMQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil DotNetMQ.exe | ||
net start DotNetMQ |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> | ||
</configSections> | ||
<log4net> | ||
<!-- | ||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%-5level %date [%thread] %logger - %message%newline" /> | ||
</layout> | ||
</appender> | ||
--> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender" > | ||
<file value="Logs/MDSManager-Log.txt" /> | ||
<appendToFile value="true" /> | ||
<rollingStyle value="Size" /> | ||
<maxSizeRollBackups value="1" /> | ||
<maximumFileSize value="10000KB" /> | ||
<staticLogFileName value="true" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%-5level %date [%-5.5thread] %-40.40logger - %message%newline" /> | ||
</layout> | ||
</appender> | ||
<!--<appender name="TelnetAppender" type="log4net.Appender.TelnetAppender" > | ||
<port value="4444" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%-5level %date [%thread] %logger - %message%newline" /> | ||
</layout> | ||
</appender>--> | ||
<root> | ||
<appender-ref ref="RollingFileAppender" /> | ||
<!--<appender-ref ref="TelnetAppender" />--> | ||
</root> | ||
</log4net> | ||
</configuration> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MDSConfiguration> | ||
<Servers> | ||
<Server Name="this_server" Location="14,15" /> | ||
</Servers> | ||
</MDSConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MDSConfiguration> | ||
|
||
<Settings> | ||
<Setting Key="ThisServerName" Value="this_server" /> | ||
<Setting Key="StorageType" Value="SQLite" /> | ||
</Settings> | ||
|
||
<Servers> | ||
<Server Name="this_server" IpAddress="127.0.0.1" Port="10905" Adjacents="" /> | ||
</Servers> | ||
|
||
<Applications> | ||
</Applications> | ||
|
||
<Routes> | ||
</Routes> | ||
|
||
</MDSConfiguration> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
To create MS SQL Server database for DotNetMQ, fallow one of two option below: | ||
|
||
First option : Create a database in SQL Server named mds and run query in Tables.txt file. | ||
Second option : Unzip DB-FILES.zip and attach to SQL Server. | ||
|
||
After creating database, you must configure MDSSettings.xml to use MS SQL Server as DB engine in DotNetMQ. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
USE [mds] | ||
GO | ||
|
||
/****** Object: Table [dbo].[Messages] Script Date: 05/22/2011 22:18:28 ******/ | ||
SET ANSI_NULLS ON | ||
GO | ||
|
||
SET QUOTED_IDENTIFIER ON | ||
GO | ||
|
||
SET ANSI_PADDING ON | ||
GO | ||
|
||
CREATE TABLE [dbo].[Messages]( | ||
[Id] [int] IDENTITY(1,1) NOT NULL, | ||
[MessageId] [nvarchar](100) NOT NULL, | ||
[DestServer] [nvarchar](100) NOT NULL, | ||
[NextServer] [nvarchar](100) NOT NULL, | ||
[DestApplication] [nvarchar](100) NOT NULL, | ||
[MessageData] [varbinary](max) NOT NULL, | ||
[MessageDataLength] [int] NOT NULL, | ||
[RecordDate] [datetime] NOT NULL, | ||
CONSTRAINT [PK_messages] PRIMARY KEY CLUSTERED | ||
( | ||
[Id] ASC | ||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
) ON [PRIMARY] | ||
|
||
GO | ||
|
||
SET ANSI_PADDING OFF | ||
GO | ||
|
||
ALTER TABLE [dbo].[Messages] ADD CONSTRAINT [DF_messages_RecordDate] DEFAULT (getdate()) FOR [RecordDate] | ||
GO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
To create MySQL database for DotNetMQ, create a database in MySQL Server named 'mds' and run query in Tables.txt file. | ||
After creating database, you must configure MDSSettings.xml to use MySQL Server as DB engine in DotNetMQ. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CREATE TABLE `mds`.`messages` ( | ||
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`MessageId` varchar(100) NOT NULL, | ||
`DestServer` varchar(100) NOT NULL, | ||
`NextServer` varchar(100) NOT NULL, | ||
`DestApplication` varchar(100) NOT NULL, | ||
`MessageData` blob NOT NULL, | ||
`MessageDataLength` int(10) unsigned NOT NULL, | ||
`RecordDate` datetime NOT NULL, | ||
PRIMARY KEY (`Id`), | ||
KEY `IX_Ser_App` (`NextServer`,`DestApplication`,`Id`) USING BTREE, | ||
KEY `IX_Ser` (`NextServer`,`Id`) USING BTREE | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin5; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MDS.s3db is an empty SQLite database file to be used in DotNetMQ. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net stop DotNetMQ | ||
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil -u DotNetMQ.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net stop DotNetMQ | ||
C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil -u DotNetMQ.exe |
Binary file not shown.
Oops, something went wrong.