Quantcast
Channel: SCN : Blog List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 676

Setup alerts specific to one interface in PI 7.4 Java stack

$
0
0

Recently we have a requirement to setup alerts specific to the interface.

 

There is standard consumer ALERT-TO-MAIL can be used for Alert rule for all interfaces.

 

What we need to do is to register a new consumer for the Specfic Alert rule from web service navigator.

 

Step 1.

 

Create new Alert Rule in Integration Directory, sample Test_Alert. assign Specific configuration Objects here. save and active.

No need to Insert consumer in Extended tab, casue this will be done in Step2.

未命名.jpg

Step 2. Register Consumer, we will use web service navigator to do this

未命名.jpg

You will find Register Consumer operation from Service Interface "AlertRuleIn", chose this and click Next

未命名.jpg

Chose RegisterConsumer operation and click Next

未命名.jpg

Here we need to type parameters:

AlertRuleID:  the one we create from Step 1 in ID

ConsumerName: type any name, here I use test_to_mail.

EnableAlertRules: True

 

Continue by click Next Button

未命名.jpg

 

It will ask user account and Password. the user must have role SAP_XI_ALERTCONFIGURATOR_J2EE

Message shows RegisterConsumer excuted successfully

未命名.jpg

After complete this, you will see your Consumer been assigned to Alert rule

未命名.jpg

 

Step 3, Schedule Job by NWA-->Operations-->Jobs-->Jave scheduler

 

Reference blog from Step 3

Michal's PI tips: Component-Based Message Alerting


Viewing all articles
Browse latest Browse all 676

Trending Articles