I am not 100% if I understand the problem, but it seems that your problem 
is not a problem of smslib but of general Java coding?!
Iterate over your updated database entries and create new OutboundMessages 
from it. You can store them in an array of OutboundMessage and pass this to 
queueMessages()

Does this answer your question? If not you have got to be more precise :-)


Am Dienstag, 5. Juni 2012 23:20:02 UTC+2 schrieb noob:
>
> yes but for example in my app I store the sms in a database, this sms has 
> numbers in it, the app check against a database for updating numbers, and 
> then I need tor return a new sms with new numbers in it, so I dont know how 
> can I implement this in a queue, this because It will receive seveal sms, 
> any ideas??? 
>
> El martes, 5 de junio de 2012 16:00:15 UTC-5, T.Delenikas escribió:
>>
>> Well, if you queue a message for sending and your app crashes between the 
>> queueMessage() call and the actual message dispatch, your message will not 
>> be sent.
>>
>> Is this what you are asking or am I missing something?
>>
>> On Tuesday, June 5, 2012 11:53:34 PM UTC+3, noob wrote:
>>>
>>> thanks for answer, so If I use "queueMessage()", I wont lose any sms or 
>>> get repeated sms, I already have it in a synchronous way, but I read in 
>>> another thread that I can put the messages in a queue, I am in the same 
>>> situation that this guy 
>>> https://groups.google.com/forum/?fromgroups#!topic/smslib/i307fWi0Y_A. 
>>>
>>>
>>>
>>> regards 
>>>
>>> On Tue, Jun 5, 2012 at 3:37 PM, SMSLib Discussion Group on behalf of 
>>> T.Delenikas <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> The synchronous way is implemented with the Service method 
>>>> "sendMessage()".
>>>> For sending messages async, use the Service method "queueMessage()".
>>>>
>>>>
>>>> On Monday, June 4, 2012 9:40:45 PM UTC+3, noob wrote:
>>>>>
>>>>>
>>>>> I need help because I dont know how to implement the queue messaging 
>>>>> in smslib, I receive a new message and I store in a database table, I 
>>>>> make 
>>>>> some logic and then I produce a new sms, I already archieve this 
>>>>> -synchronous way, but I dont know how in asynchronous way?? can someone 
>>>>> guide me or maybe a hint, I see the docs but I dont know how to make the 
>>>>> queue since I am receving and sending sms???, I need to run this app and 
>>>>> I 
>>>>> want that every user gets an answers/
>>>>>
>>>>>
>>>>> thanks 
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "SMSLib Discussion Group" group.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msg/smslib/-/C9rTKy-BP4IJ.
>>>>
>>>> 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.
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/smslib/-/Zup8ALiZojAJ.
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