[QFJ-132] Make JdbcLog configurable to skip heartbeats Created: 06/Feb/07  Updated: 12/Apr/07  Resolved: 11/Feb/07

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.0.5
Fix Version/s: 1.1.0

Type: Improvement Priority: Default
Reporter: Toli Kuznets Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File jdbc-heartbeats.patch    
Issue Links:
Relates
is related to QFJ-136 Add capability to filter out Heartbea... Closed

 Description   

I think it'd be very useful to make it configurable whether or not JdbcLog prints heartbeats, just like ScreenLog does.
This may be an addition to issue 75 (to make names of JDBC tables configurable).

We took a stab at making JdbcLog more configurable, i'm attaching the patch file (apply in core/) that contains all the changes and a unit test.

We use Spring to configure our app (and QuickfixJ), and the relevant code to create a JdbcLog is:
<bean id="jdbcLogFactory" class="quickfix.JdbcLogFactory">
<constructor-arg>
<ref bean="sessionSettings"/>
</constructor-arg>
<property name="skipHeartbeats" value="true"/>
</bean>



 Comments   
Comment by Toli Kuznets [ 06/Feb/07 ]

Patch file with all the changes, to be applied in the core/ subdirectory
This is against the revision 576.

Generated at Sat Nov 23 11:13:14 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.