Page 1 of 1

Bind To Multiple servers in one app

Posted: Thu Jun 13, 2013 10:47 am
by Rossi1989
Hi,

Could you please advise how one can connect, bind and enquirerlink on multiple servers in one application?

Please I need your help.

Re: Bind To Multiple servers in one app

Posted: Fri Jun 21, 2013 7:38 am
by hasha
Hi Rosi,
My understanding is that you have one ESME application and you want this to connect to multiple SMSC servers.
I am not sure what kind of help detail you are looking for. I am new to this and had a similar challenge. I will just share, in a general way, how I implemented it on my part, hoping that it may lead you to a better solution.

1. I created a class that implements all the functionality I need eg connecting, binding, inquiring link, sending messages, receiving etc.
2. I then instantiate the class a number of times equivalent to the number of SMSC server connections I want to make. Of course each class is instantiated with connection parameters required for the different SMSC servers. This way I am able to connect to any number of servers.

I hope that this will help and that someone may give a better solutions

Hasha