I'm using just one gateway. It's a JSMPPGateway.

Browsing through the code I've noticed one thing.
Service.java, lines 775-784 in queueMessage(), a copy of msg is made
as newMessage for each recipient, which is then added to the queue.
Before that, a gateway for the message is determined using
routeMessage() and is then bound to the message. But this is done on
msg and NOT on newMessage. And since newMessage is added to the queue
it is not bound to any gateway, and not picked up when polling.

I'm guessing you're setting the gateway on msg so that you can round
robin amongst the gateways. But if I have just one recipient then
there's no gateway set on that message. Maybe you could make the copy
after setting the gateway?

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