Skip to Content
0
Former Member
Feb 19, 2011 at 12:59 PM

when contex change i wana get the value from source if condition is true

13 Views

HI Forum users,

my source structure is

root

charc

value

my target structure is

detail

no

desc

properties

value1

value2

value3

in my scenario root value will be 1-unbounded charc value will be changing when context changed, but my requirement is the charc corressponding values i need to pass the properties-value1,value2,value3.

eg:

root

charc = color

vaue= 10

root

charc= length

value=20

root

charc=width

value=30

for this it have condition that is if charc= color then pass the value other wise pass blank spaces

then output values: properties-value1=10,:if condition is true

properties-value2=blank spaces,if condition is false

properties-value3=30,if condition is true

how to do this one in the mapping and in reciver jms file content conversion fixed length

Edited by: SWATHIP on Feb 19, 2011 1:59 PM