# /*********************************************************************/
# /* */
# /* IBM Message Service Client for .NET */
# /* */
# /* FILE NAME: readme.txt */
# /* */
# /* DESCRIPTION: Important notes about the product samples */
# /* */
# /*********************************************************************/
# /* <START_COPYRIGHT> */
# /* */
# /* Licensed Materials - Property of IBM */
# /* */
# /* 5724-M21 */
# /* */
# /* (C) COPYRIGHT International Business Machines Corp. 2003, 2009 */
# /* All Rights Reserved */
# /* */
# /* U.S. Government Users Restricted Rights - use, duplication or */
# /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.*/
# /* */
# /* Status: Version 2 Release 0 */
# /* <END_COPYRIGHT> */
# /* */
# /*********************************************************************/
# /* */
# /* Updated: 31st July 2009 */
# /* */
# /*********************************************************************/
IBM Message Service Client for .NET SAMPLES README
===================================================
The following sample code has been provided:
XMS-C# asynchronous & synchronous consumer
XMS-C# producer
For messages to and from a WMQI Real Time Transport node, a WMQ
Queue Manager, or a WebSphere Application Server Messaging Engine.
Both source and precompiled executables are supplied.
Platform differences
====================
Conventions used here
---------------------
To aid readability of the document:
a) Use of directory separator '/' throughout
b) Scripts are referred to by filename ONLY so, for example, "xmsdemo"
refers to "xmsdemo.cmd" on Windows.
Windows ONLY
------------
For building the 'C#' application(s) it is assumed that Microsoft Visual
Studio .NET 2003 is installed and that the MSVC build environment is set
up correctly.
For example:
vcvars32.bat
The key files
=============
The source for the C# sample types are contained within their respective
sub directories
SampleConsumer
SampleProducer
The Microsoft Visual Studio .NET solution (and related projects) supplied, shows
how to build the XMS C# application(s).
SampleConsumer/SampleConsumer.cs
--------------------------------
Receives any type of message either asynchronously or synchronously and reads the
text, a named string property, and a named integer property.
SampleProducer/SampleProducer.cs
--------------------------------
Sends the specified message type containing text, a named string property, and a
named integer property at the specified interval.
SampleCommon/BaseOptions.cs
---------------------------
Functions common to the samples, used to minimise unnecessary code in the samples
themselves.
SampleCommon/Options.cs
-----------------------
Functions common to the samples, used to minimise unneccessary code in the samples
themselves.
SampleCommon/OptionsPresenter.cs
--------------------------------
Functions common to the samples, used to minimise unneccessary code in the samples
themselves.
SampleCommon/XMSApp.cs
----------------------
Wraps the basic XMS .NET API providing common functionality within the
sample applications.
bin/xmsdemo
-----------
A script which starts a C# consumer (SampleConsumer) and a C# producer (SampleProducer).
Provided the settings entered by the user are valid, the producer and consumer will send
and receive message respectively until the user terminates them.
Pre-Compiled Binaries
=====================
bin/SampleConfigCS
------------------
C# application that allows the user to specify producer and consumer properties
(either WMQ, RTT or WPM) interactively, and then writes these properties to a JNDI
format administered objects file which can then be used to execute each of the
samples repeatedly with same parameters. To see usage of the command, specify '?'
as a parameter.
bin/SampleConsumerCS
--------------------
C# command line asynchronous & synchronous message consumer. To see usage of
the command, specify '?' as a parameter.
bin/SampleProducerCS
--------------------
C# command line message producer. To see usage of the command, specify '?'
as a parameter.
Running the demo
================
"xmsdemo" uses the pre-built versions of the sample programs to demonstrate an XMS
consumer asynchronously receiving messages from an XMS producer, via either a WMQI
broker, a WMQ Queue Manager or a WebSphere Application Server Message Engine.
The demo requires you have one of the following:
a) A WMQI broker, which has 'Real-timeOptimizedFlow' node deployed (port:1506)
b) A WMQ Queue Manager (port:1414)
c) A WebSphere Application Server Message Engine (port:7276)
You may need to find which port number is being used. The defaults are shown in brackets
after each option above
After the environment has been set up all you need to do is:
cd tools/samples/bin
xmsdemo
and enter the properties you are prompted for.
If successful, two applications are then launched
(1) "XMS Producer" - continually publishes XMS messages
(2) "XMS Consumer" - continually receives messages from the producer
Building the samples
====================
All you need to do is:
Open the 'Samples.sln' Visual Studio solution file, available at:
tools/samples/src
and compile the solution (including both projects; SampleConsumer & SampleProducer)
within the Microsoft Visual Studio .NET GUI.
Trademarks
==========
The following terms are trademarks of the IBM Corporation in the
United States, or other countries, or both:
IBM, MQSeries, SupportPac, WebSphere
ActiveX, Microsoft, Visual Basic, Visual C++, Windows, and Windows NT are
trademarks or registered trademarks of Microsoft Corporation in the United
States, other countries, or both.
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States, other countries,
or both.
UNIX is a registered trademark of The Open Group in the United States
and other countries.
Other company, product, and service names may be trademarks or service marks
of others.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ibm mq tools.rar (1086个子文件)
StockQuoteDotNet.asmx 1KB
StockQuoteDotNetTran.asmx 597B
SQDNNonInline.asmx 574B
mqmtsclient.asp 15KB
cmqb.bas 152KB
cmqcfb.bas 82KB
cmqbb.bas 46KB
sampleutils.bas 26KB
cmqxb.bas 24KB
cmqpsb.bas 9KB
vbmqmtsservemodule.bas 2KB
mydefs.bas 1000B
bldvbsamp.bat 1KB
bldcssamp.bat 748B
bldmcpsamp.bat 282B
amqsaxe0.c 189KB
amqodqpa.c 142KB
amqsrr2a.c 138KB
amqsresa.c 133KB
amqsmon0.c 97KB
amqsqrma.c 92KB
amqssr2a.c 80KB
amqsxrma.c 74KB
amqspr2a.c 73KB
amqodqma.c 72KB
amqodqla.c 71KB
amqsblst.c 54KB
amqssbxa.c 50KB
amqsspin.c 50KB
amqodqka.c 41KB
amqsprma.c 40KB
amqssr1a.c 40KB
amqsgr2a.c 40KB
amqspr1a.c 38KB
amqsgama.c 37KB
amqsbcg0.c 36KB
amqsspca.c 34KB
amqsaiem.c 33KB
amqsldpc.c 29KB
amqsxae0.c 29KB
amqodqua.c 29KB
amqsppca.c 27KB
amqsstop.c 27KB
amqsxag0.c 27KB
amqssslc.c 25KB
amqsinqa.c 24KB
amqsseta.c 24KB
amqsaem0.c 23KB
amqsptl0.c 23KB
amquregn.c 22KB
amqsaicl.c 22KB
amqscnxc.c 22KB
amqsmhac.c 21KB
amqsreq0.c 20KB
amqodqna.c 20KB
amqsstma.c 19KB
amqsailq.c 19KB
amqspsra.c 19KB
amqsaicq.c 19KB
amqscbf0.c 18KB
amqsecha.c 18KB
amqsgrma.c 17KB
amqsiqma.c 17KB
amqsapt0.c 16KB
amqsphac.c 16KB
amqssuba.c 16KB
amqsghac.c 16KB
amqstrg0.c 16KB
amqsget0.c 16KB
amqsgbr0.c 15KB
amqsput0.c 15KB
amqspse0.c 15KB
amqslog0.c 14KB
amqspuba.c 13KB
amqstxgx.c 13KB
amqstxpx.c 13KB
amqzscin.c 13KB
amqodqoa.c 11KB
amqsvfc0.c 11KB
amqstxsx.c 11KB
amqzscgn.c 10KB
sybswit.c 8KB
amqswlm0.c 8KB
infswit.c 4KB
db2swit.c 4KB
oraswitd.c 4KB
oraswit.c 4KB
amqminq2.cbl 25KB
amqiinq2.cbl 24KB
amqmset2.cbl 23KB
amqiset2.cbl 22KB
amq0xag0.cbl 21KB
amq0ptl0.cbl 21KB
amq0req0.cbl 19KB
amqmech2.cbl 18KB
amqiech2.cbl 17KB
amq0sub0.cbl 15KB
amq0gbr0.cbl 14KB
amq0pub0.cbl 13KB
amq0get0.cbl 13KB
共 1086 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- whceo2019-04-03排版有点乱啊,看的困难
- oplang2014-07-21排版有点乱啊,看的困难
king875812310
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功