Author |
Message
|
HiFive123 |
Posted: Tue Jul 28, 2009 8:10 pm Post subject: How to dispatch the Textmessage to a MQ |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Jul 28, 2009 8:20 pm Post subject: |
|
|
 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 |
|
 |
HiFive123 |
Posted: Tue Jul 28, 2009 8:22 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Jul 28, 2009 9:01 pm Post subject: |
|
|
 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 |
|
 |
HiFive123 |
Posted: Fri Aug 07, 2009 11:20 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Sat Aug 08, 2009 8:58 am Post subject: |
|
|
 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 |
|
 |
HiFive123 |
Posted: Mon Aug 10, 2009 1:05 am Post subject: |
|
|
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 |
|
 |
Mr Butcher |
Posted: Mon Aug 10, 2009 1:19 am Post subject: |
|
|
 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 |
|
 |
|