cancel
Showing results for 
Search instead for 
Did you mean: 

To Set Alert for Message Size

Former Member
0 Kudos

Hello All,

I need to an Alert for the messages which comes into SPA PI with more than 5 MB size.

We already set a Queue which handles the messages that are coming with  > 5 MB size (please refer the screenshot). Now we have to get an email alert for these messages in our Inbox.

Kindly let me know how to achieve this!?

Regards

KarthiSP

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Karthi,

Alert monitoring is only for messages in error state. The only solution is to check the file size by java like Azhaguchitrapriya pointed out. If i was you, i would develop a module bean to check the file size and send the email, in this way you can add this alert in all your desired scenario without changing the design.

Regards.

Former Member
0 Kudos

Not sure if u can achieve this using alert mechanism...

But u can create multiple receivers and send email usong mail package for messages more than the size

Former Member
0 Kudos

Can u please give the info in detail in Steps or any links, pls share., it's bit urgent and needs to be deployed in PROD system.

Thanks

Former Member
0 Kudos

Hi Karthi,

Hope this link will help to check the size.In receiver determination specify the conditions based upon the size.If size is greater than 5MB ,Use mail receiver to send the mail.

http://scn.sap.com/thread/1306954

Regards,

Priya