11-29-2012 03:42 PM
I have a small issue -- the Message.getBodyText method is freezing when that method is called in an application that is intercepting an email going out on a device that is hooked up to a BES with PGP enabled on it. It seems that the PGP application has a lock on the Message object (or data, or something) and the call to the getBodyText is blocking, waiting for the lock to be released (or something). Does anyone have any ideas on how to work around this?
TIA
M
12-03-2012 02:49 PM
Maybe post the code help to find the problem... Can you do that?
12-03-2012 04:16 PM
12-04-2012 12:32 PM
12-04-2012 10:48 PM
12-05-2012 06:29 AM
12-05-2012 07:39 PM
No stack trace. That's generally what "blocking" means. It works perfectly on BIS (meaning the debug logs -- via ALT-LGLG -- are showing correct execution), but on BES -- ONLY with messages being sent via the BES PGP program (i.e.: if the tag in the subject line turns off encryption, it works fine with intercepting the message and getting the body text) -- it blocks at the call. If you *really* want to see the source, here it is:
String messageText = message.getBodyText();
Wasn't that a useful piece of code? ![]()