EldoS | Feel safer!

Software components for data protection, secure storage and transfer

MsgConnect library features and support

Posted: 05/13/2009 07:46:40
by xion_more  (Basic support level)
Joined: 05/05/2009
Posts: 19

I would like know some features of msgconnect library.
Setup installation like this ::-
1. One Http based client-server setup.
2. Client send message to the target remote server in a particular queue.
3. Server receives message successfully and respond back.

Problem definition:--
1. Client send message to the remote server on http transport.
2. But, server is not running on the remote host at that time when the client send message.
3. Now after short time server wakes up and start listening on that port which client already "POST" their respective message (situation of multiple client may exist).
4. So, server never receives any previous message sent to it before the server start listening.

We want server-client architecture such a way that even if the server is not listening on the respective port , client able to send the message.
And when after a while server wakes up, it mush receives all previous posted messages fro multiple client.

Now , is there any facility in msgconnect library to support this kind of requirement and scenario. In which client send message in a queue but server receives those message whenever it wakes up.
That is message should keep alive inside a queue locally or remotely so that whenever the server wakes up. It recieves all the previuos date/time message from multiple clients..

All i want to ask is that support is exist in msgconnect library or not.
And if it exist please explain me how to do that..
Posted: 05/14/2009 01:49:33
by xion_more  (Basic support level)
Joined: 05/05/2009
Posts: 19

I try to solve the above requirement by working around on an api("SendMessageTimeoutCallback"). What i did i increase the value of timeout parameter value. Just like that given below
>>> mc->SendMessageTimeoutCallback(dst, &uhm, 90000, callback, timeoutcallback, errorcallback, 0, NULL);

But the response is like this:--
No. Time Source Destination Protocol Info
3 0.000844 TCP entp>http [SYN] Seq=0
4 2.968952 TCP entp > http [SYN] Seq=0
5 8.902445 TCP entp > http [SYN] Seq=0
Above three packet is being transmitted after "SendMessageTimeoutCallback" is executed. But the retransmission of further packets get stopped after 3 packets transmission.
So, the problem is even if the server does not received those packet coz it not being started, the client never re-send those packet.
I think i being well explain the problem and my network, host setup .
Can anyone help me to solve the requirements...
[Note: requirements are explained in the first message post of this topic discussion.]

Posted: 05/14/2009 09:16:42
by Eugene Mayevski (Team)

SocketTransport and HTTPTransport will take several attempts (see AttemptsToConnect and AttemptsInterval properties) to connect to the server and deliver the message. You can set these properties to some large values (for example, 10K attempts with 1 minute interval between them) and use SendMessageTimeoutCallback() with some long timeout to get what you want. However, the client must remind active in this scenario. If you shutdown the client, the messages in the outgoing queues will be lost.

Sincerely yours
Eugene Mayevski
Posted: 05/15/2009 03:24:46
by xion_more  (Basic support level)
Joined: 05/05/2009
Posts: 19

Thanks, problem solved..



Topic viewed 5146 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!