Hi, You are right - the priority concept has changed but I forgot to correct the remarked code. :(
Anyway, with the current version the "priority" is a negative/positive integer. The bigger the number, the greater the priority. On Sep 22, 3:19 pm, Peogrammer Base <[email protected]> wrote: > msg = new OutboundMessage("+309999999999", "Wrong number!"); > msg.setPriority(OutboundMessage.Priorities.LOW); // error in this line > srv.queueMessage(msg, gateway.getGatewayId()); > > when running SendMessage.java this error occured. > > \src\examples\modem\SendMessage.java:57: cannot find symbol > symbol : variable Priorities > location: class org.smslib.OutboundMessage > msg.setPriority(OutboundMessage.Priorities.LOW); > ^ > > why not found variable Priorities in class org.smslib.OutboundMessage > and > how to define variable Priorities? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
