cancel
Showing results for 
Search instead for 
Did you mean: 

collapse context

Former Member
0 Kudos

hi all,

can any one explain breifly the difference betw\een collapse context and remove context?

regards,

deepthi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Refer blog...

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Its worth understanding concepts..

former_member614185
Contributor
0 Kudos

collapseContexts()copies the first value from all contexts to one context. Empty contexts are replaced with an empty string.

You can use removeContext() to delete all the top contexts for an element. This deletes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.

Former Member
0 Kudos

Deepti,

Please check this weblog where it is explained with an example:

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

Regards,

---Satish

Former Member
0 Kudos