PI/XI: Selecting messages using the content of the message in SAP PI 7.3 – teaser
The content based message search on the java engine was known in SAP PI 7.1 but as SAP decided to sunset /nwapi tool (which was not supported on production landscapes) there had to be an alternative for that. As of PI 7.3 we have a new way to configure and use content based message search on the java engine and this article will explain the steps involved.
At first you need to create a new filter which will contain your XPATH expressions which can be indexed once your messages will start flowing. Inside this filter you need to fill in the details like the name of the filter, interface and namespace name and some other like sender or receiver component/party.
Next you to add your search criteria which will be your XPATH expression.
If you have a message inside your PI monitor already which can be used for testing there is a way to test your xpath expression directly from the configuration screen, you just need to supply the message ID.
Once you save your filters and your message will start running you can go to the message monitor and check if the content based message search works. You need to select user defined message search and add a predefined criteria.
Next you need to select your filter and put the value you’re looking for in the Value and once you run the monitor your message should be selected.
Please remember that content based message search by default works only after you define and save it in the configuration so if you’d like to use it for messages which you received before creating the filter you need to go to the filter configuration and run the indexing program yourself (starting with the data on which the message reached PI).
I hope this gives you a better overview of the new content based message search with SAP PI 7.3.