poniedziałek, października 15, 2012

Tibco EMS QueueSession.receive()

Jest dwufazowe: serwer wysyła komunikat klientowi, a klient potwierdza odebranie komunikatu.
Jeśli klient nie potwierdził odebrania w skończonym czasie wiadomość jest ponownie dostarczana do sesji.

2012-10-15 10:09:52.379 [187035687 TIBCO EMS TCPLink Reader (Server-4)] [TIBCO EMS]: [J] received msg from daemon conn=4 seqid=282 msgid=ID:EMS-SERVER.1B98507BC4221F:281
2012-10-15 10:09:52.379 [187035687 TIBCO EMS TCPLink Reader (Server-4)] [TIBCO EMS]: [J] post msg conn=4 sess=12 cons=7 seqid=282 msgid=ID:EMS-SERVER.1B98507BC4221F:281

1 komentarze:

Nochum pisze...

It actually depends on the acknowledgement mode being used by the client. But in no case will EMS redeliver if it has not received a confirmation within a particular amount of time. It will only redeliver if the session that the messages were delivered on was closed or recover()'ed.