Posted: Fri May 07, 2004 12:00 am Post subject: How to set obscure 'base java' properties in JMS?
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?
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
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