-
Hi, does anyone have the JDBC MessageStore in use with a larger number of sessions? Let's say 50+ sessions? Probably it would be not such a big deal to replace it with something better, e.g. HikariCP...? Feedback is highly appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, I know QFJ is free of Spring but here is what I have done using Spring for anyone interested. I am using Spring JPA Repository instead of Regards, |
Beta Was this translation helpful? Give feedback.
-
We also use it with Spring, and create our JdbcStoreFactory this way.
When you set the Datasource explicitly, it is preferred over one created from settings. This allows us to set the Hikari pooled datasource from Spring. |
Beta Was this translation helpful? Give feedback.
Hi,
I know QFJ is free of Spring but here is what I have done using Spring for anyone interested.
I am using Spring JPA Repository instead of
Proxool
. I have my own implementation ofMessageStore
that calls the repository method for storing and retrieving message sequence numbers. ThisMessageStore
implementation is returned by my implementation ofMessageStoreFactory
. This spring bean is autowired in my implementation ofThreadedSocketInitiator
.Regards,
Diptanshu