Multi-Threading Issues

When using Jamaa Smpp Client, it is important to keep in mind that all events provided by the SmppClient class are invoked by arbitrary threads from the thread pool. As such it is possible for an event handler to be invoked by more than one thread concurrently which may result into unpredictable outcomes or data corruptions.

You must therefore ensure that all SmppClient event handlers, and other methods accessible from the event handlers are thread-safe.

Last edited Apr 17, 2011 at 12:18 PM by bentesha, version 3


nelukaw Jun 26, 2012 at 11:08 AM 
Hi bentesha,

How can I use this for sending multiple SMSs at a time. 'cos I tried to send so the first one is sent quickly but for the rest take considerable amount of time to be sent. If you would be able to provide us a sample pecie of code how to use it would be highly appreciated.

Thanks in advance