|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ/JMS Header issue with Reques/Response messages |
« View previous topic :: View next topic » |
Author |
Message
|
j_arch |
Posted: Mon Aug 21, 2006 7:21 pm Post subject: MQ/JMS Header issue with Reques/Response messages |
|
|
Newbie
Joined: 21 Aug 2006 Posts: 2
|
Hi, my issue is the same as many others that have posted on this site, but none of the solutions posted work for me due to the products being used.
The problem occurs when MS BizTalk, which is not JMS enabled, sends a request to PeopleSoft, which is JMS enabled, via MQ. PeopleSoft uses JNDI bindings, so I can control the format of outbound messages by changing the TARGCLIENT property of the queue to MQ in JMSAdmin. PeopleSoft can also accept a non-JMS message with no problem. But, if the inbound message is a request, the response is automatically sent as JMS, regardless of the TARGCLIENT setting of the response queue.
If I send in a JMS message with the reply queue set in the RFH2 header with the queue://QM/QUEUE?targetClient=1 attribute, PeopleSoft will respond with the non-JMS message. Unfortunately, BizTalk cannot send a JMS message, so I am stuck.
Basically, I am looking for the same functionality as ?targetClient=0. I need an MQ header that will tell the receiving system to send the reply as an MQ message and not as a JMS message. Any suggestions are greatly appreciated. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 21, 2006 7:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Look at the jar files in V6 and at the documentation.
There is a property that can be set on the MQQueueConnectionFactory that will send all replies as non JMS if the request was non JMS. It is set by default.
Of course to take advantage of it the QM needs to be V6 and the jars should be MQ V6.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
j_arch |
Posted: Tue Aug 29, 2006 7:06 am Post subject: It Worked |
|
|
Newbie
Joined: 21 Aug 2006 Posts: 2
|
Thanks, we were using 5.3 but upgraded to 6.0 and I was able to set the TARGCLIENTMATCHING propert of the QCF in the JMSAdmin tool. Thank you for your help. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|