Skip to content

Commit

Permalink
Added all sources and resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Nov 1, 2014
1 parent 2a3aa5f commit 8106f9e
Show file tree
Hide file tree
Showing 308 changed files with 62,626 additions and 0 deletions.
Binary file added binaries/DotNetMQ.exe
Binary file not shown.
22 changes: 22 additions & 0 deletions binaries/DotNetMQ.exe.config
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>
2 changes: 2 additions & 0 deletions binaries/INSTALL_x64.bat
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
2 changes: 2 additions & 0 deletions binaries/INSTALL_x86.bat
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
3,601 changes: 3,601 additions & 0 deletions binaries/MDSCommonLib.XML

Large diffs are not rendered by default.

Binary file added binaries/MDSCommonLib.dll
Binary file not shown.
Binary file added binaries/MDSCore.XmlSerializers.dll
Binary file not shown.
Binary file added binaries/MDSCore.dll
Binary file not shown.
Binary file added binaries/MDSManager.exe
Binary file not shown.
36 changes: 36 additions & 0 deletions binaries/MDSManager.exe.config
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 added binaries/MDSServiceProxyGenerator.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions binaries/MDSSettings.design.xml
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>
19 changes: 19 additions & 0 deletions binaries/MDSSettings.xml
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 added binaries/MySql.Data.dll
Binary file not shown.
Binary file added binaries/Setup/Databases/MSSQL/DB-FILES.zip
Binary file not shown.
6 changes: 6 additions & 0 deletions binaries/Setup/Databases/MSSQL/ReadMe.txt
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.
36 changes: 36 additions & 0 deletions binaries/Setup/Databases/MSSQL/Tables.txt
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

2 changes: 2 additions & 0 deletions binaries/Setup/Databases/MySQL/ReadMe.txt
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.
13 changes: 13 additions & 0 deletions binaries/Setup/Databases/MySQL/Tables.txt
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 added binaries/SqliteDB/MDS.s3db
Binary file not shown.
1 change: 1 addition & 0 deletions binaries/SqliteDB/ReadMe.txt
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 added binaries/System.Data.SQLite.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions binaries/UNINSTALL_x64.bat
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
2 changes: 2 additions & 0 deletions binaries/UNINSTALL_x86.bat
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 added binaries/log4net.dll
Binary file not shown.
Loading

0 comments on commit 8106f9e

Please sign in to comment.