Author |
Message
|
aleksk |
Posted: Thu Jul 03, 2014 12:07 am Post subject: LocalEnvironment TimeoutRequest missing in mapping node |
|
|
Newbie
Joined: 02 Jul 2014 Posts: 4
|
Using WMB 8.0.0.4
Does anyone know how to access LocalEnvironment.TimeoutRequest in mapping node.
Thanks in advance. |
|
Back to top |
|
 |
gs |
Posted: Thu Jul 03, 2014 1:48 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
It really ought to be supported in the Mapping node but unfortunately it's not.
You can't do a cast to include it under LocalEnvironment either. Correct me if I'm wrong.
If you don't need to attach a payload to the request you can map to the (by IBM provided) TimeoutRequest message schema.
Else the only option is to build the LocalEnvironment TimeoutRequest through code. |
|
Back to top |
|
 |
aleksk |
Posted: Thu Jul 03, 2014 3:34 am Post subject: |
|
|
Newbie
Joined: 02 Jul 2014 Posts: 4
|
Can't cast it.
I was asking because I wanted to make all i need with a Mapping Node. And I need the information supplied by TimeoutNotification.
I can do it with let's say Java node, but what's the actual use for Mapping node if it cannot support output from other integrated nodes. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 03, 2014 9:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Have you thought about putting that information on the RFH header? You should be able to map it there right?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
aleksk |
Posted: Thu Jul 03, 2014 11:22 pm Post subject: |
|
|
Newbie
Joined: 02 Jul 2014 Posts: 4
|
fjb_saper wrote: |
Have you thought about putting that information on the RFH header? You should be able to map it there right? :innocent: |
That's an option in TN node? Cause if I have to use other node I will process everything in it and not bother with Mapping node. And that doesn't answer the original question. |
|
Back to top |
|
 |
martinb |
Posted: Thu Jul 10, 2014 4:16 am Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
Note that in IIB v9.0 the built in schema for the LocalEnvironment does correctly provide the "TimeoutRequest" structure.
You could consider raising a PMR for the omission of this in the WMB v8 product.
Also note that "LocalEnvironment.TimeoutRequest" is the default location if you have not set the "Request location" property on the TimeoutControl node.
A possible workaround you could consider is to set the TimeoutControl node "Request location" property to be "LocalEnvironment.Variables.TimeoutRequest", and import the IBM supplied "TimeoutRequest" message and apply a Mapping cast. |
|
Back to top |
|
 |
|