RES: ISOMUX receiving messages from the aquirer (not only from the clients)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

RES: ISOMUX receiving messages from the aquirer (not only from the clients)

Alan Honczar
One more question.
The messages received from the Acquirer are not been automatically logged.
I tried to read the sources but could no figure out how to log those messages.
In the ISOMUX, there is:
if (forward) {
    if (requestListener != null) {
      requestListener.process(muxInstance, d);

so in the process method of my listener I wrote:
public boolean process(ISOSource source, ISOMsg m) {
    try {
        LogEvent le = new LogEvent(((ISOMUX)source),"ServCel request");

The only thing is been logged are the incoming messages from the serversocket that listens POS's requests. The messages that comes from the Aquirer does not appear in the log.
Any idea of what is wrong?


-----Mensagem original-----
De: [hidden email] [mailto:[hidden email]] Em nome de Alan Honczar
Enviada em: domingo, 10 de julho de 2005 11:03
Para: [hidden email]
Assunto: RES: [jpos-dev] ISOMUX receiving messages from the aquirer (not only from the clients)

Thanks very much!

-----Mensagem original-----
De: [hidden email] [mailto:[hidden email]] Em nome de Alejandro Revilla
Enviada em: sábado, 9 de julho de 2005 18:37
Para: [hidden email]
Assunto: Re: [jpos-dev] ISOMUX receiving messages from the aquirer (not only from the clients)

> This because the request listener´s process is been executed in the same
thread that
> ISOMux is running. That makes the server slower as many messages comes
from the
> aquirer. Have I understood it right?

You can code your ISORequestListener so it actually spawns another thread,
returning quickly so ISOMUX can continue running. You can either start a new
Thread or use the ThreadPool.

Yahoo! Groups Links



AVISO LEGAL - Esta mensagem e seu conteúdo - inclusive anexos - são para uso exclusivo de seu(s) destinatário(s), podendo conter informações confidenciais e/ou legalmente privilegiadas sobre a APPI Tecnologia S/A. Qualquer modificação, retransmissão, disseminação, impressão ou utilização não autorizada fica estritamente proibida. Se você recebeu esta mensagem por engano, por favor informe ao remetente e apague o material e as cópias de sua máquina.

LEGAL ADVICE - This message - including any attachments - contains confidential and privileged information from APPI Tecnologia S/A intended for the named recipient(s) only. Any modification, copying, printing or distribution of this message or the taking of any action based on it is strictly prohibited. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system.


Yahoo! Groups Links


Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to: