Hello,

  But why this problem is coming.. Actually I was doing testing by
this code. In main design, I have to take one queue which holds SMS
info. Service is started once and It starts sending messages until
some SMS info is in Queue. whenever queue got empty, It  will stop the
service. Again when some items some in the queue it will start the
service and and will start sending messages.

The problem with stopping the Service will remain same..

Please help me...

thanks

On 12/24/09, Thanasis <[email protected]> wrote:
> I think you solution is too complicated...
>
> Don't add and remove the gateway per message. Don't start and stop the
> service after each message.
>
> Define your gateway, add it to the Service, start the Service, send as
> many messages as you want and then shutdown the service.
> All this start/stop/add/remove does not offer you anything other than
> unecessary delays in message dispatch.
>
> On Dec 23, 5:45 am, Daya Shanker <[email protected]> wrote:
>> yes Following codes, I have written and doing testing with the same code
>>
>> package com.ems.scp;
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "SMSLib for Java User 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.
>
>
>


-- 
Thanks & Regds.
*****************************
Daya Shanker Chaubey
Research Engineer
IN Group
C-DOT Delhi

--

You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User 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.


Reply via email to