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 » How to promote or dinamically config Mapping route property?

Post new topic  Reply to topic
 How to promote or dinamically config Mapping route property? « View previous topic :: View next topic » 
Author Message
raquel.saracay
PostPosted: Mon May 14, 2007 8:35 pm    Post subject: How to promote or dinamically config Mapping route property? Reply with quote

Novice

Joined: 10 May 2007
Posts: 11

I have a mapping node inside a subflow, and i m using it to transfer data from database to database. The target database should be changed depending on the main flow, but i cant find the way to dinamically configure it in development time and it seems the mapping route property can´t be promoted.
Thanks for ur help
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon May 14, 2007 11:33 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi raquel.saracay,

Your requirements are not very clear...

Please give an example of what you need to update from table and what you need to get from the input message...from your first post, it just seems that you might need to use a compute instead of a mapping node...

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue May 15, 2007 1:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't change the $source or $targets of a map at deploy time.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
raquel.saracay
PostPosted: Tue May 15, 2007 6:48 am    Post subject: How to promote or dinamically config Mapping route prope Reply with quote

Novice

Joined: 10 May 2007
Posts: 11

I have one table in a source database but many target databases, and i need to insert/update/delete de rows in the appropiate target database depending on the country id of the source database. the tables mapped will be the same, but i need to change the database connection.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 15, 2007 7:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you have $target1, $target2, etc? all different databases?

Then you can build an IF structure, and map from different $targets.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
raquel.saracay
PostPosted: Fri May 18, 2007 10:12 pm    Post subject: Using MessageSet to convert a Position delimited file to xml Reply with quote

Novice

Joined: 10 May 2007
Posts: 11

I need to know if exists anyway to build a "conditional" messageSet to build an xml from a position delimited file.
in the position delimited file some lines might need a structure and some might need other.
for example:
in the records inicialited with the number 1 from the position 2-5 i have the clientCode, from the position 6-12 the fullName
in the records inicialited with the number 2 from the position 2-4 the itemNumber, from the position 5-9 the price, from the position 10-13 the quantity.
File Content:
10012JohnHammer
2032120.230029
2038020.230025
10912HelenChin
2032120.230009
2007020.000005
In that case i have 2 clients records and 4 items records, 2 for each client.
I need to have this in XML to make some transformations.

I'll be very pleased if somebody sends me documentation or any comment to solve this.
Thanks.
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 » How to promote or dinamically config Mapping route property?
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.