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 » MQ/JMS Header issue with Reques/Response messages

Post new topic  Reply to topic
 MQ/JMS Header issue with Reques/Response messages « View previous topic :: View next topic » 
Author Message
j_arch
PostPosted: Mon Aug 21, 2006 7:21 pm    Post subject: MQ/JMS Header issue with Reques/Response messages Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 21, 2006 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
j_arch
PostPosted: Tue Aug 29, 2006 7:06 am    Post subject: It Worked Reply with quote

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
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 » MQ/JMS Header issue with Reques/Response messages
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.