IBM WebSphere MQ??C#????????????
???????????? ???????[ 2015/4/22 10:38:42 ] ????????IBM WebSphere MQ C# ???
?????????????????
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
public const string MQNAME1 = "ManageTest1";
public const string MQNAME2 = "ManageTest2";
public readonly MQHelp MQHELP = new MQHelp();
protected void Page_Load(object sender?? EventArgs e)
{
if (!IsPostBack)
{
List<string> list = new MQHelp().GetALLQueue(MQNAME1);
list.ForEach(s => ddlQueueList.Items.Add(new ListItem(s)));
}
}
protected void Button1_Click(object sender?? EventArgs e)
{
Button but = sender as Button;
switch (but.Text)
{
case "??????":
MQHELP.CreateQueue(MQNAME1?? txtQueue.Text.Trim());
break;
case "???????":
MQHELP.DelQueue(MQNAME1?? txtQueue.Text.Trim());
break;
case "??????":
MQHELP.WriteMessage(MQNAME1?? ddlQueueList.SelectedValue?? txtMessage.Text.Trim());
break;
case "??????":
Literal1.Text = MQHELP.ReadMessage(MQNAME1?? ddlQueueList.SelectedValue);
break;
case "?????????":
MQHELP.CreateQueue(txtTMName.Text?? txtTName.Text.Trim()?? true);
break;
case "??????????":
MQHELP.DelQueue(txtTMName.Text?? txtTName.Text.Trim());
break;
case "?????????":
MQHELP.CreateRemoteQueue(txtRMName.Text?? txtRQName.Text?? txtRMTName.Text?? txtRMTQName.Text?? txtRTQName.Text);
break;
case "??????????":
MQHELP.CreateChannelBySend(txtCMName.Text?? txtCCName.Text?? txtCTName.Text?? txtCip.Text);
break;
case "??????????":
MQHELP.CreateChannelByReceive(txtCMName.Text?? txtCCName.Text);
break;
default:
break;
}
}
}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
?????????????????(java .net ?????).Net?й???????????Asp.net MVC??ζ???????????????????????Trim????Asp.Net WebForm????????????.Net??????????С????asp.net ???????????.Net??????????????????Linux???Jexus?й?Asp.Net Core??ó??????????????????Netflix?????????C#????????????Log4net??????asp.net??????????????ASP.NET???????JSON?????????????????? .NET ?? Java ???? IT ???.Net??Ч???????????????ù???ASP.NET MVC???????????Щ?£?Linux Netlink???????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????