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 13 matches
Author Message
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Wed Mar 23, 2005 10:29 am   Subject: Setting message CCSID using MQ JMS API
Even if you use JMS URIs you can set the CCSID.
For each message you can set it differently.
JMS URI looks like this
///RECEIVER.DATA.QUEUE?CCSID=37&targetClient=1

You can build it in your ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 21, 2005 1:45 pm   Subject: Setting message CCSID using MQ JMS API
If it is to set the CCSID you have to do this through JNDI.
It is set as default at queue level and causes all messages put to that queue to have that CCSID.

Enjoy

One way to set it is ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 21, 2005 1:41 pm   Subject: Setting message CCSID using MQ JMS API
Hi,

When I do a getStringProperty("JMS_IBM_Character_Set") on a Message object instance I get the character set as a string description, say UTF8, instead of the integer 1208. Performing a getIntPr ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 21, 2005 9:59 am   Subject: Setting message CCSID using MQ JMS API
Hi,

You are right and it makes perfect sense to write the message to another queue unchanged instead of creating a new message instance and populating it with the data and other header values. I am ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Thu Mar 17, 2005 5:14 pm   Subject: Setting message CCSID using MQ JMS API
Ok. Here is the scenario:

The application connects to two queues on a MQSeries instance, say, Queue A and Queue B. Application needs to process messages coming on Queue A and if the message cannot ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Thu Mar 17, 2005 12:03 pm   Subject: Setting message CCSID using MQ JMS API
Hi,

As I said earlier I need the CCSID value for each message because I need to write the messages to another queue and the requirements is to preserve the message as it is, including, meta inform ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Wed Mar 16, 2005 2:22 pm   Subject: Setting message CCSID using MQ JMS API
Hi,

When I do a getStringProperty("JMS_IBM_Character_Set") on a Message object instance I get the character set as a string description, say UTF8, instead of the integer 1208. Performing a getIntPr ...
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 14, 2005 5:13 pm   Subject: Setting message CCSID using MQ JMS API
Hi,

Thanks for the pointer regarding the "JMS_IBM_Character_Set" property.
  Topic: Setting message CCSID using MQ JMS API
gifs71

Replies: 15
Views: 16863

PostForum: IBM MQ Java / JMS   Posted: Mon Mar 14, 2005 12:03 am   Subject: Setting message CCSID using MQ JMS API
I am trying to figure out how to set the CCSID (coded character set) of a message been written to a MQ queue using a JMS client. I can't use the default CCSID of that queue since messages being writte ...
  Topic: MQ Open/Access Q and Close Q performance
gifs71

Replies: 2
Views: 1766

PostForum: IBM MQ Java / JMS   Posted: Wed Aug 18, 2004 10:56 am   Subject: MQ Open/Access Q and Close Q performance
Hi,

In my Java program, I get a message from a queue and then process it and repeat this as long as there are messages in the queue. The program would run 24/7 and would shutdown only in case of ce ...
  Topic: Multi-threaded Java app and Unit of Work
gifs71

Replies: 5
Views: 3133

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 06, 2004 10:17 am   Subject: Multi-threaded Java app and Unit of Work
Hi,

Thank you John and bower5932 for all the replies and clarifications. Things make more sense now.

Thanks again.

Rahul.
  Topic: Multi-threaded Java app and Unit of Work
gifs71

Replies: 5
Views: 3133

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 05, 2004 12:28 pm   Subject: Multi-threaded Java app and Unit of Work
Hi All,

Just to clarify my earlier post, by HCONN I meant a connection handle. I used both the terms interchangeably.

Also, in all the above scenarios I am working with a single queue whether it ...
  Topic: Multi-threaded Java app and Unit of Work
gifs71

Replies: 5
Views: 3133

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 05, 2004 12:22 pm   Subject: Multi-threaded Java app and Unit of Work
Hi,

I have a question about using MQSeries with Java. I am using MQ base Java.

As per our application requirements, I need to process multiple messages from MQ concurrently and hence need a mult ...
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.