ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 7 matches
Author Message
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Tue Oct 23, 2007 8:46 pm   Subject: XMS - Binary messsage from Unix to Windows
I was able to get this to work - by doing the following..

System.Text.Encoding oEncoder = System.Text.Encoding.GetEncoding("iso-8859-1");
byte[] bytesArr = oEncoder.GetBytes(tm.Text);
...
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 2:07 pm   Subject: XMS - Binary messsage from Unix to Windows
This is your problem: messageClass set to be 'text'
you need messageClass set to be 'byte'...

in XMS you should have something like
Session.createBytesMessage();

A Text message is not suitabl ...
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 12:39 pm   Subject: XMS - Binary messsage from Unix to Windows
In looking at the trace - CreateXMSMessage() : No mcd folder found. Not a real JMS message. Trying to create a suitable WmqMessage.
16:31:55.777081 2536.1980 IBM.XMS.WMQ.WmqMsg ...
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 12:20 pm   Subject: XMS - Binary messsage from Unix to Windows
i am checking with sender - but i don't have much control over that. Is there anything I can do at the receiving end to make this work?

thanks
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 6:13 am   Subject: XMS - Binary messsage from Unix to Windows
Any idea if there is an XMSC setting that i can use to make this work. Here is how the message is being written - in java

lQuoteOutput_ms : MemoryStream = New;
lQuoteOutput_ms.Open( accessMode = S ...
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 4:58 am   Subject: XMS - Binary messsage from Unix to Windows
I get the message as IMessage. I have tried to cast it to IBytesMessage - but it throws an exception when I do that.

I have only been able to cast it to ITextMessage - but that can't be right for b ...
  Topic: XMS - Binary messsage from Unix to Windows
riturajan

Replies: 14
Views: 15307

PostForum: General IBM MQ Support   Posted: Fri Oct 19, 2007 4:38 am   Subject: XMS - Binary messsage from Unix to Windows
hi,

I am using the IBM .NET client libraries (XMS) to access a queue on a Unix box from Windows 2003. I can get and send text message fine.

But when i get a binary message - a pdf - looks like ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.