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 6 matches
Author Message
  Topic: getStringProperty("JMSXAppID") problem
aw_all

Replies: 5
Views: 4493

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 10, 2010 6:53 pm   Subject: getStringProperty("JMSXAppID") problem
problem solved, thank you for helping
  Topic: getStringProperty("JMSXAppID") problem
aw_all

Replies: 5
Views: 4493

PostForum: IBM MQ Java / JMS   Posted: Tue Aug 10, 2010 12:51 am   Subject: getStringProperty("JMSXAppID") problem
I am using JMS, and trying to do something similar to putApplicationName, i want to get the name of the apllication that give the response.

So I use

try {
Message.getStringProperty ...
  Topic: getStringProperty("JMSXAppID") problem
aw_all

Replies: 5
Views: 4493

PostForum: IBM MQ Java / JMS   Posted: Mon Aug 09, 2010 11:44 pm   Subject: getStringProperty("JMSXAppID") problem
I found out that in JMS,
Message.getStringProperty("JMSXAppID")
is a similar methods to putApplicationName in IBM MQAPI.

however this line cause an exception, and when i print o ...
  Topic: Problem in reading BytesMessage
aw_all

Replies: 7
Views: 6120

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 05, 2010 6:44 am   Subject: Problem in reading BytesMessage
sorry I'm very new to MQ,

I don't how how to just extract part of message.

I know BytesMessage.readBytes(Bytes, length), but how do I know where to start extracting, and the length of the body ...
  Topic: Problem in reading BytesMessage
aw_all

Replies: 7
Views: 6120

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 05, 2010 5:59 am   Subject: Problem in reading BytesMessage
The message received is an instance of BytesMessage,


Byte [] Bytes = new Byte[300];
String rsp = null;

if ( inMessage instanceof BytesMessage) {
BytesMessage ...
  Topic: Problem in reading BytesMessage
aw_all

Replies: 7
Views: 6120

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 05, 2010 1:23 am   Subject: Problem in reading BytesMessage
I received a ByesMessage and i convert it to String, but it contains header information, how can i extract the message body only?

This is the Message I printed out.

   <mcd ...
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.