Author |
Message
|
belal |
Posted: Thu Dec 28, 2006 6:38 am Post subject: just question |
|
|
Novice
Joined: 14 Dec 2006 Posts: 15
|
HI all, I am Belal
does any body know where can I find a sample code about MQXAQueueManager
I don't know how to use it
I am need to send a message (not jms message) to queue and i need to make that in a global transaction
thanks all |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Dec 28, 2006 7:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
A sample program comes with MQ.
A simple search at Google would probably find you a bunch of samples.
Why ask us, when you can find it yourself? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 28, 2006 2:53 pm Post subject: Re: just question |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
belal wrote: |
HI all, I am Belal
does any body know where can I find a sample code about MQXAQueueManager
I don't know how to use it
I am need to send a message (not jms message) to queue and i need to make that in a global transaction
thanks all |
You seem to have little knowledge of what you are trying to do as you are contradicting yourself all through the post:
- MQXAQueueManager ==> JMS
- not jms message ?? (see above line)
- in a global transaction (J2EE ==> JMS language)
Or are we simply talking about a 2 phase commit with an external transaction manager? And which TM would that be? CICS maybe ??
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
belal |
Posted: Fri Dec 29, 2006 12:21 am Post subject: |
|
|
Novice
Joined: 14 Dec 2006 Posts: 15
|
hi
I try to send a message form an application running in weblogic server
I want to rollback the sending if something wrong happen
the transaction manager must be the weblogic itself
the message which i send contanin variables like CCSID, persistance.......
sory my english is bad
thanks for you help |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 29, 2006 12:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
You need to spend some quality time with the documentation and the sample code. Get the concepts straight and work your way though. What you're attempting is not difficult but non-trivial, especially the external coordination.
You also need to think about message format - do you want jms or non-jms? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
belal |
Posted: Fri Dec 29, 2006 12:33 am Post subject: |
|
|
Novice
Joined: 14 Dec 2006 Posts: 15
|
HI again
the format is non jms formmat
I just asked if some body know where can i find a tutorial or sample code
thanks  |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 29, 2006 12:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
belal wrote: |
HI again
the format is non jms formmat
I just asked if some body know where can i find a tutorial or sample code
thanks  |
There's sample code provided with the product, and at http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
belal |
Posted: Fri Dec 29, 2006 12:54 am Post subject: |
|
|
Novice
Joined: 14 Dec 2006 Posts: 15
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 29, 2006 4:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
belal wrote: |
HI again
the format is non jms formmat
I just asked if some body know where can i find a tutorial or sample code
thanks  |
The format may be non JMS (read without an RFH2 header) but to achieve what you want to do you will have to use JMS.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|