cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE-Access to Message-Monitoring Data

Former Member
0 Kudos

Hi,

I am looking for a java function to access all message monitoring information, as shown in the RWB-Message Monitoring.

I checked into the Adapter Framework API and came to the following conclusion:

com.sap.aii.af.ra.ms.api : provides access to all interesting message information.

For example: Message Status, Payload, etc.

Questions:

- how do I access the message-monitoring-log?

- is there any other API that I might need?

- is there any function that provides me with all messages in a certain time interval?

I think I need to access the message log in a higher level, but where?

Regards,

Holger

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (8)

Answers (8)

Former Member
0 Kudos

Thanks for your help.

I continued looking through the server-sided java packages for interesting sounding classes that might be involved in the message-monitoring process. I found quite some nice piece of information:

Within my search, I found the MonitoringBean and MessageBean.

They seem to provide some of the following functions:

MonitoringBean: getMessageBeans()

MessageBean: getMessageID() , getStatus() , getErrorCode() , ...

From my point of view, this should help to access the message monitoring data. What do you think? How do I use them properly?

I am working on this project as part of my university thesis paper. --> I am not a pro in SAP-SW-development. Help is really appriciated.

Michal, do you think your colleague could take a look at my problem?

Regards,

Holger

Former Member
0 Kudos

Dear all,

Just wondered if SAP has come up with an API/webserive for this ? Given this thread is dating back to 2006, thought there is a chance that - now this is available... ? Any thoughts... ?

cheers

-danus

Former Member
0 Kudos

Hi Michal,

I should have rephrased my answer. I meant that I was unable to show an example of a java program involving the package.

Sorry!

cheers,

Prashanth

MichalKrawczyk
Active Contributor
0 Kudos

don't worry me neither right now

but I know it's possible as I've seen it as one of my colleagues did it:)

Regards,

michal

-


<a href="https://weblogs.sdn.sap.com/pub/wlg/1843"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

1. there's no API for that

2. you can access that only via "non API" java methods

(we did that while playing with debugging XI once)

but these are not standard functions and they can easily be changed (as this is not official API)

but if you want them try debugging XI and you'll find it for sure:)

Regards,

michal

-


<a href="https://weblogs.sdn.sap.com/pub/wlg/1843"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Holger,

I dont think there is a java function for these packages.

:-).

cheers,

Prashanth

P.S : Please mark all helpful answers.

MichalKrawczyk
Active Contributor
0 Kudos

hi Prashanth,

of course there are:)

how else would XI work otherwise ?:)

Regards,

michal

-


<a href="https://weblogs.sdn.sap.com/pub/wlg/1843"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Prashanth,

thank you very much for your response.

I still don't know how to access the monitoring data on a higher level.

Isn't there a java function that deliveres a list of message objects?

Regards,

Holger

Former Member
0 Kudos

Thanks for your quick response.

I checked into the responsible packages on my XI server, which are executed when i run Message-Monitoring on my Runtime Workbench (RWB).

This packages seem to be the most important for accessing the message monitoring data:

com.sap.xi.mdt

com.sap.xi.mdt.api

com.sap.xi.rwb

com.sap.xi.rwb.api

Does anyone know, if there is a JavaDoc for these packages?

Regards,

Holger

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

https://www.sdn.sap.com/irj/sdn/javadocs

This link will lead you to the list of all API's that can be used. Maybe digging into them will help you find the exact API you want.

Regards,

Bhavesh

STALANKI
Active Contributor
0 Kudos

check this out: