Skip to Main Content
WebSphere and .NET Coexistence
book

WebSphere and .NET Coexistence

by Peter Kovari, Victoria Amor, Jason Anderson, Darren Bassett, Jeremy Bauer, John Catlin, Paula Dantas, Han Wen Kam, Ajit Mungale, Kieran Scott, James Tussing
March 2004
Intermediate to advanced content levelIntermediate to advanced
606 pages
15h 16m
English
IBM Redbooks
Content preview from WebSphere and .NET Coexistence
252 WebSphere and .NET Coexistence
tbResult.Text = "MQ returned error: " + mqe.Message;
}
}
9. If you test your application at this point, you will see that the returned value
shown in the window is wrong; it shows RFH. What happened is that
WebSphere put a JMS message in the reply queue and the .NET Classes for
MQ do not recognize the JMS message format. The solution is to write your
own message formatter using the API and parse the message. Replace and
insert the following code after the // create message line in step 4 on
page 251.
// create message
mqMsg = new MQMessage();// create new message object
mqMsg.Format=MQC.MQFMT_RF_HEADER_2; //
mqMsg.Encoding = 273; //
mqMsg.CharacterSet = 819; //
// great Get Message Options & set them
mqGetMsgOpts = ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Professional Application Lifecycle Management with Visual Studio 2013

Professional Application Lifecycle Management with Visual Studio 2013

Mickey Gousset, Martin Hinshelwood, Brian A. Randell, Brian Keller
SharePoint 2010 Enterprise Architect's Guidebook

SharePoint 2010 Enterprise Architect's Guidebook

Brian Wilson, Reza Alirezaei, Bill Baer, Martin Kearn
WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

Jan Bajerski, Davide Barillari, Libor Cada, Susan Hanson, Guo Liang Huang, Rispna Jain, Shishir Narain, Jennifer Ricciuti, Christian Steege

Publisher Resources

ISBN: 0738498246Purchase book