Author |
Message
|
bprasana |
Posted: Thu Feb 25, 2010 2:26 pm Post subject: WSRR with WMB |
|
|
 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 |
|
 |
smdavies99 |
Posted: Thu Feb 25, 2010 11:43 pm Post subject: |
|
|
 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 |
|
 |
Mandeep |
Posted: Fri Feb 26, 2010 2:25 am Post subject: |
|
|
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 |
|
 |
mqmatt |
Posted: Fri Feb 26, 2010 4:30 am Post subject: |
|
|
 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 |
|
 |
bprasana |
Posted: Fri Feb 26, 2010 11:29 am Post subject: Great! thank you all |
|
|
 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 |
|
 |
Mandeep |
Posted: Mon Mar 01, 2010 12:38 am Post subject: |
|
|
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 |
|
 |
smdavies99 |
Posted: Mon Mar 01, 2010 2:05 am Post subject: Re: Great! thank you all |
|
|
 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 |
|
 |
bprasana |
Posted: Mon Mar 01, 2010 8:53 pm Post subject: Redbook |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 01, 2010 9:20 pm Post subject: Re: Redbook |
|
|
 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 |
|
 |
|