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 » General Discussion » Adding MQOD header to a message using Java client.

Post new topic  Reply to topic
 Adding MQOD header to a message using Java client. « View previous topic :: View next topic » 
Author Message
roshan.171188
PostPosted: Thu Jun 07, 2012 5:58 pm    Post subject: Adding MQOD header to a message using Java client. Reply with quote

Apprentice

Joined: 07 Jun 2012
Posts: 35

Hi All,

I am a MQ Admin and am trying to learn MQ App programming (Java).
I would appriciate if anyone could throw some light on setting MQOD for a message using Java.

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Jun 07, 2012 8:01 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Google is your friend. Search for mqod+java.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Jun 13, 2012 3:55 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Write MQOD in the search box here

You should soon be able to find out that MQOD is not a header...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 13, 2012 4:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Esa wrote:
You should soon be able to find out that MQOD is not a header...


The OP never said it was...

roshan.171188 wrote:
on setting MQOD for a message using Java


Setting implies options.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 13, 2012 4:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Well, in theory, you can use
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.javadoc.doc%2FWMQJavaClasses%2Fcom%2Fibm%2Fmq%2FMQOD.html

But in practice, you want to use the access methods of http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.javadoc.doc%2FWMQJavaClasses%2Fcom%2Fibm%2Fmq%2FMQQueueManager.html
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Jun 13, 2012 5:49 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Vitor wrote:
Esa wrote:
You should soon be able to find out that MQOD is not a header...


The OP never said it was...


The title of this topic is Adding MQOD header to a message using Java client.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Jun 13, 2012 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

You don't use an MQOD object with the java interface. Instead, you use the object descriptor fields separately when calling MQQueueManager object's access methods or the construcotr of MQQueue.

MQOD class is used by the underlying implementation. It will have to construct an object descriptor when it calls MQOPEN through JNI.
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 » General Discussion » Adding MQOD header to a message using Java client.
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.