Hi,
I'm evaluating SMSLib 3.5.1 for my project.
Our server receives concurrent jobs to execute.
Each job is about to send a SMS through the Serial Modem gateway.
For the while I'm using the sendMessage method.
What is the best way to manage parallel jobs:
- One gateway for all jobs
theGateway= new SerialModemGateway(...)
try{
Service.getInstance().addGateway(gateway);
Service.getInstance().startService();
for (Job job:jobList)
{
}
}finally{
Service.getInstance().stopService();
Service.getInstance().removeGateway(gateway);
}
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/smslib?hl=en.