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 » WebSphere Message Broker (ACE) Support » JMS Replyto Queue change within MB 5 csd5

Post new topic  Reply to topic
 JMS Replyto Queue change within MB 5 csd5 « View previous topic :: View next topic » 
Author Message
Gale
PostPosted: Tue Sep 27, 2005 1:43 pm    Post subject: JMS Replyto Queue change within MB 5 csd5 Reply with quote

Novice

Joined: 08 Dec 2004
Posts: 12
Location: Portland, OR

I am using message broker version 5 csd5. I have vendor software dropping a message on my request queue with a jms header containing the vendor's replyto queue. I need to send the message through the SAP adapter and have it return to my reply input queue, THEN drop it back on the vendor queue. However, when the message comes out of the adapter, the adapter puts it directly on the specified vendor queue, bypassing my reply flow transformation and causing the vendor program to crash.
From the manuals, it looked like I could just change the jms replyto queue data to point to my reply flow input queue, but the message crashed the adapter (WBI adapter for mySAP.com v5.5). I was told this was because I corrupted the "envelope" by changing the value and the adapter couldn't handle it. I finally deleted the entire jms header. While this worked, the vendor does not like having the queue name removed. In truth, it does not seem like a very elegant solution.
Could someone please suggest a better way? I am told the vendor can not change the queue name, so it falls on me to do it within the message broker.
Thanks for any help you can provide.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 27, 2005 4:33 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I guess it depends on how you did it, but broker should be able to transparently update the JMS portion of an MQRFH2 header. If you treated it as a BLOB and just did text replaces, I could see that breaking things...

Your MQ Administrator should be able to configure things such that the replyto queue that the adapter is writing to gets resolved to a different queue that is your input queue. But then when you try to write to the output queue, it actually goes to the vendor replyto queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gale
PostPosted: Wed Sep 28, 2005 7:54 am    Post subject: Reply with quote

Novice

Joined: 08 Dec 2004
Posts: 12
Location: Portland, OR

Thanks for your response, Jeff!
I used "SET OutputRoot.MQRFH2.jms.Rto = 'xxx';" to set the queue. This may have been the wrong way to do it (my jms knowledge is non-existent and I am an MB novice), but it looked like it worked when I checked the results in RFHUTIL. Should I have used something else?
I had not considered changing the adapter queue. That sounds like a good suggestion, but we use that queue for ALL messages coming out of the adapter. It is set up as an alias queue referencing a router flow input queue. The message did not even hit our router flow. It went directly to the vendor queue.
Back to top
View user's profile Send private message
sieijish
PostPosted: Wed Sep 28, 2005 8:30 am    Post subject: Reply with quote

Acolyte

Joined: 29 Nov 2004
Posts: 67
Location: London

Set ReplyToQ of MQMD field & see what happens. Worth giving a try eventhough your MQRFH2 setting should have taken precedence.
Back to top
View user's profile Send private message
Gale
PostPosted: Wed Sep 28, 2005 8:33 am    Post subject: Reply with quote

Novice

Joined: 08 Dec 2004
Posts: 12
Location: Portland, OR

Thanks, Sieijish. I did try that. It was ignored.
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 » WebSphere Message Broker (ACE) Support » JMS Replyto Queue change within MB 5 csd5
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.