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 » just question

Post new topic  Reply to topic
 just question « View previous topic :: View next topic » 
Author Message
belal
PostPosted: Thu Dec 28, 2006 6:38 am    Post subject: just question Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 28, 2006 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 28, 2006 2:53 pm    Post subject: Re: just question Reply with quote

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
View user's profile Send private message Send e-mail
belal
PostPosted: Fri Dec 29, 2006 12:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Dec 29, 2006 12:27 am    Post subject: Reply with quote

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
View user's profile Send private message
belal
PostPosted: Fri Dec 29, 2006 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Dec 29, 2006 12:43 am    Post subject: Reply with quote

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
View user's profile Send private message
belal
PostPosted: Fri Dec 29, 2006 12:54 am    Post subject: Reply with quote

Novice

Joined: 14 Dec 2006
Posts: 15

thanx Vitor
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 29, 2006 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » just question
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.