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 » How to dispatch the Textmessage to a MQ

Post new topic  Reply to topic
 How to dispatch the Textmessage to a MQ « View previous topic :: View next topic » 
Author Message
HiFive123
PostPosted: Tue Jul 28, 2009 8:10 pm    Post subject: How to dispatch the Textmessage to a MQ Reply with quote

Newbie

Joined: 28 Jul 2009
Posts: 4

Hi ,
All can any one help me in understanding how can we acquire the connection and dispatch a TextMessage to a remote MQ

Any help is appreciated
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Jul 28, 2009 8:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Check out the samples. It's all there and in multiple programming languages...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
HiFive123
PostPosted: Tue Jul 28, 2009 8:22 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jul 2009
Posts: 4

Could not find any ....tried searching it with all possible options can u please provide the link
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Jul 28, 2009 9:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

HiFive123 wrote:
Could not find any ....tried searching it with all possible options can u please provide the link

They may not have been installed on your machine. You might have to check with your app install team...
You can also look at a number of samples here on the forum and on the WEB. Sun for example has a good JMS tutorial...

Also see the Sample Code button at the top of the page...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
HiFive123
PostPosted: Fri Aug 07, 2009 11:20 pm    Post subject: Reply with quote

Newbie

Joined: 28 Jul 2009
Posts: 4

coudn't find any code which helps me in writing the MQRFH2 header
I have to set the correlationID into it
please help me with this
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sat Aug 08, 2009 8:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

HiFive123 wrote:
coudn't find any code which helps me in writing the MQRFH2 header
I have to set the correlationID into it
please help me with this

It took me 5 seconds to find it going to the samples link and looking up the JMS server sample . If you use a different language (not java) I am sure the equivalent is out there. You do not need a JMS Header (RFHUtil) to set the correlation ID. If you need a JMS header use java JMS or the XMS messaging support pack to write jms like code. It handles the RFH header behind the scenes for you.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
HiFive123
PostPosted: Mon Aug 10, 2009 1:05 am    Post subject: Reply with quote

Newbie

Joined: 28 Jul 2009
Posts: 4

thanks for the help but still cudn't find a solution .I have MQ details like host,Port,QueueManager,channel name,and Queue name flowing from the upstream
I have to post the message to this MQ with correlation Id set in MQRFH2 header.
I undetstand if we post JMS message then it automatically gets mapped to the RFH2 header .
But cudn't find how to connect to the MQueue so that i can perform the remote put
.
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Mon Aug 10, 2009 1:19 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you are missing all the MQ basics. Go and read the documentation, check out the samples, then return with your questions.
people here will be more helpful if they see you did some efforts on your own to archieve your goals. so far, i do not see much effort on your end except posting "i did not find ...." .
_________________
Regards, Butcher
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 » IBM MQ Java / JMS » How to dispatch the Textmessage to a MQ
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.