MessageComposer in SMPP Server
Posted: Wed Sep 11, 2024 3:01 pm
Hi,
I am implementing concat messages support in our SMPP server. Searching here, I see that I can use MessageComposer and the evFullMessageReceived and evFullMessageTimeout events.
I have some doubts though:
1. Does MessageComposer support several distinct messages ? In the examples I see that you are declaring a MessageComponer object property in the main server class. In that's the case, I will be calling AddMessage for several diferrent messages. it it ok ? If not, where should I declare and store the MessageComposer instance
2. Related to 1. Is MessageComposer thread-safe ?
3. Does MessageComponer works for non-concatenated messages ? that is, will I get a evFullMessageReceived when the message is not concatenated, or I need to implement two distinct flows.
Thanks,
Luis
I am implementing concat messages support in our SMPP server. Searching here, I see that I can use MessageComposer and the evFullMessageReceived and evFullMessageTimeout events.
I have some doubts though:
1. Does MessageComposer support several distinct messages ? In the examples I see that you are declaring a MessageComponer object property in the main server class. In that's the case, I will be calling AddMessage for several diferrent messages. it it ok ? If not, where should I declare and store the MessageComposer instance
2. Related to 1. Is MessageComposer thread-safe ?
3. Does MessageComponer works for non-concatenated messages ? that is, will I get a evFullMessageReceived when the message is not concatenated, or I need to implement two distinct flows.
Thanks,
Luis