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 » WSRR with WMB

Post new topic  Reply to topic
 WSRR with WMB « View previous topic :: View next topic » 
Author Message
bprasana
PostPosted: Thu Feb 25, 2010 2:26 pm    Post subject: WSRR with WMB Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Hi guys,

Situation:

We have all our End points published in WSRR. Mostly MQ end points.
So WSRR will return with MQ Q names to WMB. WMB will then route the message to that Q.

Problem:

is it possible?

can DestinationList be replaced with WSRR?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Feb 25, 2010 11:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Don't you have to use the Destinationlist to actually tell the MQOutputNode where to send the message. If WSRR is returning the WMQ Queue Name, then I'd put it into the DestinationList.
Remember that the DestinationList can have just one entry. i.e. A list of one.

Some pointers are here http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00520_.htm
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Mandeep
PostPosted: Fri Feb 26, 2010 2:25 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 33

Will the WMB-WSRR Nodes, not set the environment, i.e. for MQ end points, automatically set the destination list, similarily for HTTP end points set the appropriate Local Environment folders?

With WMB 6.0 when the WSRR nodes were not part of the product, and were available as a support pacs, there were 3 WSRR pattern nodes, which I guess used to set the approriate environment based on the protocol used i.e. for MQ, JMS, or HTTP it would have set the local environment folders.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Feb 26, 2010 4:30 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

If you're using the MQ service definition in WSRR, you need to use the RegistryLookup node and extract the information yourself, rather than use the EndpointLookup node. The latter is not yet able to automatically configure the broker with endpoint destination information, like it can do with WS requests.
Back to top
View user's profile Send private message
bprasana
PostPosted: Fri Feb 26, 2010 11:29 am    Post subject: Great! thank you all Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

@smdavies99 - I guess you are right, but how do i get the MQ Queue name from WSRR in the first place? Should i be using the WSRR nodes like mqmatt suggested?

@Mandeep Can you please elaborate on this. If you worked on this before, can you point me to a doc or URL which talks about these WMB-WSRR patterns before WSRR were part of the kit.

@mqmatt: I went through the 'RegistryLookup node' description, looks like this is what i need. Do you know if I can Stub th WSRR for time being to actually use the RegistryLookup node in my local machine. How does the flow/broker know where the WSRR is, and where to search these? and the most important thing is If I am not to use these nodes , what will be the return format of the WSRR? Can i strip these headers off and get the MQ Queue name and put them in DestinationList?
Back to top
View user's profile Send private message
Mandeep
PostPosted: Mon Mar 01, 2010 12:38 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 33

With WMB 6.1 onwards there are 2 nodes, one is endpoint lookup which retrieves the end points for a particular service (given you have a service defined already in WSRR, and you are passing the expected paramters like port type and stuff). This will populate your local environment tree, from where you can write ESQL and set the destination list.

Registry Lookup is to retrieve the matching services from WSRR.

I had used this support pac called IA9L with WMB 6.0 which is now obselete. The new support pac for Ver 6.0 is IA9Q, but again those 3 pattern nodes are not part of this support pac IA9Q.

http://www-01.ibm.com/support/docview.wss?uid=swg24013639
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Mar 01, 2010 2:05 am    Post subject: Re: Great! thank you all Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

bprasana wrote:

@mqmatt: I went through the 'RegistryLookup node' description, looks like this is what i need. Do you know if I can Stub th WSRR for time being to actually use the RegistryLookup node in my local machine. How does the flow/broker know where the WSRR is, and where to search these? and the most important thing is If I am not to use these nodes , what will be the return format of the WSRR? Can i strip these headers off and get the MQ Queue name and put them in DestinationList?


Look at the WSRR examples in the samples section of the toolkit. There are details of how to setup things like the location of thr WSRR server and how to use the nodes. If I were you, I'd take the sample and modify it as a proof of concept.
Copious use of Trace Nodes is a real help in understanding the data returned by nodes like WSRR.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
bprasana
PostPosted: Mon Mar 01, 2010 8:53 pm    Post subject: Redbook Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Thank You All for all the help!!


Also found this very nice redbook which answers almost all my Qs.
even the code needed for POC.


http://www.redbooks.ibm.com/redpapers/pdfs/redp4558.pdf


bprasana
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 01, 2010 9:20 pm    Post subject: Re: Redbook Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bprasana wrote:
Thank You All for all the help!!


And thank you for posting the link.


_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WSRR with WMB
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.