Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

PI: Throw Expception to stop message processing during java mapping

$
0
0

Hello,

 

we have a scenario were we need to compare several input values. In some cases there will be no resutlt message created.

 

Is there anyway to stop a message processing during runtime if a specified condition is true?

 

I currently tried it with the code:

 

 

 

if  (!hasMatchFound) //

     thrownew Exception("No result!");

 

 

But this message doesn't quite the mapping. Is there any other way for this?

 

 

 

regards

Christian


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>