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 Java / JMS » How to set obscure 'base java' properties in JMS?

Post new topic  Reply to topic
 How to set obscure 'base java' properties in JMS? « View previous topic :: View next topic » 
Author Message
Richard
PostPosted: Fri May 07, 2004 12:00 am    Post subject: How to set obscure 'base java' properties in JMS? Reply with quote

Newbie

Joined: 06 May 2004
Posts: 5

I am porting a middleware application from vb to java/websphere. The application uses mq client to:
(1) set the applicationIdData in the request message
(2) use MQOO_SET_IDENTITY_CONTEXT when opening a q, and setting MQPMO_SET_IDENTITY_CONTEXT and userId properties of the request message.

I have figured out how to do this using mq base java and it works fine.
But i want to be able to use JMS in websphere v5.1. However i can't figure out how to set those items when using JMS... basically i'm stumped. Any ideas?

Thanks...
Back to top
View user's profile Send private message Send e-mail
JLRowe
PostPosted: Fri May 07, 2004 4:53 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

Provider specific properties.

Read Chapter 13 of the manual 'WebSphere MQUsing Java'.
Back to top
View user's profile Send private message Send e-mail
Richard
PostPosted: Sun May 09, 2004 9:20 pm    Post subject: Chapter 13 doesn't help. Reply with quote

Newbie

Joined: 06 May 2004
Posts: 5

Thanks, i read chapter 13 many many times. It doesn't say how to SET_IDENTITY_CONTEXT when you 'open' the queue.
Back to top
View user's profile Send private message Send e-mail
aks
PostPosted: Tue Jun 08, 2004 9:28 pm    Post subject: Reply with quote

Voyager

Joined: 19 Jul 2002
Posts: 84

You may not have to set the property.

In a java app I set ApplIdentityData using:
jmsMessage.setStringProperty("ApplIdentityData", "test"); where jmsMessage is of type javax.jms.Message.

Access it with getStringProperty("ApplIdentityData").
In my app, I need to access the field in MQSI and I find it in InputRoot.MQRFH2.usr.ApplIdentityData

Alan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to set obscure 'base java' properties in 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.