Author |
Message
|
roshan.171188 |
Posted: Thu Jun 07, 2012 5:58 pm Post subject: Adding MQOD header to a message using Java client. |
|
|
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 |
|
 |
bruce2359 |
Posted: Thu Jun 07, 2012 8:01 pm Post subject: |
|
|
 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 |
|
 |
Esa |
Posted: Wed Jun 13, 2012 3:55 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Wed Jun 13, 2012 4:05 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Wed Jun 13, 2012 4:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
Esa |
Posted: Wed Jun 13, 2012 5:49 am Post subject: |
|
|
 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 |
|
 |
Esa |
Posted: Wed Jun 13, 2012 5:59 am Post subject: |
|
|
 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 |
|
 |
|