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 » LocalEnvironment variables for WTX map override

Post new topic  Reply to topic
 LocalEnvironment variables for WTX map override « View previous topic :: View next topic » 
Author Message
jdavis28
PostPosted: Tue Sep 06, 2011 5:27 am    Post subject: LocalEnvironment variables for WTX map override Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

In order to retrieve a wtx map from wsrr and use it in a wmb flow, I need to know the LocalEnvironment variables that are available to override the map in the WTX node. It looks like there is:
LocalEnvironment.WTX.MapName
LocalEnvironment.WTX.MapServerLocation

If these are the only ones available, then it sounds like I need to retrieve the map from wsrr and create an output file.
Or is there another LocalEnvironment.WTX variable that can be used to hold the compiled map?
Using wmb v7.0.0.2, wtx v8.3.
Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Sep 06, 2011 5:49 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

How you are connecting to WSRR, are you using built in nodes. where you are getting the problem.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
jdavis28
PostPosted: Tue Sep 06, 2011 5:55 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

Gaya3 wrote:
How you are connecting to WSRR, are you using built in nodes. where you are getting the problem.


No problem with wsrr.
The question I have is regarding how to use the retrieved map to override the map in the wtx node.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Sep 06, 2011 6:15 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Then the logic / design has to be made it bit different in WTx side.

dynamically calling different WTx maps are not that easy from MB.

instead make a MMS in WTx which does the dynamicall mapping part, [you can use RUN Function to do this]

Pass these values from Message broker to WTx MMS which does dynamically routing.

This is how i resolved the issue once.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
jdavis28
PostPosted: Tue Sep 06, 2011 6:31 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

From the WMB Help Documentation.
Quote:
Dynamically overiding a map with a compiled map
You can override a WebSphere® Transformation Extender map by populating the WebSphere Message Broker local environment tree with the binary data of a compiled map, stored, for example, in WebSphere Service Registry and Repository (WSRR).

When a compiled map is stored in WSRR, you can use a node such as the WebSphere Message Broker Compute node, Java Compute node, or RegistryLookup node to populate the local environment tree with the binary data of the compiled map. A compiled map in the local environment tree overrides both a dynamic path to a map in the local environment tree (if a dynamic path is configured) and a map that is configured through the WebSphere Transformation Extender map node settings. The order of precedence for map overrides is:
A dynamic binary map in the local environment tree
A dynamic path to a map in the local environment tree
A map configured through the WebSphere Transformation Extender map node properties, whether configured through the map settings interface or by a WebSphere Message Broker broker archive (BAR) editor.


This documentation does not specify where in the Local Environment tree you would store the binary data of a compiled map. That is the question.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Sep 06, 2011 6:50 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

are you looking for these properties.

MapServerLocation property
LocalEnvironment tree path: LocalEnvironment.WTX.MapServerLocation
Purpose: To run the compiled map located in a different location than the location configured on the WTX Map node.
Result: WebSphere Message Broker overrides the map server location with the location you specified in the LocalEnvironment tree, and the WTX Map node runs the map from this location instead.
CardNumberToWire property
LocalEnvironment tree path: LocalEnvironment.WTX.InputCardNumberToWire
Purpose: To specify which input card of the map should be wired.
Result: The specified map input card receives its data from the prior node in the message flow.

LocalEnvironment.WTX.InputCardNumberToWire : this helps you to specify the input card of the map to be wired.

Link
http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.wtx4wmb.doc/references/r_wtx4wmb_overriding_map_properties_at_run_time.htm
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
jdavis28
PostPosted: Tue Sep 06, 2011 7:02 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

Gaya3 wrote:
Hi

are you looking for these properties.

MapServerLocation property
LocalEnvironment tree path: LocalEnvironment.WTX.MapServerLocation
Purpose: To run the compiled map located in a different location than the location configured on the WTX Map node.
Result: WebSphere Message Broker overrides the map server location with the location you specified in the LocalEnvironment tree, and the WTX Map node runs the map from this location instead.
CardNumberToWire property
LocalEnvironment tree path: LocalEnvironment.WTX.InputCardNumberToWire
Purpose: To specify which input card of the map should be wired.
Result: The specified map input card receives its data from the prior node in the message flow.

LocalEnvironment.WTX.InputCardNumberToWire : this helps you to specify the input card of the map to be wired.

Link
http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.wtx4wmb.doc/references/r_wtx4wmb_overriding_map_properties_at_run_time.htm


These don't sound like what I need to do this:
Quote:
You can override a WebSphere® Transformation Extender map by populating the WebSphere Message Broker local environment tree with the binary data of a compiled map
Back to top
View user's profile Send private message
Ric-Tic
PostPosted: Tue Sep 06, 2011 7:50 am    Post subject: Reply with quote

Apprentice

Joined: 18 Nov 2003
Posts: 38
Location: Zurich, Switzerland

jdavis28 wrote:


These don't sound like what I need to do this:
Quote:
You can override a WebSphere® Transformation Extender map by populating the WebSphere Message Broker local environment tree with the binary data of a compiled map


LocalEnvironment.WTX.DynamicMap
Back to top
View user's profile Send private message
jdavis28
PostPosted: Wed Sep 07, 2011 6:55 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

Thank you Ric-Tic. That is what I was searching for.
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 » LocalEnvironment variables for WTX map override
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.