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.