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 » IBM MQ API Support » its about JMS

Post new topic  Reply to topic
 its about JMS « View previous topic :: View next topic » 
Author Message
arunmakhija
PostPosted: Thu Aug 01, 2002 1:10 pm    Post subject: its about JMS Reply with quote

Novice

Joined: 17 Jun 2002
Posts: 20
Location: Sydney

Can you set the message id of a message when sending the message by
using
Code:
setJMSMessageID()


I tried that but after I sent the message but after that I checked the message Id it was set by system and overriding mine

any clues ?

arun
_________________
In Celebration of Being Alive !!!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
bower5932
PostPosted: Fri Aug 02, 2002 10:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I just checked out the Using Java manual, and it has the following to say about the setJMSMessageID method:
Quote:
Any value set using this method is ignored when the message is sent, but this method can be used to change the value in a received message.

Based on this, I would say you can't set it. There is also another comment in the section that shows the JMS to MQMD field mapping:
Quote:
Any value that is set into the JMSMessageId field before a send() is overwritten.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
arunmakhija
PostPosted: Fri Aug 02, 2002 11:56 am    Post subject: Reply with quote

Novice

Joined: 17 Jun 2002
Posts: 20
Location: Sydney

Hey Bower

thanks for that but then what you think this method is useful for
I thought like the normal or conventional usage you use that to get/browse the messages selectively from a queue.

which makes me ask u and everyone else another question
how do we get browse messages selectively from a queue in JMS ?

I thought its the message selctor thing but how do yo use it ?

regards
_________________
In Celebration of Being Alive !!!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » its about JMS
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.