I try do this, but seems still have timeout exception.
I think this a same way to delete message, because in the source code
Service.java line 967, it use the same way to do this.

On 1月4日, 下午5时25分, Andy <[email protected]> wrote:
> Do you mean like this:
> Service.getInstance().getGateway(inboundMessage.getGatewayId()).deleteMessa 
> ge(inboundMessage)?
>
> On 1月4日, 下午4时42分, Nizam Mohideen <[email protected]> wrote:
>
>
>
>
>
>
>
> > Have you tried the Gateway.deleteMessage method?
>
> > On Wed, Jan 4, 2012 at 1:33 PM, Andy <[email protected]> wrote:
> > > Hi All,
>
> > > follow is my code section:
>
> > >                        for (InboundMessage inboundMessage : msgList) {
>
> > >  System.out.println(inboundMessage.getMemIndex() + " " +
> > > inboundMessage.getMemLocation() + "  " +
> > > inboundMessage.getGatewayId());
>
> > > System.out.println(Service.getInstance().deleteMessage(inboundMessage));
> > >                        }
>
> > > In this loop, first will print the memIndex and memLocation and
> > > gatewayId like this:
>
> > > 1, "SM", "modem.com3"
>
> > > then there will throw the timeout exception in
> > > Service.getInstance().deleteMessage(inboundMessage) method.
>
> > > I am sure the service is started and the gateway is normal because it
> > > can send message simultaneously.
>
> > > Please help me, thanks.
>
> > > --
> > > 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.

-- 
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.

Reply via email to