cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping Mapping Program Execution.

Former Member
0 Kudos

Hi all,

How can I stop execution of a message mapping program based on some condition in mapping?

Is here java code sample I can use in this?

Please help me.

-kanth.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi sreekant .... u can stop a message mapping by explicitly throwing a RuntimException in a UDF......

and then u can proceed further by using an Exception Branch......

pls ask if u need clarification

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you all.

bhavesh_kantilal
Active Contributor
0 Kudos

Can you give an example as to what you want?

You can write an UDF and throw a runtime exception to stop the flow of your mapping and so on. there are multiple ways to do this.

One way ,

<a href="/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping">Throwing Smart Exceptions in XI Graphical Mapping</a>

Regards

Bhavesh

Shabarish_Nair
Active Contributor
0 Kudos

you can actually choose your mapping based on the input data using xpath in your interface determination

ref: /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

Former Member
0 Kudos

Hi,

could you have a look at the following thread please?

thanks,

kanth.

Message was edited by:

sri kanth

bhavesh_kantilal
Active Contributor
0 Kudos

> Hi,

>

> could you have a look at the following thread

> please?

>

>

>

>

> thanks,

> kanth.

The URL is the XI Forum home page.

Regards

Bhavesh