QFJ Timer - quickfixj.errorEvent notification

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

QFJ Timer - quickfixj.errorEvent notification

Michal JACYKIEWICZ
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi

What's the best way to get notified in my application about this please:

2015-10-14 11:00:47,039 ERROR QFJ Timer quickfixj.errorEvent FIXT.1.1:BNPP01SSTEST->NEPTUNECERT: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 60000 milliseconds)

Regards
Michal Jacykiewicz


___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.

Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.


------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QFJ Timer - quickfixj.errorEvent notification

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi,

you could implement your own LogFactory and override the onErrorEvent() method. This of course will
give more events than just the one you wrote.
You could also try SessionStateListener.onDisconnect() but that might not get called if the
connection was not established before.

Cheers,
Chris.


On 27/10/15 10:18, Michal JACYKIEWICZ wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Hi
>
> What's the best way to get notified in my application about this please:
>
> 2015-10-14 11:00:47,039 ERROR QFJ Timer quickfixj.errorEvent FIXT.1.1:BNPP01SSTEST->NEPTUNECERT: java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 60000 milliseconds)
>
> Regards
> Michal Jacykiewicz
>
>
> ___________________________________________________________
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
>
> Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QFJ Timer - quickfixj.errorEvent notification

Michal JACYKIEWICZ
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Thanks Chris.
I was thinking about the log, but that's too indirect.
Re disconnect - cannot use, if first connection.
At the moment I'm waiting for Login event, so everything before must be disconnected.


-----Original Message-----
From: Christoph John [mailto:[hidden email]]
Sent: 27 October 2015 09:31
To: [hidden email]
Subject: Re: [Quickfixj-users] QFJ Timer - quickfixj.errorEvent notification

QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi,

you could implement your own LogFactory and override the onErrorEvent() method. This of course will give more events than just the one you wrote.
You could also try SessionStateListener.onDisconnect() but that might not get called if the connection was not established before.

Cheers,
Chris.


On 27/10/15 10:18, Michal JACYKIEWICZ wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Hi
>
> What's the best way to get notified in my application about this please:
>
> 2015-10-14 11:00:47,039 ERROR QFJ Timer quickfixj.errorEvent
> FIXT.1.1:BNPP01SSTEST->NEPTUNECERT: java.net.ConnectException:
> java.net.ConnectException: Connection refused: no further information
> (Next retry in 60000 milliseconds)
>
> Regards
> Michal Jacykiewicz
>
>
> ___________________________________________________________
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
>
> Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.
>
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users

___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.

Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.


------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: QFJ Timer - quickfixj.errorEvent notification

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


We had similar problems some time ago and decided to implement a periodic task that checks if the
Session is between start and end time and is disconnected. Not beautiful but works. ;)

Cheers,
Chris.


On 27/10/15 10:38, Michal JACYKIEWICZ wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Thanks Chris.
> I was thinking about the log, but that's too indirect.
> Re disconnect - cannot use, if first connection.
> At the moment I'm waiting for Login event, so everything before must be disconnected.
>
>
> -----Original Message-----
> From: Christoph John [mailto:[hidden email]]
> Sent: 27 October 2015 09:31
> To: [hidden email]
> Subject: Re: [Quickfixj-users] QFJ Timer - quickfixj.errorEvent notification
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Hi,
>
> you could implement your own LogFactory and override the onErrorEvent() method. This of course will give more events than just the one you wrote.
> You could also try SessionStateListener.onDisconnect() but that might not get called if the connection was not established before.
>
> Cheers,
> Chris.
>
>
> On 27/10/15 10:18, Michal JACYKIEWICZ wrote:
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>>
>>
>> Hi
>>
>> What's the best way to get notified in my application about this please:
>>
>> 2015-10-14 11:00:47,039 ERROR QFJ Timer quickfixj.errorEvent
>> FIXT.1.1:BNPP01SSTEST->NEPTUNECERT: java.net.ConnectException:
>> java.net.ConnectException: Connection refused: no further information
>> (Next retry in 60000 milliseconds)
>>
>> Regards
>> Michal Jacykiewicz
>>
>>
>> ___________________________________________________________
>> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
>>
>> Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.
>>
>>
>> ----------------------------------------------------------------------
>> -------- _______________________________________________
>> Quickfixj-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
> --
> Christoph John
> Development & Support
> Direct: +49 241 557080-28
> Mailto:[hidden email]
>
>
>
> http://www.macd.com <http://www.macd.com/>
> ----------------------------------------------------------------------------------------------------
>
> ----------------------------------------------------------------------------------------------------
> MACD GmbH
> Oppenhoffallee 103
> D-52066 Aachen
> Tel: +49 241 557080-0 | Fax: +49 241 557080-10
> Amtsgericht Aachen: HRB 8151
> Ust.-Id: DE 813021663
>
> Geschäftsführer: George Macdonald
> ----------------------------------------------------------------------------------------------------
>
> ----------------------------------------------------------------------------------------------------
>
> take care of the environment - print only if necessary
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
> ___________________________________________________________
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
>
> Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Loading...